cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Can't Start (Gentoo+Tomcat 6+MySQL 5) - SOLVED -

hoyanf
Champ in-the-making
Champ in-the-making
The directory root have been correctly set but still with this error…


11:04:43,482 User:System INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/lib/alfresco/alf_data
11:04:43,488 User:System ERROR [repo.admin.ConfigurationChecker] CONTENT INTEGRITY ERROR: System content not found in content store.
11:04:43,488 User:System ERROR [repo.admin.ConfigurationChecker] Ensure that the 'dir.root' property is pointing to the correct data location.
11:04:43,490 User:System ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location.


Oct 15, 2008 11:04:43 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Oct 15, 2008 11:04:43 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
3 REPLIES 3

newmember
Champ in-the-making
Champ in-the-making
Does this exist?
/var/lib/alfresco/alf_data

Does it have the permissions the same as the alfresco process?

hoyanf
Champ in-the-making
Champ in-the-making
Directory exist's :-

ls -lh /var/lib/alfresco/alf_data/
total 0
drwxr-xr-x 2 tomcat tomcat  48 Oct 15 15:46 audit.contentstore
drwxr-xr-x 2 tomcat tomcat  48 Oct 15 15:46 contentstore
drwxr-xr-x 2 tomcat tomcat  48 Oct 15 15:46 contentstore.deleted
drwxr-xr-x 7 tomcat tomcat 176 Oct 15 15:47 lucene-indexes

repository.properties :-

# Directory configuration

dir.root=/var/lib/alfresco/alf_data

dir.contentstore=${dir.root}/contentstore
dir.contentstore.deleted=${dir.root}/contentstore.deleted

dir.auditcontentstore=${dir.root}/audit.contentstore

# The location for lucene index files
dir.indexes=${dir.root}/lucene-indexes

# The location for lucene index locks
dir.indexes.lock=${dir.indexes}/locks

# ######################################### #
# Index Recovery and Tracking Configuration #
# ######################################### #
#
# Recovery types are:
#    NONE:     Ignore
#    VALIDATE: Checks that the first and last transaction for each store is represented in the indexes
#    AUTO:     Validates and auto-recovers if validation fails
#    FULL:     Full index rebuild, processing all transactions in order.  The server is temporarily suspended.
index.recovery.mode=AUTO
# Force FULL recovery to stop when encountering errors
index.recovery.stopOnError=true

Can't seem to figure out where the problem is…

hoyanf
Champ in-the-making
Champ in-the-making
Solving method is available on the wiki :- http://wiki.alfresco.com/wiki/Linux_Installation_Troubleshooting

1. Stop Tomcat
2. Delete "alf_data" directory
3. Drop and recreate the database
4. Edit the "repository.properties" -> change index.recovery.mode=VALIDATE to index.recovery.mode=FULL
5. Start Tomcat and monitor the "catalina.out" log