Alfresco Services Have Disappeared
To recover the PostgreSQL Service open up a Administrator command prompt window in the ${alfresco.home}/postgresql/bin
folder. Now run the following command:
pg_ctl.exe register -N NAME_OF_SERVICE -D "${alfresco.home}\alf_data\postgresql"
The NAME_OF_SERVICE variable should match up with the PostgreSQL Service name that was lost. If the NAME_OF_SERVICE is different we do not know how Alfresco will react.
For more information on this command and other parameters available, please look at: https://www.postgresql.org/docs/9.0/static/app-pg-ctl.html
To recover the Alfresco tomcat service, navigate to <ALFRESCO_HOME>\tomcat\bin and open a command prompt. Run the following command:
service.bat install NAME_OF_SERVICE
NAME_OF_SERVICE will be the name displayed on the Windows Services page. Use whatever was the original name of service.
Please make sure that your tomcat has the following JAVA OPTS:
-Dcatalina.home=${alfresco.home}\tomcat
-Dcatalina.base=${alfresco.home}\tomcat
-Djava.endorsed.dirs=${alfresco.home}\tomcat\endorsed
-Djava.io.tmpdir=${alfresco.home}\tomcat\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=${alfresco.home}\tomcat\conf\logging.properties
-XX:+DisableExplicitGC
-XX:+UseConcMarkSweepGC
-XX:+UseParNewGC
-XX:ReservedCodeCacheSize=128m
-Dalfresco.home=${alfresco.home}
Exception in thread "SolrTrackerScheduler_Worker-1" Exception in thread "SolrTrackerScheduler_Worker-2"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "SolrTrackerScheduler_Worker-1"
This issue can sometimes occur when recovering the tomcat service. To fix it, please follow this guide to increase the tomcats heap size: https://github.com/tsgrp/OpenContent/wiki/Installation-guide#memory-requirements
If you need more information or have questions please talk with Steve Kovacinski or Devin Swenson.
OpenContent (OC) © 2016 Technology Services Group