Cron <root@bertrandrussell> test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily (fwd)
Hi folks,
Following up on what I wrote yesterday, I got this cron report in my email this morning. Might this explain why I'm seeing the mailman problems that I'm seeing?
Also, root:root owns a lot of the mailman files. Does the owner matter much?
Thanks for any help you can give me. This is a highly irritating problem
- and vaguely urgent, since I want to get a mailing list up and running to discuss a friend's upcoming bachelor party. :-)
Thanks, Steve
----- Forwarded message from Cron Daemon root@laniels.org -----
From: root@laniels.org (Cron Daemon) To: root@laniels.org Subject: Cron root@bertrandrussell test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily Date: Tue, 30 Jul 2002 06:33:04 -0400
/etc/cron.daily/mailman: Traceback (most recent call last): File "/var/lib/mailman/cron/checkdbs", line 92, in ? main() File "/var/lib/mailman/cron/checkdbs", line 41, in main mlist = MailList.MailList(name) File "/usr/lib/mailman/Mailman/MailList.py", line 77, in __init__ self.Lock() File "/usr/lib/mailman/Mailman/MailList.py", line 1340, in Lock self.__lock.lock(timeout) File "/usr/lib/mailman/Mailman/LockFile.py", line 219, in lock self.__write() File "/usr/lib/mailman/Mailman/LockFile.py", line 350, in __write fp = open(self.__tmpfname, 'w') IOError: [Errno 13] Permission denied: '/var/lib/mailman/locks/bachelor_party.lock.bertrandrussell.10065' Traceback (most recent call last): File "/var/lib/mailman/cron/senddigests", line 65, in ? main() File "/var/lib/mailman/cron/senddigests", line 42, in main send_list_digest(mlist) File "/var/lib/mailman/cron/senddigests", line 46, in send_list_digest mlist.Lock() File "/usr/lib/mailman/Mailman/MailList.py", line 1340, in Lock self.__lock.lock(timeout) File "/usr/lib/mailman/Mailman/LockFile.py", line 219, in lock self.__write() File "/usr/lib/mailman/Mailman/LockFile.py", line 350, in __write fp = open(self.__tmpfname, 'w') IOError: [Errno 13] Permission denied: '/var/lib/mailman/locks/bachelor_party.lock.bertrandrussell.10067' run-parts: /etc/cron.daily/mailman exited with return code 1
----- End forwarded message -----
-- "The gift of compressing the largest number of words into the smallest amount of thought" -Winston Churchill, on Prime Minister Ramsay McDonald (whom Churchill also labeled "the boneless wonder")
- Stephen R Laniel slaniel@laniels.org [20020730 15:27]: wrote:
Subject: Cron root@bertrandrussell test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily ^^^^^^^^^^^^^^^^^^^^^ That is funny, maybe okay with you ;-)
Date: Tue, 30 Jul 2002 06:33:04 -0400 IOError: [Errno 13] Permission denied: '/var/lib/mailman/locks/bachelor_party.lock.bertrandrussell.10065' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
That is interesting. If I were you, I'd do
su # Login as root su - mailman # Login as mailman , so now I am in MAILMAN_HOME touch testfile # See if user mailman has permission to write. Isn't that what the cron does?
Traceback (most recent call last): File "/var/lib/mailman/cron/senddigests", line 65, in ? main() File "/var/lib/mailman/cron/senddigests", line 42, in main send_list_digest(mlist) File "/var/lib/mailman/cron/senddigests", line 46, in send_list_digest mlist.Lock() File "/usr/lib/mailman/Mailman/MailList.py", line 1340, in Lock self.__lock.lock(timeout) File "/usr/lib/mailman/Mailman/LockFile.py", line 219, in lock self.__write() File "/usr/lib/mailman/Mailman/LockFile.py", line 350, in __write fp = open(self.__tmpfname, 'w') IOError: [Errno 13] Permission denied: '/var/lib/mailman/locks/bachelor_party.lock.bertrandrussell.10067' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
run-parts: /etc/cron.daily/mailman exited with return code 1
Once you clear those "permission denied", come back with more queries ;-)
Just before I go, I must mention that I missed you initial postings. I am a Mailman newbie also, but mine is running, albeit with one slight glitch for now... but I am happy so far..
My Mailman is in /usr/local/mailman ; owned by root:mailman and SETGID.
-Wash
--
Odhiambo Washington wash@wananchi.com "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD."
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :-)
(1) Everything depends. (2) Nothing is always. (3) Everything is sometimes.
Hi folks,
Thanks for your help. It turns out that I needed to make user mailman a member of group list, and I needed to give the list group write permissions on the mailman locks directory. Once I did that, all was fixed.
Then I had a problem accessing the list archives, but that was easy: I needed to force Apache to follow symlinks. Once I did that, again all was well.
Thanks again, Steve
-- "The gift of compressing the largest number of words into the smallest amount of thought" -Winston Churchill, on Prime Minister Ramsay McDonald (whom Churchill also labeled "the boneless wonder")
participants (2)
-
Odhiambo Washington
-
Stephen R Laniel