This is a new install on FC4, imap, sasl, postfix, mysql, apache2 are all
installed and working. I am unable to login using web-cyradm.
After following some threads, I added to conf.php:
error_reporting(E_ALL);
ini_set("log_errors",1);
ini_set("error_log","/var/log/web-cyradm/web-cyradm-error.log");
and
and change php.ini error reporting to E_ALL E_NOTICE:
The web-cyradm-error.log file it reports:
[14-Jan-2006 13:40:14] PHP Warning:
fopen(/var/log/web-cyradm/web-cyradm-login.log) [<a
href='function.fopen'>function.fopen</a>]: failed to open stream: Permission
denied in /var/www/html/web-cyradm/auth.inc.php on line 23
[14-Jan-2006 13:40:14] PHP Warning: fwrite(): supplied argument is not a
valid stream resource in /var/www/html/web-cyradm/auth.inc.php on line 25
[14-Jan-2006 13:40:14] PHP Warning: fclose(): supplied argument is not a
valid stream resource in /var/www/html/web-cyradm/auth.inc.php on line 26
[14-Jan-2006 13:40:14] PHP Warning:
fopen(/var/log/web-cyradm/web-cyradm-login.log) [<a
href='function.fopen'>function.fopen</a>]: failed to open stream: Permission
denied in /var/www/html/web-cyradm/auth.inc.php on line 57
[14-Jan-2006 13:40:14] PHP Warning: fwrite(): supplied argument is not a
valid stream resource in /var/www/html/web-cyradm/auth.inc.php on line 59
[14-Jan-2006 13:40:14] PHP Warning: fclose(): supplied argument is not a
valid stream resource in /var/www/html/web-cyradm/auth.inc.php on line 60
This suggest to me that there is a permission error at the respective fopen
and fclose statements in auth.inc.php for log files in
the /var/log/web-cyradm folder while permission is OK for
web-cyradm-error.log.
Can someone explain what could possible allow conf.php to write to
the /var/log/web-cyradm folder but refuse permissions to auth.inc.php?
Thanks
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm