AnsweredAssumed Answered

Linux -

Question asked by dranakan on Jan 6, 2012
Latest reply on May 2, 2012 by dranakan

If the server Linux crash and restart, Alfresco will not start because the PID file exists.
service alfresco restartUsing CATALINA_BASE:   /opt/Alfresco/tomcat
Using CATALINA_HOME:   /opt/Alfresco/tomcat
Using CATALINA_TMPDIR: /opt/Alfresco/tomcat/temp
Using JRE_HOME:        /opt/Alfresco/java
Using CLASSPATH:       /opt/Alfresco/tomcat/bin/bootstrap.jar
PID file (/opt/Alfresco/tomcat/temp/ found but no matching process was found. Stop aborted.
/opt/Alfresco/tomcat/scripts/ : tomcat could not be stopped

Why this has been done like this ? Could be not better to automaticly remove this file and write a message in the logs ?
Could I add a command to remove this file in /etc/init.d/alfresco before the start of alfresco without risk ?

Thank you.