cancel
Showing results for 
Search instead for 
Did you mean: 

Instalation of Alfresco Community Edition 5.1 on linux

kaoutar1
Champ in-the-making
Champ in-the-making
Hi
This is what  appear to me when I try to Start Alfresco :

[root@alfresco opt]# ./alfresco.sh restart
Using CATALINA_BASE:   /var/opt/tomcat
Using CATALINA_HOME:   /var/opt/tomcat
Using CATALINA_TMPDIR: /var/opt/tomcat/temp
Using JRE_HOME:        /var/opt/java
Using CLASSPATH:       /var/opt/tomcat/bin/bootstrap.jar:/var/opt/tomcat/bin/tom           cat-juli.jar
Using CATALINA_PID:    /var/opt/tomcat/temp/catalina.pid
Tomcat stopped.
/var/opt/tomcat/scripts/ctl.sh : tomcat stopped
/var/opt/postgresql/scripts/ctl.sh : postgresql not running
waiting for server to start…….. stopped waiting
pg_ctl.bin: could not start server
Examine the log output.
/var/opt/postgresql/scripts/ctl.sh : postgresql  could not be started
Using CATALINA_BASE:   /var/opt/tomcat
Using CATALINA_HOME:   /var/opt/tomcat
Using CATALINA_TMPDIR: /var/opt/tomcat/temp
Using JRE_HOME:        /var/opt/java
Using CLASSPATH:       /var/opt/tomcat/bin/bootstrap.jar:/var/opt/tomcat/bin/tom           cat-juli.jar
Using CATALINA_PID:    /var/opt/tomcat/temp/catalina.pid
Tomcat started.

I think it s a problem with Postgrsql ..
What should I do ??
2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator
Are you able to start and stop PostgreSQL on its own? Try /var/opt/postgresql/scripts/ctl.sh start.

If that doesn't work, maybe you will see a log message that gives you a clue. Also check /var/log.

Jeff

kaoutar1
Champ in-the-making
Champ in-the-making
Thank you for your help Smiley Happy
I solved the problem
I checked postgersql.log it was a Permission problem for the directory /alf_data/postgresql
I changed the permission like this : chmod -R 700 var/opt/ald_data/postgresql