I am having an issue with the new version of the autoinspinstaller. I can run the script without an issue on the first webserver, however when I run it on a second server it fails with the below message. When I browse to the inetmgr the portal app is setup and it has a binding to the first server in the farm where it was the initial install. I have two WFE (WEBSPW01, WEBSPW02) and one APP server (WEBSPW03). I have included my spinstallerinput file for review. Please Help!
--------------------------------------------------------------
- Creating web applications...
- Web app "Portal Home" already provisioned.
- Creating Site Collection "http://WEBSPW02"...
--------------------------------------------------------------
Script aborted!
Exception : Microsoft.SharePoint.PowerShell.SPCmdletPipeBindExcepti
on: Cannot find an SPWebApplication object that contain
s the following Name, Id, or Url: http://WEBSPW02.
at Microsoft.SharePoint.PowerShell.SPWebApplicationP
ipeBind.Read(Boolean exactUrl)
at Microsoft.SharePoint.PowerShell.SPCmdletNewSite.I
nternalValidate()
at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessR
ecord()
TargetObject : Microsoft.SharePoint.PowerShell.SPCmdletNewSite
CategoryInfo : InvalidData: (Microsoft.Share...SPCmdletNewSite:SPCmdle
tNewSite) [New-SPSite], SPCmdletPipeBindException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSite
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
PipelineIterationInfo : {0, 1, 0}
PSMessageDetails :
Comments: ** Comment from web user: Aasmi_143 **
Hi Brain,
I have similiar issue with AutoSPInstaller its get stuck while creating Web Application and Site Collection:
Here is the log
**********************
Windows PowerShell transcript start
Start time: 20131206165532
Username : RILTESTBED\spinstall.test
Machine : SIDCSP13TAPP01 (Microsoft Windows NT 6.2.9200.0)
**********************
Transcript started, output file is C:\Users\spinstall.test\Desktop\AutoSPInstaller-2013-12-06_4-55.rtf
-----------------------------------
| Automated SP2013 install script |
| Started on: 12/6/2013 4:55:32 PM |
-----------------------------------
- SharePoint 2013 binaries are already installed.
- Install based on:
- D:\SP\AutoInstaller\\AutoSPInstallerInput.xml
- Environment: Dev
- Version: 3.96
--------------------------------------------------------------
- Validating user accounts and passwords...
- Account "riltestbed\Test_SP_Farm" (Account)...Verified.
- Account "riltestbed\Test_SP_ServAppPool" (ManagedAccount)...Verified.
- Account "riltestbed\Test_SP_Crawl" (ManagedAccount)...Verified.
- Account "riltestbed\Test_SP_Search" (ManagedAccount)...Verified.
- Account "riltestbed\Test_SP_Farm" (ManagedAccount)...Verified.
- Account "riltestbed\Test_SP_WebAppPool" (ManagedAccount)...Verified.
- Account "riltestbed\Test_SP_Admin" (ManagedAccount)...Verified.
- Account "riltestbed\Test_SP_UserProfiles" (ManagedAccount)...Verified.
- Account "riltestbed\Test_SP_Crawl" (Search Service Application)...Verified.
- Account "riltestbed\Test_SP_Crawl"...Verified.
- Account "riltestbed\Test_SP_Farm"...Verified.
--------------------------------------------------------------
- Writing config-AutoSPInstaller.xml to C:\Users\spinstall.test\AppData\Local\Temp...
--------------------------------------------------------------
- Creating SQL alias "SIDCSP13TDB01,1433"...
- Creating SQL alias "SIDCSP13TDB01,1433"...
- Creating SQL alias "SIDCSP13TDB01,1433"...
- Creating SQL alias "SIDCSP13TDB01,1433"...
- Creating SQL alias "SIDCSP13TDB01,1433"...
- Creating SQL alias "SIDCSP13TDB01,1433"...
- Creating SQL alias "SIDCSP13TDB01,1433"...
- Creating SQL alias "SIDCSP13TDB01,1433"...
- Creating SQL alias "SIDCSP13TDB01,1433"...
- Creating SQL alias "SIDCSP13TDB01,1433"...
- Testing access to SQL server/instance/alias: SIDCSP13TDB01
- Trying to connect to "SIDCSP13TDB01"...Success
- SQL Server version is: 11.0.2100.60
- This instance of SQL Server is not clustered
- Check if RILTESTBED\spinstall.test has dbcreator server role...Pass
- Check if RILTESTBED\spinstall.test has securityadmin server role...Pass
--------------------------------------------------------------
- Disabling Loopback Check...
--------------------------------------------------------------
- Disabling IE Enhanced Security...
--------------------------------------------------------------
- Setting services Spooler, AudioSrv and TabletInputService to Manual...
- Spooler is already stopped and set Manual, no action required.
- AudioSrv is already stopped and set Manual, no action required.
- TabletInputService is already stopped and set Manual, no action required.
- Setting unused services WerSvc to Disabled...
- WerSvc is already stopped and disabled, no action required.
- Finished disabling services.
--------------------------------------------------------------
- Not changing CRL check behavior.
--------------------------------------------------------------
- SharePoint 2013 prerequisites appear be already installed - skipping install.
--------------------------------------------------------------
- Configuring IIS logging...
- D:\IISLogs is already compressed.
--------------------------------------------------------------
- SharePoint 2013 binaries appear to be already installed - skipping installation.
--------------------------------------------------------------
- No language packs found in D:\SP\2013\LanguagePacks, skipping.
- Currently installed languages:
- English (United States)
--------------------------------------------------------------
- Looking for SharePoint updates to install...
- No other updates found in D:\SP\2013\Updates, proceeding...
--------------------------------------------------------------
- SharePoint 2013 binary file installation done!
--------------------------------------------------------------
- Loading SharePoint Powershell Snapin...
--------------------------------------------------------------
- Checking farm membership for SIDCSP13TAPP01 in "SP_Config"...
- SIDCSP13TAPP01 is already joined to farm on "SP_Config".
--------------------------------------------------------------
- Configuring the SharePoint farm/server...
- Securing Resources...
- Installing Services...
- Updating Central Admin branding text to "Dev"...
- Checking Default Web Site...Stopping...Done.
- Done initial farm/server config.
--------------------------------------------------------------
- Configuring SharePoint diagnostic (ULS) logging...
- Setting SharePoint diagnostic (ULS) logging options:
- DaysToKeepLogs: 14
- LogMaxDiskSpaceUsageEnabled: True
- LogDiskSpaceUsageGB: 5
- LogLocation: D:\Logs
- LogCutInterval: 30
- D:\Logs is already compressed.
--------------------------------------------------------------
- Adding Managed Accounts...
- Enabling Secondary Logon service...
- Starting Secondary Logon service...
- Account "riltestbed\Test_SP_ServAppPool:
- Creating local profile for riltestbed\Test_SP_ServAppPool...
- Adding to local Admins (*temporarily*)...Done.
- Removing from local Admins...Done.
- Done.
- Managed account riltestbed\Test_SP_ServAppPool already exists.
- Account "riltestbed\Test_SP_Crawl:
- Creating local profile for riltestbed\Test_SP_Crawl...
- Adding to local Admins (*temporarily*)...Done.
- Removing from local Admins...Done.
- Done.
- Managed account riltestbed\Test_SP_Crawl already exists.
- Account "riltestbed\Test_SP_Search:
- Creating local profile for riltestbed\Test_SP_Search...
- Adding to local Admins (*temporarily*)...Done.
- Removing from local Admins...Done.
- Done.
- Managed account riltestbed\Test_SP_Search already exists.
- Account "riltestbed\Test_SP_Farm:
- Creating local profile for riltestbed\Test_SP_Farm...
- Adding to local Admins (*temporarily*)...Done.
- Removing from local Admins...Done.
- Done.
- Managed account riltestbed\Test_SP_Farm already exists.
- Account "riltestbed\Test_SP_WebAppPool:
- Creating local profile for riltestbed\Test_SP_WebAppPool...
- Adding to local Admins (*temporarily*)...Done.
- Removing from local Admins...Done.
- Done.
- Managed account riltestbed\Test_SP_WebAppPool already exists.
- Account "riltestbed\Test_SP_Admin:
- Creating local profile for riltestbed\Test_SP_Admin...
- Adding to local Admins (*temporarily*)...Done.
- Removing from local Admins...Done.
- Done.
- Managed account riltestbed\Test_SP_Admin already exists.
- Account "riltestbed\Test_SP_UserProfiles:
- Creating local profile for riltestbed\Test_SP_UserProfiles...
- Adding to local Admins (*temporarily*)...Done.
- Removing from local Admins...Done.
- Done.
- Managed account riltestbed\Test_SP_UserProfiles already exists.
- Done Adding Managed Accounts.
--------------------------------------------------------------
- Creating web applications...
- Web app "Portal" already provisioned.
- Setting up managed paths for "http://rilsp2013.com:80"
- Setting up managed path "sites" at "http://rilsp2013.com:80" and HNSCs...
- Done setting up managed paths at "http://rilsp2013.com:80"
- Granting i:0#.w|RILTESTBED\spinstall.test Full Control to http://rilsp2013.com:0/...
--------------------------------------------------------------
- Applying object cache accounts to "http://rilsp2013.com:80"...
- Granting i:0#.w|riltestbed\Test_SP_Crawl Full Control to http://rilsp2013.com:0/...
- Granting i:0#.w|riltestbed\Test_SP_Crawl Full Read to http://rilsp2013.com:0/...
- Done applying object cache accounts to "http://rilsp2013.com:80"
- Checking for Site Collection "http://rilsp2013.com"...
- Creating Site Collection "http://rilsp2013.com"...
--------------------------------------------------------------
- Script halted!
Exception : Microsoft.SharePoint.PowerShell.SPCmdletPipeBindException: Cannot find an SPWebApplication
object with Name, Id, or Url: http://rilsp2013.com:80.
at Microsoft.SharePoint.PowerShell.SPWebApplicationPipeBind.Read(Boolean exactUrl)
at Microsoft.SharePoint.PowerShell.SPCmdletNewSite.InternalValidate()
at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord()
TargetObject : Microsoft.SharePoint.PowerShell.SPCmdletNewSite
CategoryInfo : InvalidData: (Microsoft.Share...SPCmdletNewSite:SPCmdletNewSite) [New-SPSite],
SPCmdletPipeBindException
FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSite
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at CreateWebApp, D:\SP\AutoInstaller\AutoSPInstallerFunctions.ps1: line 2619
at CreateWebApplications, D:\SP\AutoInstaller\AutoSPInstallerFunctions.ps1: line 2434
at Setup-Farm, D:\SP\AutoInstaller\AutoSPInstallerMain.ps1: line 191
at <ScriptBlock>, D:\SP\AutoInstaller\AutoSPInstallerMain.ps1: line 363
at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}
PSMessageDetails :
-----------------------------------
| Automated SP2013 install script |
| Started on: 12/6/2013 4:55:32 PM |
| Aborted: 12/6/2013 4:56:08 PM |
-----------------------------------