cancel
Showing results for 
Search instead for 
Did you mean: 

Can't start Alfresco

statman99
Champ in-the-making
Champ in-the-making
Using Alfresco Community 3.4.d
Linux CentOS

Looked around the boards and googled etc but couldn't find a solution.

Power was cut to our server and now Alfresco can't be started.

issued command
./alfresco.sh start

/opt/alfresco-3.4.d/mysql/scripts/ctl.sh : mysql  (pid 28513) already running
Using CATALINA_BASE:   /opt/alfresco-3.4.d/tomcat
Using CATALINA_HOME:   /opt/alfresco-3.4.d/tomcat
Using CATALINA_TMPDIR: /opt/alfresco-3.4.d/tomcat/temp
Using JRE_HOME:        /opt/alfresco-3.4.d/java
Using CLASSPATH:       /opt/alfresco-3.4.d/tomcat/bin/bootstrap.jar
PID file (/opt/alfresco-3.4.d/tomcat/temp/catalina.pid) found. Is Tomcat still running? Start aborted.
/opt/alfresco-3.4.d/tomcat/scripts/ctl.sh : tomcat could not be started
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
delete /opt/alfresco-3.4.d/tomcat/temp/catalina.pid

and then start.

statman99
Champ in-the-making
Champ in-the-making
removed the file
/opt/alfresco-3.4.d/tomcat/catalina.pid

and issued the command
./alfresco.sh start

/opt/alfresco-3.4.d/mysql/scripts/ctl.sh : mysql  (pid 28513) already running
Using CATALINA_BASE:   /opt/alfresco-3.4.d/tomcat
Using CATALINA_HOME:   /opt/alfresco-3.4.d/tomcat
Using CATALINA_TMPDIR: /opt/alfresco-3.4.d/tomcat/temp
Using JRE_HOME:        /opt/alfresco-3.4.d/java
Using CLASSPATH:       /opt/alfresco-3.4.d/tomcat/bin/bootstrap.jar
/opt/alfresco-3.4.d/tomcat/scripts/ctl.sh : tomcat started

but still after 1 hour

http://myServer.com:8080

doesn't respond with the Tomcat page

and

http://myServer.com:8080/share

doesn't respond either. Does it take longer?

the alfresco.log file is

cat alfresco.log

19:22:33,247 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class pat         h resource [alfresco/repository.properties]
19:22:33,275 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class pat         h resource [alfresco/domain/transaction.properties]
19:22:33,288 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/op         t/alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/test/alfresco-global.properties]
19:22:33,296 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/op         t/alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/tests/alfresco-global.properties         ]
19:22:33,297 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file         :/opt/alfresco-3.4.d/tomcat/shared/classes/alfresco-global.properties]
19:22:33,470 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from c         lass path resource [alfresco/alfresco-shared.properties]
19:22:33,678 INFO  [org.alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from          class path resource [alfresco/version.properties]
19:22:33,777 INFO  [org.alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from          class path resource [alfresco/domain/cache-strategies.properties]

statman99
Champ in-the-making
Champ in-the-making
Alfresco Community-3.4.d
CentOS

Alfresco was running fine until the power was cut from our server.

I have the stated problem above partly resolved. I used the Windows rule of thumb and did a soft boot on the Linux server. That got tomcat working and cleared up some other unrelated problems.

I then restarted alfresco

./alfresco.sh start

/opt/alfresco-3.4.d/mysql/scripts/ctl.sh : mysql  (pid 2424) already running
Using CATALINA_BASE:   /opt/alfresco-3.4.d/tomcat
Using CATALINA_HOME:   /opt/alfresco-3.4.d/tomcat
Using CATALINA_TMPDIR: /opt/alfresco-3.4.d/tomcat/temp
Using JRE_HOME:        /opt/alfresco-3.4.d/java
Using CLASSPATH:       /opt/alfresco-3.4.d/tomcat/bin/bootstrap.jar
PID file (/opt/alfresco-3.4.d/tomcat/temp/catalina.pid) found. Is Tomcat still running? Start aborted.
/opt/alfresco-3.4.d/tomcat/scripts/ctl.sh : tomcat could not be started

But tomcat is running as I can pull up the tomcat page

http://myServer.com:8080

and get the Alfresco Share login page. But when logging in as admin I get the familiar

"The remote server may be unavailable or your authentication details have not been recognized"

window. And Alfresco Explorer gives the

HTTP Status 404 …

page.

I haven't played with any of the configurations so I'm guessing some stuff was left when the power went out and need to be deleted?

statman99
Champ in-the-making
Champ in-the-making
I was going through the alfresco log and found this section

14:12:11,531 INFO  [org.alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
14:12:12,159 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
14:12:12,174 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
14:12:13,846 WARN  [org.alfresco.repo.node.index.FullIndexRecoveryComponent] The indexes are not synchronized with the database.
14:12:14,232 WARN  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent]     Index for avm store sitestore is out of date
14:12:14,386 WARN  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent]     Index for avm store @paramount@sitestore is out of date
14:12:14,595 WARN  [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent]     Index for avm store @warnerbros@sitestore is out of date
14:12:15,563 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /mnt/nas/alfresco/alf_data
14:12:15,607 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 7 stores.
14:12:15,608 INFO  [org.alfresco.repo.admin.ConfigurationChecker] You may set 'index.recovery.mode=FULL' if you need to rebuild the indexes.
14:12:15,608 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.
14:12:15,608 ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
14:12:15,611 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 04160014 Ensure that the 'dir.root' property is pointing to the correct data location.
    

How do I address the issue with the indexes and where are they?