Not able to stop alfresco 5.1 instances

cancel
Showing results for 
Search instead for 
Did you mean: 
hiten_rastogi1
Established Member

Not able to stop alfresco 5.1 instances

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

1 Reply
hiten_rastogi1
Established Member

Re: Not able to stop alfresco 5.1 instances

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.