Alfresco-3.4.d
MySQL
CentOS
Alfresco was running fine but when our server lost power, after the system was brought back up, Alfresco wouldn’t run.
The Share page error after attempting to login is
"The remote server may be unavailable or your authentication details have not been recognized"
and the alfresco page gives a 404 error the requested source () is not available.
A check of host:8080 showed that Tomcat is running.
From the command line, MySQL is running and I ran mysqlcheck on the alfresco database and it checked out OK.
Errors in the log file are:
11:07:10,245 WARN [org.alfresco.repo.node.index.FullIndexRecoveryComponent] The indexes are not synchronized with the database.
11:07:10,545 WARN [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Index for avm store sitestore is out of date
11:07:10,928 WARN [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Index for avm store @paramount@sitestore is out of date
11:07:11,154 WARN [org.alfresco.repo.node.index.AVMFullIndexRecoveryComponent] Index for avm store @warnerbros@sitestore is out of date
11:07:11,768 INFO [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /mnt/nas/alfresco/alf_data
11:07:12,131 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: Indexes not found for 7 stores.
11:07:12,131 INFO [org.alfresco.repo.admin.ConfigurationChecker] You may set 'index.recovery.mode=FULL' if you need to rebuild the indexes.
11:07:12,131 ERROR [org.alfresco.repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.
11:07:12,131 ERROR [org.alfresco.repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
11:07:12,135 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 05160014 Ensure that the 'dir.root' property is pointing to the correct data location.
And
11:07:56,068 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: Port already in use: 50500; nested exception is:
java.net.BindException: Address already in use
in
<alfresco>/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties
I gave the direct location
#dir.root=./alf_data
dir.root=/mnt/nas/alfresco/alf_data
and set
index.recovery.mode=AUTO
And alfresco still won’t run.
The only thing that is a bit out ot the ordinary is that I am running multi-tenancy.