Results 1 to 2 of 2

Thread: log4php permission errors

  1. #1
    along is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    40

    Default log4php permission errors

    My apache log shows repeated instances of the following:

    Permission denied in /var/www/html/sugarcrm/log4php/appenders/LoggerAppenderRollingFile.php on line 147, referer: http://192.168.10.26/sugarcrm/index.php

    PHP Warning: rename(/var/www/html/sugarcrm/sugarcrm.log.2,/var/www/html/sugarcrm/sugarcrm.log.3) [<a href='function.rename'>function.rename</a>]: Permission denied in /var/www/html/sugarcrm/log4php/appenders/LoggerAppenderRollingFile.php on line 137, referer: http://192.168.10.26/sugarcrm/index.php

    permission:
    -rw-r--r-- 1 root apache 16066642 Jul 16 15:48 sugarcrm.log
    -rw-r--r-- 1 root apache 10486285 Mar 5 11:45 sugarcrm.log.1
    -rw-r--r-- 1 root apache 10486164 Mar 2 13:03 sugarcrm.log.2


    -Andrew

  2. #2
    ivolator's Avatar
    ivolator is offline Sugar Community Member
    Join Date
    Sep 2006
    Location
    Dagobah
    Posts
    98

    Default Re: log4php permission errors

    Hello,
    Change your log file permissions to 777.
    On your shell type chmod 777 sugarcrm.log.
    This should do the job!
    Regards

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 13
    Last Post: 2007-10-22, 04:30 AM
  2. Uninstalling a test module
    By ACMartin55 in forum Help
    Replies: 0
    Last Post: 2006-09-12, 08:13 PM
  3. failed to open stream
    By jrisman in forum Help
    Replies: 0
    Last Post: 2006-09-11, 03:07 AM
  4. Permission denied errors on IIS 6
    By Belt in forum Help
    Replies: 1
    Last Post: 2006-07-27, 12:47 PM
  5. Invitation to hackers: 777 permission
    By fastbob in forum Help
    Replies: 13
    Last Post: 2005-10-19, 11:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •