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.

Phyton/Qrunner?

Discussion in 'General Discussion' started by mesranet, Mar 28, 2003.

  1. mesranet

    mesranet Well-Known Member

    Joined:
    May 6, 2002
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    Hi All,

    I receive 2 email from Cron Daemon and the subject is '/usr/bin/python -S /usr/local/cpanel/3rdparty/mailman/cron/qrunner', the contents of email as below.

    Traceback (innermost last):
    File "/usr/local/cpanel/3rdparty/mailman/cron/qrunner", line 276, 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.server.domain.net.4781'

    And

    Traceback (innermost last):
    File "/usr/local/cpanel/3rdparty/mailman/cron/qrunner", line 83, in ?
    from Mailman import mm_cfg
    ImportError: cannot import name mm_cfg


    Please help.
     
  2. Ajeesh

    Ajeesh Member

    Joined:
    Oct 20, 2001
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    check the permissions of phython binary.

    /usr/sbin/python
     
  3. Ajeesh

    Ajeesh Member

    Joined:
    Oct 20, 2001
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    sorry:

    THe path is:
    root@thunder [~]# ls -al /usr/bin/python
    -rwxr-xr-x 2 root root 391552 Jan 31 14:54 /usr/bin/python*
     

Share This Page