View Single Post
  #4  
Old 22nd May 2012, 14:14
m4l41k4t m4l41k4t is offline
Member
 
Join Date: May 2012
Posts: 32
Thanks: 11
Thanked 0 Times in 0 Posts
Default

I try to test changing the file permissions as below can not be as well.
And I check the file is not found, but why the results of the "tail-f / var / log / mailman / error: his permission to say no?
what should i do to solve this problem?

root@mail:~# tail -f /var/log/mailman/error
mlist.ArchiveMail(msg)
File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 198, in ArchiveMail
self.__archive_to_mbox(msg)
File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 167, in __archive_to_mbox
mbox = self.__archive_file(afn)
File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 155, in __archive_file
return Mailbox.Mailbox(open(afn, 'a+'))
IOError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/devlop.mbox/devlop.mbox'

May 22 08:00:48 2012 (1828) SHUNTING: 1337688047.222328+cf711499df2ccfeb0a0c9a1537f8c4eb 196a06c1
May 22 08:03:24 2012 (1828) Archive file access failure:
/var/lib/mailman/archives/private/devlop.mbox/devlop.mbox [Errno 13] Permission denied: '/var/lib/mailman/archives/private/devlop.mbox/devlop.mbox'
May 22 08:03:24 2012 (1828) Uncaught runner exception: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/devlop.mbox/devlop.mbox'
May 22 08:03:24 2012 (1828) Traceback (most recent call last):
File "/var/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
self._onefile(msg, msgdata)
File "/var/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/var/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
mlist.ArchiveMail(msg)
File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 198, in ArchiveMail
self.__archive_to_mbox(msg)
File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 167, in __archive_to_mbox
mbox = self.__archive_file(afn)
File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 155, in __archive_file
return Mailbox.Mailbox(open(afn, 'a+'))
IOError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/devlop.mbox/devlop.mbox'

May 22 08:03:24 2012 (1828) SHUNTING: 1337688202.511744+fa06232779f46525021420748bde3c6a 33949077
^C^X^C
root@mail:~# chmod +x /var/lib/mailman/archives/private/devlop.mbox/devlop.mbox
chmod: cannot access `/var/lib/mailman/archives/private/devlop.mbox/devlop.mbox': No such file or directory
root@mail:~# chmod +x /var/lib/mailman/archives/private/devlop.mbox
root@mail:~# cd /var/lib/mailman/archives/private/devlop.mbox/
root@mail:/var/lib/mailman/archives/private/devlop.mbox# ls
root@mail:/var/lib/mailman/archives/private/devlop.mbox#
Reply With Quote