Hello,
Can you manually login to cyrus???
Yes!
Here is the cyrus.conf
# standard standalone server implementation
START {
# do not delete this entry!
recover cmd="ctl_cyrusdb -r"
# this is only necessary if using idled for IMAP IDLE
idled cmd="idled"
}
# UNIX sockets start with a slash and are put into /var/lib/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
# imaps cmd="imapd -s" listen="imaps" prefork=0
pop3 cmd="pop3d" listen="pop3" prefork=0
# pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
# at least one LMTP is required for delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/lib/imap/socket/notify"
proto="udp" prefork=1
}
EVENTS {
# this is required
checkpoint cmd="ctl_cyrusdb -c" period=30
# this is only necessary if using duplicate delivery suppression
delprune cmd="cyr_expire -E 3" at=0400
# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400
# Uncomment the next entry, if you want to automatically remove
# old messages of EVERY user.
# This example calls ipurge every 60 minutes and ipurge will delete
# ALL messages older then 30 days.
# enter 'man 8 ipurge' for more details
# cleanup cmd="ipurge -d 30 -f" period=60
}
Regards F.Mini
-----Ursprüngliche Nachricht-----
Von: [email protected]
Gesendet: 06.04.06 08:27:38
An: <[email protected]>
Betreff: Re: [Web-cyradm] Can't login
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
_______________________________________________
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