The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mailman Error Alert

Discussion in 'E-mail Discussions' started by Doctor, Jul 15, 2003.

  1. Doctor

    Doctor Well-Known Member

    Joined:
    Apr 26, 2003
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    After I updated the WHM to its latest release, my root email is being bombarded with the following Mailman error alert:

    -------------------------------------
    Traceback (innermost last):
    File "/usr/local/cpanel/3rdparty/mailman/cron/qrunner", line 271, in ?
    lock.lock(timeout=0.5)
    File "/usr/local/cpanel/3rdparty/mailman/Mailman/LockFile.py", line 219, in lock
    self.__write()
    File "/usr/local/cpanel/3rdparty/mailman/Mailman/LockFile.py", line 350, in __write
    fp = open(self.__tmpfname, 'w')
    IOError: [Errno 13] Permission denied: '/usr/local/cpanel/3rdparty/mailman/locks/qrunner.lock.my.server.com.4645'
    -------------------------------------

    Can someone please tell me how I can resolve this?

    cPanel.net Support Ticket Number:
     
  2. Chase

    Chase Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    In the /etc/valiases/domain.com file change /usr/local/cpanel/3rdparty/mailman/mail/wrapper to /usr/local/cpanel/3rdparty/mailman/mail/mailman it'll work fine. :) There is another way of doing this that will replace all the files correctly. Let me know if you need help.

    cPanel.net Support Ticket Number:
     
  3. Chase

    Chase Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    Just login to shell and run this

    find /etc/valiases -type f -print | xargs file | grep -i text | cut -f1 -d: | while read file; do
    vi $file >/dev/null 2>&1 <<!
    :%s,|/usr/local/cpanel/3rdparty/mailman/mail/wrapper,|/usr/local/cpanel/3rdparty/mailman/mail/mailman,g
    :wq
    !
    done

    cPanel.net Support Ticket Number:
     
  4. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    That's one hell of a command son; this is easier on the system, the fingers & the memory:
    Code:
    cp /etc/valiases /etc/valiases-backup
    cd /etc/valiases
    replace /usr/local/cpanel/3rdparty/mailman/mail/wrapper /usr/local/cpanel/3rdparty/mailman/mail/mailman -- *
    cPanel.net Support Ticket Number:
     
  5. Doctor

    Doctor Well-Known Member

    Joined:
    Apr 26, 2003
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Thanks guys!

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page