cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco.sh wont start tomcat

starcastle
Champ in-the-making
Champ in-the-making
I issue the start command (alfresco.sh start) and get the following:

Using CATALINA_BASE:     /opt/Alfresco/tomcat
Using CATALINA_HOME:     /opt/Alfresco/tomcat
Using CATALINA_TMPDIR:     /opt/Alfresco/tomcat
Using JRE_HOME:     /usr//jvm/jre

I notice on the last line the '//' which should contain 'lib'.  Dont know where to correct this.

Couple of items:

1. I am a beginner at Linix
2. I have to use 'sh' in front of the scipt to get it to work.
3. I had to hard code ALF_HOME = /opt/Alfresco

Any ideas?

Thanks
1 REPLY 1

ofrxnz
Champ in-the-making
Champ in-the-making
which Linux distribution are you using?  Each one is a bit unique in it's operation and i can provide clearer instructions.

on ubuntu, the easiest command should be something like "sudo /opt/Alfresco/alfresco.sh start" or, if your already in the /opt/Alfresco directory "sudo ./alfresco.sh start"

Once you get it started as root, you can worry about tightening security and running it as a non privileged user. 

you probably have to edit your alfresco.sh file to point it at the Sun Java JDK and the root Alfresco directory"

so in that file, you will need to set these lines

replace

ALF_HOME=@@ALFRESCO_DIR@@

with

ALF_HOME=/opt/Alfresco

and

export JAVA_HOME="@@JAVA_HOME@@"

with

export JAVA_HOME="/usr/lib/jvm/java-6-sun”

the Sun JDK is not installed by default on most distributions so you will have to install it and point alfresco at it.