Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Mailman Error Alert

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

  1. Doctor

    Doctor Well-Known Member

    Joined:
    Apr 26, 2003
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    166
    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:
    166
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Chase

    Chase Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    166
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    166
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Doctor

    Doctor Well-Known Member

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

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice