Forums

angle-left Back

catalina.out: Permission denied

KK
ko ko, modified 7 Years ago.

catalina.out: Permission denied

New Member Posts: 21 Join Date: 6/21/08 Recent Posts
Dear friends,

I just install latest Liferay Portal on Ubuntu Linux.

When i want to statrt the portal , i always get this error message.


/usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26/bin$ ./startup.sh
Using CATALINA_BASE:   /usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26
Using CATALINA_HOME:   /usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26
Using CATALINA_TMPDIR: /usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26/temp
Using JRE_HOME:        /usr/java/jdk1.6.0_21
Using CLASSPATH:       /usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26/bin/bootstrap.jar
touch: cannot touch `/usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26/logs/catalina.out': Permission denied
:/usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26/bin$ ./catalina.sh: 448: cannot create /usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26/logs/catalina.out: Permission denied


how can I solve this?

many thanks in advance.

regards,
saya
Marcela Bonell, modified 7 Years ago.

RE: catalina.out: Permission denied

New Member Posts: 15 Join Date: 9/21/10 Recent Posts
You have to give permission to the folder, this is because the logs needs to be created but if you don´t have permission in the folder logs it can´t be created
Abhishek Saxena, modified 7 Years ago.

RE: catalina.out: Permission denied

Regular Member Posts: 130 Join Date: 6/17/09 Recent Posts
Try updating permissions
http://www.linuxforums.org/articles/file-permissions_94.html
KK
ko ko, modified 7 Years ago.

RE: catalina.out: Permission denied

New Member Posts: 21 Join Date: 6/21/08 Recent Posts
Thanks you.

But I think I still have a problem.

After starting the start.sh

I can see this...


/usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26/bin$ ./startup.sh

Using CATALINA_BASE: /usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26
Using CATALINA_HOME: /usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26
Using CATALINA_TMPDIR: /usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26/temp
Using JRE_HOME: /usr/java/jdk1.6.0_21
Using CLASSPATH: /usr/liferay/liferay-portal-6.0.5/tomcat-6.0.26/bin/bootstrap.jar

and when I open with the browser http://127.0.0.1:8080

I got this message.


HTTP Status 404 -

type Status report

description The requested resource () is not available.
Apache Tomcat/6.0.26


Something wrong in the installation process.?

regards,
koko
mohammed azam, modified 7 Years ago.

RE: catalina.out: Permission denied

Regular Member Posts: 159 Join Date: 11/6/09 Recent Posts
check whether the java home is Set in Classpath. Try to extract the new liferay.zip file and then Delete the Jre folder from webapps. later start the server
Abhishek Saxena, modified 7 Years ago.

RE: catalina.out: Permission denied

Regular Member Posts: 130 Join Date: 6/17/09 Recent Posts
Attach more Catalina.out logs.

If you are having problems try doing a fresh installation , i have tried to make a cheklist with steps that come to my mind in first pass

1>Try setting up JAVA_HOME try and use JRE available in JDK folder having JRE installed separately sometime leads to version conflict (available in JDK 5 and above)
2>Check for folder permissions
3>Download tomcat-liferay bundle make sure you have setup LIFERAY_HOME properly it is very important to set up home directory properly
4>Check for database connections.
5>check if properties are set properly in portal-ext.properties (initially for Databse change)


Try Must read for first time setup

I ll check the logs once you have attached them again emoticon