After executing 'pw system stop' on a secondary TSIM, the TSIM does not stop but restarts itself due to unable to stop the publishing server (pserver). When TSIM is stopped, the httpd process is stopped first and then the pserver process should stop. However, if it takes long time to stop the pserver the agent controller initiates an internal recovery action to restart the TSIM due to length of time that httpd process has been stopped. |
Try stopping the pserver manually with command 'pscontrol -f stop -u 50' (this is same command that gets executed when TSIM is stopped) and you will notice that it fails to stop pserver. Execute command 'psstat' and verify that it is failing with: failed to connect to remote host(Connection Refused)... Unable to connect to Publishing Server at http-remoting://<tsim FQDN:1100>" Try doing 'telnet <tsimfqdn> 1100' and see if it is failing with the same error. If so then verify that 'telnet localhost 1100' works fine. If it does then modify both pclient.conf and pserver.conf in the pw\server\etc directory and change: JNPServers=<TSIM FQDN>:1100 to: JNPServers=<TSIM FQDN>:1100,localhost:1100 If pserver is still running you will need to kill the process (you can get the process ID from 'pw p l') then restart with 'pw p s pserver' so the new JNPServers values are loaded. Then stop it manually with 'pw p e pserver' to confirm it now stops immediately. Start pserver again. Next time the TSIM is stopped with 'pw sys stop' it will stop cleanly. |