Hi,
Recently I am facing an issue while stopping my alfresco 5.1 instances. I have two instances of alfresco 5.1 running on my server with different ports. Now when I try to stop the instance through sudo ./alfresco.sh stop command the script returns that there is no instance running but when I grep for the instance I can see the instance running. I delved into the alfresco.sh script and found out that it was calling <ALFRESCO_HOME>/tomcat/scripts/ctl.sh script which was using catalina.pid file to get the PID I checked the PID stored in the catalina.pid file and found out that the PID didn't matched the PID on which the instance was running on. For e.g.
PID in catalina.pid ==>> 2548
PID via grep(ps -ef | grep alfresco) ==>> 22959
Please let me know if any one has faced this issue and a possible remedy.
Thanks
Hiten Rastogi
I was to able to sought out this issue.
There was a script on the server that was stopping the tomcat of the instance directly and then restarting the tomcat due to which the catalina.pid file was not getting updated with the latest PID and hence the ./alfresco.sh stop was not able to stop the instance.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.