cancel
Showing results for 
Search instead for 
Did you mean: 

Problems installing Alfresco on x64 running Centos 5

fleetwoodmac
Champ in-the-making
Champ in-the-making
I have tried reinstalling Alfresco five times now on my Centos 5 x64 machine using the instructions from the Wiki "Installing Alfresco Community WAR on Centos 5" with no success.  Tomcat works fine (tested with the sample application), but Alfresco gives me the 404 error message with the following printouts.  The MySQL database seems to be working (I can log in) but it doesn't seem to be populating the alfresco database with any tables.  I rechecked the MySQL configuration file and the passwords and permissions are set up right.

alfresco.log
11:34:24,612 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
11:34:24,959 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryRepositoryBootstrap' defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: Failure during rollback: org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap$1@10a621a
Caused by:
org.alfresco.error.AlfrescoRuntimeException: Failure during rollback: org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap$1@10a621a
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:281)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155)
        at org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap.bootstrap(DictionaryRepositoryBootstrap.java:134)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
and catalina.out

11:46:09,053 ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryRepositoryBootstrap' defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested exception is org.alfresco.error.AlfrescoRuntimeException: Failure during rollback: org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap$1@15f0876
Caused by:
org.alfresco.error.AlfrescoRuntimeException: Failure during rollback: org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap$1@15f0876
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:281)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155)
        at org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap.bootstrap(DictionaryRepositoryBootstrap.java:134)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAcc

Appreciate any help
Thanks
Fleetwoodmac
14 REPLIES 14

alexfisher
Champ in-the-making
Champ in-the-making
I'm having the same issue.

In the web browser, I get:


type Status report

message /alfresco/

description The requested resource (/alfresco/) is not available.

And in the alfresco.log file I have similar output as above.

fleetwoodmac
Champ in-the-making
Champ in-the-making
alexfisher,
Did you resolve your installation problems

steve
Champ in-the-making
Champ in-the-making
Hi alexfisher,

Your post gives no indication of why the server failed to start - you'll need to post the relevant parts from your catalina.out or alfresco.log showing the cause of the problem before anyone can really help you.

Steve

fleetwoodmac
Champ in-the-making
Champ in-the-making
Steve,
I may have resolved the mystery.  You were probably right. It was a permissions problem. In the wiki instruction for installing on Centos http://wiki.alfresco.com/wiki/Installing_Alfresco_Community_WAR_on_Centos_5 the chown instruction may have been mistaken

It says
[root@localhost alfresco]# chown -R tomcat.tomcat /var/lib/alfresco

Don't forget that second step – turns out it's important, or bad things happen later.

When it should say

[root@localhost alfresco]# chown -R tomcat:tomcat /var/lib/alfresco (with a colon between user and group names)

I reinstalled Alfresco on an x64 machine running Centos 5 using the custom properties configuration files and it works fine

steve
Champ in-the-making
Champ in-the-making
Hi,

Thanks for the correction to the Wiki - I have updated the Centos page.
Note, these instructions were kindly added by a community member because we don't test on Centos currently.

Steve