FAQ
I'm using a hosting company that runs cpanel.
CentOS 4.1, cPanel 10.2.0-S83, Mailman 2.1.5p1

I don't have access to root, but what I'm trying to do is synchronise the
membership database via an uploaded text file.

This is the command that I've setup in the cron.

/usr/local/cpanel/3rdparty/mailman/bin/sync_members -w=no -g=no -a=yes -f
/home/lrocorg/mailman/export-lists/test.txt test_landrover.org.za

'lrocorg' is my username on the system and 'test_landrover.org.za' is the
mailman list that is assigned. The actual list name is just 'test'.

So I FTP the 'test.txt' to the respective directory under my home directory
and then run the cron job.

I then get this error message;

----------
Ignore :
Traceback (most recent call last):
File "/usr/local/cpanel/3rdparty/mailman/bin/sync_members", line 286, in ?
main()
File "/usr/local/cpanel/3rdparty/mailman/bin/sync_members", line 220, in
main
mlist = MailList.MailList(listname)
File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 126, in
__init__
self.Lock()
File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 159, in
Lock
self.__lock.lock(timeout)
File "/usr/local/cpanel/3rdparty/mailman/Mailman/LockFile.py", line 243, in
lock
self.__write()
File "/usr/local/cpanel/3rdparty/mailman/Mailman/LockFile.py", line 422, in
__write
fp = open(self.__tmpfname, 'w')

IOError: [Errno 13] Permission denied:
'/usr/local/cpanel/3rdparty/mailman/locks/test_landrover.org.za.lock.s53.tm.
crucialx.net.13496.0'
-----------

Any pointers please? As I said before, I don't have root access.


Regards
_______________
Hilton J Ralphs

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 28/07/2005

Search Discussions

  • Brad Knowles at Jul 31, 2005 at 8:27 pm

    At 8:22 PM +0200 2005-07-31, Hilton wrote:

    File "/usr/local/cpanel/3rdparty/mailman/Mailman/LockFile.py", line 422, in
    __write
    fp = open(self.__tmpfname, 'w')

    IOError: [Errno 13] Permission denied:
    '/usr/local/cpanel/3rdparty/mailman/locks/test_landrover.org.za.lock.s53.tm.
    crucialx.net.13496.0'
    -----------

    Any pointers please? As I said before, I don't have root access.
    That's a file permissions problem. You need to talk to your
    CPanel hosting provider.

    --
    Brad Knowles, <brad at stop.mail-abuse.org>

    "Those who would give up essential Liberty, to purchase a little
    temporary Safety, deserve neither Liberty nor Safety."

    -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
    Assembly to the Governor, November 11, 1755

    SAGE member since 1995. See <http://www.sage.org/> for more info.
  • Mark Sapiro at Jul 31, 2005 at 10:15 pm

    Brad Knowles wrote:
    At 8:22 PM +0200 2005-07-31, Hilton wrote:

    File "/usr/local/cpanel/3rdparty/mailman/Mailman/LockFile.py", line 422, in
    __write
    fp = open(self.__tmpfname, 'w')

    IOError: [Errno 13] Permission denied:
    '/usr/local/cpanel/3rdparty/mailman/locks/test_landrover.org.za.lock.s53.tm.
    crucialx.net.13496.0'
    -----------

    Any pointers please? As I said before, I don't have root access.
    That's a file permissions problem. You need to talk to your
    CPanel hosting provider.
    To elaborate, the user under which the cron is running does not have
    permission to create/write the lock file to lock the list. The cron
    probably needs to run as root or as a user in the 'mailman' group
    (usually 'mailman').

    Also see
    http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.011.htp

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedJul 31, '05 at 6:22p
activeJul 31, '05 at 10:15p
posts3
users3
websitelist.org

People

Translate

site design / logo © 2022 Grokbase