Problem running sync_members under cpanel
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
participants (3)
-
Brad Knowles
-
Hilton
-
Mark Sapiro