Forum Discussion
AngryCat_52750
Nov 27, 2013Nimbostratus
Powershell Error
We have a automated job to enable and disable a nodes in a pool.. i am using the ps1 from here - LINK Passing the following params - powershell.exe -noexit C:\Temp\icontrol\test.ps1 10.10.10....
AngryCat_52750
Dec 06, 2013Nimbostratus
Joe,
We have our automation tool run it from a Win2003 server where we run all our enterprise automation.. the failure is so random. last night it error with the following -
Echo Off
Initialize-F5.iControl : Client found response content type of 'text/html; char
set=iso-8859-1', but expected 'text/xml'.
The request failed with the error message:
--
500 Internal Server Error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@f5.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--. At E:\icontrol\qatest.ps1:226 char:36 + $success = Initialize-F5.iControl <<<< -HostName $g_bigip -Username $g_uid -Password $g_pwd; + CategoryInfo : OpenError: (error:String) [Initialize-F5.iContro l], InvalidOperationException + FullyQualifiedErrorId : 2,iControlSnapIn.CmdLet.Global.InitializeiContro l E:\icontrol\qatest.ps1 : ERROR: iControl subsystem not initialized At line:1 char:24 + E:\icontrol\qatest.ps1 <<<< 10.10.10.1 operations test123 Pool_server_Switch 10.10.100.5:80 enable + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep tion + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio n,qatest.ps1 and when we re-run the job, it works fine...
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects