cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco.log Permission Denied

jriker1
Champ in-the-making
Champ in-the-making
I have setup Alfresco 3.2 Preview2 the very latest like Jun 2nd.  Works fine on OpenSuse 11 following basically this guide:

http://wiki.alfresco.com/wiki/Installing_Alfresco_Labs_3_on_openSUSE_11.1

That said, I am getting errors in the tomcat logs about Permission Denied for the alfresco.log file.  Keep in mind this is a war deployment.  I have modified the log4j.properties files in the folders Tomcat made from the war files but still getting this message.  No alfresco.log file exists anywhere on the server at this point.

Thanks for any input.

JR
3 REPLIES 3

mikeh
Star Contributor
Star Contributor
It would help if you could post the errors you're getting.

Thanks,
Mike

jriker1
Champ in-the-making
Champ in-the-making
Let me know if you need the whole thing.  It's on a Linux box so not easily ported to my PC.  Basically I get in the tomcat 6 log:

log4j: ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: alfresco.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
….

Let me know if you need more.

Thanks.

JR

mrogers
Star Contributor
Star Contributor
The error is from log4j rather than alfresco.

Are you running alfresco as root or another account?

Check the permissions of the "alfresco.log" file and make sure that the account running alfresco has write permissions to the log file.