Take a look at the error:
fopen(web-cyradm-login.logweb-cyradm-login.log)... the filename is somehow
strange.
Try to set the logfile to /tmp/web-cyradm-login.log there 100% you have the
right to write.
But again, I don't think that this is the problem. Fopen does NOT kill the
script on error. That is why you get the fwrite and fclose after the fopen
error.
Can you manually login to cyrus???
Post us the following results:
netstat -an|grep LISTEN
cyradm --user cyrus --server localhost --auth plain !!!! >>> check if you
can login
cyradm --user cyrus --server localhost --auth login !!!! >>> check if you
can login
post us you cyrus configuration file also
Regards,
Andy.
----- Original Message -----
From: "Flavio Mini" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, April 05, 2006 12:18 PM
Subject: RE: [Web-cyradm] Can't login
Hello
Here are messages when I log in.
There is no logs in in the web-cyradm-login.log file.
Notice: Undefined index: session_ok in
/srv/www/htdocs/web-cyradm/auth.inc.php on line 12
Warning: fopen(web-cyradm-login.logweb-cyradm-login.log) [function.fopen]:
failed to open stream: Permission denied in
/srv/www/htdocs/web-cyradm/auth.inc.php on line 20
Warning: fwrite(): supplied argument is not a valid stream resource in
/srv/www/htdocs/web-cyradm/auth.inc.php on line 22
Warning: fclose(): supplied argument is not a valid stream resource in
/srv/www/htdocs/web-cyradm/auth.inc.php on line 23
Warning: fopen(web-cyradm-login.logweb-cyradm-login.log) [function.fopen]:
failed to open stream: Permission denied in
/srv/www/htdocs/web-cyradm/auth.inc.php on line 54
Warning: fwrite(): supplied argument is not a valid stream resource in
/srv/www/htdocs/web-cyradm/auth.inc.php on line 56
Warning: fclose(): supplied argument is not a valid stream resource in
/srv/www/htdocs/web-cyradm/auth.inc.php on line 57
Warning: Cannot modify header information - headers already sent by (output
started at /srv/www/htdocs/web-cyradm/auth.inc.php:12) in
/srv/www/htdocs/web-cyradm/auth.inc.php on line 61
Regards F.Mini
-----Ursprüngliche Nachricht-----
Von: [email protected]
Gesendet: 05.04.06 10:00:19
An: <[email protected]>
Betreff: RE: [Web-cyradm] Can't login
Hi,
Please supply more information.
"I can't login" is not too much descriptive :)
You have to give more info if you want people to help you.
What's happening when you try to login?
Error messages? What can you see in the logs?
Regards,
Leon
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Flavio Mini
Sent: Wednesday, April 05, 2006 10:42 AM
To: [email protected]
Subject: RE: [Web-cyradm] Can't login
Hello
I did all this again but I can't login.
The configuration seems top be OK.
I can login to cyradm. The only thing is I need to write to time the
passwort to login.
first for password
second for password imap
Best regards F.Mini
-----Ursprüngliche Nachricht-----
Von: [email protected]
Gesendet: 05.04.06 08:41:38
An: <[email protected]>
Betreff: RE: [Web-cyradm] Can't login
Hi,
Are you sure that's what you did:
# touch /var/log/web-cyradm-login.log
# chown wwwrun /var/log/web-cyradm-login.log
# chmod 600 /var/log/web-cyradm-login.log
Cause it's really seems the web-cyradm-login.log problem.
Regards,
Leon Kolchinsky
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Flavio Mini
Sent: Monday, April 03, 2006 2:04 AM
To: Jan Scholten; [email protected]
Subject: Re: [Web-cyradm] Can't login
Hello Jan
Thank you for the quick answer. Could you gave me more details about your
about this problem
Here are the right for the log. Are this allright?
-rw-r--r-- 1 nobody root 0 2006-04-02 11:50 web-cyradm.log
-rw-r--r-- 1 wwwrun root 0 2006-04-02 13:04 web-cyradm-login.log
Best regards
F.Mini
-----Ursprüngliche Nachricht-----
Von: Jan Scholten <[EMAIL PROTECTED]>, [email protected]
Gesendet: 02.04.06 21:44:21
An: Flavio Mini <[email protected]>
Betreff: Re: [Web-cyradm] Can't login
Hello
There is no way to login to web-cyradm. I got the following error
messages.
Warning: fopen(web-cyradm-login.logweb-cyradm-login.log)
[function.fopen]: failed to open
stream: Permission denied in /srv/www/htdocs/web-cyradm/auth.inc.php on
line 20
Warning: fwrite(): supplied argument is not a valid stream resource in
/srv/www/htdocs/web-cyradm/auth.inc.php on line 22
Warning: fclose(): supplied argument is not a valid stream resource in
/srv/www/htdocs/web-cyradm/auth.inc.php on line 23
Database erro
Is there someone which have a tip to resolve this problem?
Fix the Problem.. probably the logfile is not existent or the rights are
wrong..
Best regards
F.MINI
--
Error in operator: add beer
Mit freundlichen Grüßen
Jan Scholten
mailto:[EMAIL PROTECTED]
_______________________________________________
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
_______________________________________________
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
<hr>
_______________________________________________
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
_______________________________________________
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
<hr>
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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