computergeek
Programmer
Hello,
We have a Coldfusion application that restarts some services on another server. Code:
<CFFUNCTION name="RestartService">
<cfargument name="sServiceName">
<!---remember to log this to a file so we know how often it is restarted.--->
<cfexecute name="c:\windows\psexec.exe" outputfile="#local_path#\logs\#sServiceName#_psexec.log" timeout="30"
arguments="\\server2 -u user1 -p testpsw d:\install\svr\RemoteRestart.bat #customsrc# #sServiceName# #limsuser#"></cfexecute>
</CFFUNCTION>
Well, the remote server has been moved on to a different server (different hardware, same server name). Since that time the users get a "Timeout period expired without completion" error when trying to execute this process. I think it has something to do with the network... how do I check? I am assuming that timeout=30 means 30 seconds. This should be more that sufficient. I set it to 60 seconds until I can figure what the issue is...
Any ideas?
One thing to note is that this code has worked for years... until now.
Thanks,
We have a Coldfusion application that restarts some services on another server. Code:
<CFFUNCTION name="RestartService">
<cfargument name="sServiceName">
<!---remember to log this to a file so we know how often it is restarted.--->
<cfexecute name="c:\windows\psexec.exe" outputfile="#local_path#\logs\#sServiceName#_psexec.log" timeout="30"
arguments="\\server2 -u user1 -p testpsw d:\install\svr\RemoteRestart.bat #customsrc# #sServiceName# #limsuser#"></cfexecute>
</CFFUNCTION>
Well, the remote server has been moved on to a different server (different hardware, same server name). Since that time the users get a "Timeout period expired without completion" error when trying to execute this process. I think it has something to do with the network... how do I check? I am assuming that timeout=30 means 30 seconds. This should be more that sufficient. I set it to 60 seconds until I can figure what the issue is...
Any ideas?
One thing to note is that this code has worked for years... until now.
Thanks,