View previous topic :: View next topic |
Author |
Message |
vcihon Tux's lil' helper
Joined: 19 Aug 2003 Posts: 107
|
Posted: Thu Apr 22, 2004 8:38 pm Post subject: Horde writing to log file error |
|
|
I am trying to set up Horde-IMP using the the Qmail/Horde docs on the Gentoo main site.
No issues with the install however when I log in to the webmail, I get the following error:
Code: | Warning: fopen(/var/log/apache2/horde.log): failed to open stream: Permission denied in /usr/lib/php/Log/file.php on line 202
Warning: Cannot modify header information - headers already sent by (output started at /usr/lib/php/Log/file.php:202) in /var/www/localhost/htdocs/horde/imp/redirect.php on line 106 |
If I navigate back one page (I thought to go back to the logon prompt), my email comes up! When I log out, it goes back to the logon prompt with a similar message on the top of the page:
Code: | Warning: fopen(/var/log/apache2/horde.log): failed to open stream: Permission denied in /usr/lib/php/Log/file.php on line 202
|
It appears that Horde accesses IMAP fine however is having issues with writing to the log. I checked the permisions of the /var/log/apache2/horde.log and it is the same as the other ones in that directory (root access rw, everyone else r only).
Thoughts? |
|
Back to top |
|
|
rwallace Tux's lil' helper
Joined: 22 May 2003 Posts: 107 Location: Phoenix, AZ US
|
Posted: Thu Apr 22, 2004 9:26 pm Post subject: |
|
|
Check the user your httpd damon is running as. It should be as apache. That is the user the log file should be owned by. The other logs in that directory are written to using syslog I believe. But the PEAR Logger writes directly to the file so needs to be owned by the user the web server is running as. |
|
Back to top |
|
|
|