multilog problem
so here is my problem... I did find some mention of this problem in the archives, but no solution to this problem. I installed qmail as per http://www.lifewithqmail.org/lwq.html (including pop3) now what i see is multilog: fatal: unable to lock directory /var/log/qmail: temporary failure I checked over this page many times, and can not see that I did anything wrong. Did I miss something? My other comment is that under section 5.2.1.2 it should tell you to make the following dirs (/var/log/qmail/pop3d /var/log/qmail/pop3d/log) before creating those files since the system won't allow you to make the files when the dirs don't exist (at least on my system it won't). My mail server is running right now, but any messages I send don't leave my system, and I don't receive any messages. if this has been explained somewhere I apologize, but I could not find an answer. I'm running debian linux with kernel 2.4.5, and i'm not a linux guru. lorac ___ Do You Yahoo!? Get your free @yahoo.ca address at http://mail.yahoo.ca
Re: multilog problem
In a message dated Mon, Jul 02, 2001 at 03:54:41AM -0400, Lorac Thelmwood wrote: so here is my problem... I did find some mention of this problem in the archives, but no solution to this problem. I installed qmail as per http://www.lifewithqmail.org/lwq.html (including pop3) now what i see is multilog: fatal: unable to lock directory /var/log/qmail: temporary failure did you chown /var/log/qmail to qmaill.qmail ? -- rjbs PGP signature
Re: multilog problem
I just did that, and it made no difference. lorac did you chown /var/log/qmail to qmaill.qmail ? -- rjbs ATTACHMENT part 2 application/pgp-signature ___ Do You Yahoo!? Get your free @yahoo.ca address at http://mail.yahoo.ca
RE: multilog problem
Nope, and neither did this. On Thu, Jun 29, 2000 at 01:55:14AM +0200, clemensF wrote: Steffan Hoeke: Ok, the /var/log/qmail permissions weren't the problem /var/qmail/supervise and all in it needed to be owned by qmaill as well ;) drwxr-xr-x5 qmaill qmail4096 Jul 1 23:38 supervise drwxr-xr-t4 qmaill qmail4096 Jul 1 23:41 qmail-pop3d drwxr-xr-t4 qmaill qmail4096 Jul 1 23:02 qmail-send drwxr-xr-t4 qmaill qmail4096 Jul 1 23:02 qmail-smtpd --- Michael Geier, CDM Systems Admin [EMAIL PROTECTED] wrote: you will probably have to restart qmail to make it take effect -Original Message- From: Lorac Thelmwood [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 1:39 PM To: [EMAIL PROTECTED] Subject: Re: multilog problem I just did that, and it made no difference. lorac did you chown /var/log/qmail to qmaill.qmail ? -- rjbs ATTACHMENT part 2 application/pgp-signature --- Michael Geier, CDM Systems Admin [EMAIL PROTECTED] wrote: you will probably have to restart qmail to make it take effect -Original Message- From: Lorac Thelmwood [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 1:39 PM To: [EMAIL PROTECTED] Subject: Re: multilog problem I just did that, and it made no difference. lorac did you chown /var/log/qmail to qmaill.qmail ? -- rjbs ATTACHMENT part 2 application/pgp-signature ___ Do You Yahoo!? Get your free @yahoo.ca address at http://mail.yahoo.ca ___ Do You Yahoo!? Get your free @yahoo.ca address at http://mail.yahoo.ca
multilog problem--quite urgent please
Yesterday, a guy from the data center has upgraded a memory on my server, and this morning I discovered a cpu load problem. What I'd figured out is that multilog just can't access /var/log/qmail/* so the supervise has been retrying on and on I checked the ownership of /var/log/qmail as follow: [root@ns qmail]# ls -al total 960 drwxr-xr-x 4 qmaill nofiles 4096 Jul 26 01:30 . drwx-- 9 root root 4096 Jul 23 04:02 .. -rwxr--r-- 1 qmaill nofiles 97999 Jul 20 05:35 @40003976c7e118727dd4.s -rwxr--r-- 1 qmaill nofiles 98092 Jul 20 06:35 @40003976d5ee08bbaa14.s -rwxr--r-- 1 qmaill nofiles 98137 Jul 20 14:37 @4000397746f123398654.s -rwxr--r-- 1 qmaill nofiles 98112 Jul 21 02:00 @40003977e7180e5bed1c.s -rwxr--r-- 1 qmaill nofiles 98062 Jul 21 04:04 @40003978040e333ffccc.s -rwxr--r-- 1 qmaill nofiles 98326 Jul 21 20:03 @40003978e4df05f4e8f4.s -rwxr--r-- 1 qmaill nofiles 98018 Jul 22 03:36 @400039794f17081c6c74.s -rwxr--r-- 1 qmaill nofiles 98145 Jul 24 05:28 @4000397c0c632df9c48c.s -rwxr--r-- 1 qmaill nofiles 98063 Jul 25 05:12 @4000397d5a0c054330dc.s -rwxr--r-- 1 qmaill nofiles 37543 Jul 25 15:28 current drwxr-xr-x 2 qmaill root 4096 Jul 21 02:18 pop3d drwxr-xr-x 2 qmaill root 4096 Jul 26 01:33 smtp The startup script is just like those in LWQ and I haven't done anything related to qmail since. Can someone please tell me what's going on here? Or more info is needed? I've now diabled supervise multiloging so qmail itself is running.. though I hate this. Thanks kittiwat
Re: multilog problem--quite urgent please
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26 Jul 00, at 14:13, [EMAIL PROTECTED] wrote: Yesterday, a guy from the data center has upgraded a memory on my server, and this morning I discovered a cpu load problem. What I'd figured out is that multilog just can't access /var/log/qmail/* so the supervise has been retrying on and on I checked the ownership of /var/log/qmail as follow: [root@ns qmail]# ls -al total 960 drwxr-xr-x 4 qmaill nofiles 4096 Jul 26 01:30 . drwx-- 9 root root 4096 Jul 23 04:02 .. That is your problem. Only root can access subdirectories of /var/log. Change permissions of /var/log to 711 or 755. (Why are you so restrictive on log directory? Sensitive logs are protected as files...) -BEGIN PGP SIGNATURE- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBOX6CRFMwP8g7qbw/EQKbtgCgmsxkiwwHtKxr4O1ZFEaN1x14a28AnR8e 9/4u3Iodv+9W03cLPVnBatY8 =FXnf -END PGP SIGNATURE- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
Re: multilog problem--quite urgent please
On Wed, Jul 26, 2000 at 02:13:01PM +0700, [EMAIL PROTECTED] wrote: [ls -l /var/log/qmail] ! drwx-- 9 root root 4096 Jul 23 04:02 .. With those kinds of permissions, the qmaill user (which apparently does all your logging) can't even touch the /var/log/qmail directory, let alone write in it. Try ``chmod 755 /var/log''. Just make individual logs unreadable if you think they're sensitive. ---Chris K. -- Chris, the Young One |_ but what's a dropped message between friends? Auckland, New Zealand |_ this is UDP, not TCP after all ;) ---John H. http://cloud9.hedgee.com/ |_ Robinson, IV PGP: 0xCCC6114E/0x706A6AAD |_
Re: multilog problem--quite urgent please
ooppss... yes, please blame me. it works now! thanks a lot kittiwat - Original Message - From: "Petr Novotny" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 26, 2000 2:16 PM Subject: Re: multilog problem--quite urgent please -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26 Jul 00, at 14:13, [EMAIL PROTECTED] wrote: Yesterday, a guy from the data center has upgraded a memory on my server, and this morning I discovered a cpu load problem. What I'd figured out is that multilog just can't access /var/log/qmail/* so the supervise has been retrying on and on I checked the ownership of /var/log/qmail as follow: [root@ns qmail]# ls -al total 960 drwxr-xr-x 4 qmaill nofiles 4096 Jul 26 01:30 . drwx-- 9 root root 4096 Jul 23 04:02 .. That is your problem. Only root can access subdirectories of /var/log. Change permissions of /var/log to 711 or 755. (Why are you so restrictive on log directory? Sensitive logs are protected as files...)
Multilog problem
hello, i try to install Qmail, but i have a problem when i launch the script svscan before launching qmail Multilog: ...can't acces to the directories /var/log/qmail/qmail-send Multilog: ...can't acces to the directories /var/log/qmail/qmail-smtpd this error print infinite messages on the term ... and it is'nt pretty to read ;) i haven't forget the qmail log directory with the righ access: chown qmaill /var/log/qmail chown qmaill /var/log/qmail/* but it is'nt working :( someone can help me please ... Dji. P.S : the solution not seems to be in the FAQ... -- Audouy Jérôme - 3rd year student in E.S.S.I. (Ecole Supérieure en Sciences Informatiques) e-mail : [EMAIL PROTECTED] www: http://djidji.citeweb.net
Re: Multilog problem
Audouy Jérôme [EMAIL PROTECTED] wrote: i try to install Qmail, but i have a problem when i launch the script svscan before launching qmail Multilog: ...can't acces to the directories /var/log/qmail/qmail-send Multilog: ...can't acces to the directories /var/log/qmail/qmail-smtpd this error print infinite messages on the term ... and it is'nt pretty to read ;) i haven't forget the qmail log directory with the righ access: chown qmaill /var/log/qmail chown qmaill /var/log/qmail/* Access to /var/log/qmail/qmail-send requires more than just the correct owner. The mode on the directory has to be right, as does the mode of all of the parent directories. Do: ls -ld / /var /var/log /var/log/qmail /var/log/qmail/* and post the results. -Dave