Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Sharepoint installation

$
0
0

I am trying to install SharePoint 2013 on a win server 2012 VM's which I created on my  desktop with enough horsepower . 

I created two VM's with server 2012 and the plan is that I will put APP and SQL on one and WebApps on other server. meaning this is not a standalone installation. But as do not have DC, AD I would like to use local accounts. Just to keep it simple, I created a  local account with admin access on the server (part of local admin group) and sysadmin on SQL . 

I have installed prerequisites and sharepoint  but having difficulty while configuring. Below is the script I am using as i do not want to use the wizard (as I have no AD accounts)

farmaAdd-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
New-SPConfigurationDatabase –DatabaseName "SharePoint15_Config" –DatabaseServer "xxxx" –AdministrationContentDatabaseName “SharePoint15_Sites_AdminContent” –Passphrase (ConvertTo-SecureString "xxxxxxxxxxxxxx" –AsPlaintext –Force) –FarmCredentials (Get-Credential)
Install-SPHelpCollection -All
Initialize-SPResourceSecurity
Install-SPService
Install-SPFeature –AllExistingFeatures
New-SPCentralAdministration -Port 8000  -WindowsAuthProvider "NTLM"
Install-SPApplicationContent

Getting the following error

PS C:\Windows\system32> Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.
PS C:\Windows\system32> New-SPConfigurationDatabase –DatabaseName "SharePoint15_Config" –DatabaseServer "sqlblue" –Admi
istrationContentDatabaseName “SharePoint15_Sites_AdminContent” –Passphrase (ConvertTo-SecureString "An0therbrickinthewa
!" –AsPlaintext –Force) –FarmCredentials (Get-Credential)

cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
New-SPConfigurationDatabase : Cannot connect to database master at SQL server at sqlblue. The database might not
exist, or the current user does not have permission to connect to it.
At line:1 char:1
+ New-SPConfigurationDatabase –DatabaseName "SharePoint15_Config" –DatabaseServer  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...urationDatabase:SPCmdletNewSPConfigurationDatabase) [New
   -SPConfigurationDatabase], SPException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPConfigurationDatabase

PS C:\Windows\system32> Install-SPHelpCollection -All
Install-SPHelpCollection : Cannot access the local farm. Verify that the local farm is properly configured, currently
available, and that you have the appropriate permissions to access the database before trying again.
At line:1 char:1
+ Install-SPHelpCollection -All
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...PHelpCollection:SPCmdletInstallSPHelpCollection) [Instal
   l-SPHelpCollection], SPCmdletException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletInstallSPHelpCollection

PS C:\Windows\system32> Initialize-SPResourceSecurity
WARNING: Not performing security registration because this server is not joined to a farm
Initialize-SPResourceSecurity : Cannot perform security configuration because the configuration database does not
exist.  You must create or join to a configuration database before doing security configuration.
At line:1 char:1
+ Initialize-SPResourceSecurity
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...esourceSecurity:SPCmdletInitializeSPResourceSecurity) [I
   nitialize-SPResourceSecurity], SPException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletInitializeSPResourceSecurity

PS C:\Windows\system32> Install-SPService
Install-SPService : Cannot access the local farm. Verify that the local farm is properly configured, currently
available, and that you have the appropriate permissions to access the database before trying again.
At line:1 char:1
+ Install-SPService
+ ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...tInstallService:SPCmdletInstallService) [Install-SPServi
   ce], SPCmdletException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletInstallService

PS C:\Windows\system32> Install-SPFeature –AllExistingFeatures
Install-SPFeature : Cannot access the local farm. Verify that the local farm is properly configured, currently
available, and that you have the appropriate permissions to access the database before trying again.
At line:1 char:1
+ Install-SPFeature –AllExistingFeatures
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...tInstallFeature:SPCmdletInstallFeature) [Install-SPFeatu
   re], SPCmdletException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletInstallFeature

PS C:\Windows\system32> New-SPCentralAdministration -Port 8000  -WindowsAuthProvider "NTLM"
New-SPCentralAdministration : You are not joined with a farm.  You have to be joined first
At line:1 char:1
+ New-SPCentralAdministration -Port 8000  -WindowsAuthProvider "NTLM"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.Share...lAdministration:SPCmdletNewSPCentralAdministration) [Ne
   w-SPCentralAdministration], SPException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPCentralAdministration

New-SPCentralAdministration : Cannot provision the SharePoint Central Administration Web Application because this
computer is not part of a server farm.  You must create or join a server farm first.
At line:1 char:1
+ New-SPCentralAdministration -Port 8000  -WindowsAuthProvider "NTLM"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...lAdministration:SPCmdletNewSPCentralAdministration) [New
   -SPCentralAdministration], SPException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPCentralAdministration

PS C:\Windows\system32> Install-SPApplicationContent


@R



Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>