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

Discussion in 'E-mail Discussions' started by awsol, Feb 13, 2002.

  1. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    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.ns1.nixhosting.com.18275'


    Any ideas what is up? I keep getting emails about this every few minutes.
     
  2. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    I'm getting bombed with mails about this. Any ideas???
     
  3. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    20 emails since my first post.
     
  4. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    A reboot didn't fix it.
     
  5. WildWayz

    WildWayz Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    I/O error sounds like it is either a HD full
    (check your partition sizes to make sure something like /usr /local etc are not full).

    try running another /scripts/upcp too

    James
     
  6. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    Filesystem 1M-blocks Used Available Use% Mounted on
    /dev/hda8 4926 409 4267 9% /
    /dev/hda1 23 4 18 16% /boot
    /dev/hda6 19689 341 18347 2% /home
    /dev/hda7 6401 1457 4619 24% /usr
    /dev/hda9 2957 109 2698 4% /var
     
  7. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    Broadcast message from root Wed Feb 13 09:14:22 2002...

    Cpanel Layer 2 Auto-Update Commencing


    Again it did this. It doesn't say it completed installation like usual.
     
  8. bdraco

    bdraco Guest

    [quote:c45f78a561][i:c45f78a561]Originally posted by awsol[/i:c45f78a561]

    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.ns1.nixhosting.com.18275'


    Any ideas what is up? I keep getting emails about this every few minutes. [/quote:c45f78a561]


    /usr/local/cpanel/3rdparty/mailman/locks
    chown that dir to mailman
     
  9. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    I think the last upcp I did fixed it.
     
  10. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    LOL as soon as I sent that essage I got bombarded with emails again. I did what you suggested and now I have this.

    drwxrwsr-x 18 504 fengshui 4096 Dec 2 22:41 ./
    drwxr-xr-x 16 root root 4096 Feb 13 06:59 ../
    drwxrwsr-x 4 nobody banxchan 4096 Jan 2 2001 archives/
    drwxrwsr-x 2 nobody banxchan 4096 Dec 2 22:41 bin/
    drwxrwsr-x 2 nobody banxchan 4096 Dec 2 22:41 cgi-bin/
    drwxrwsr-x 2 nobody banxchan 4096 Dec 2 22:41 cron/
    drwxrwsr-x 2 nobody banxchan 4096 Dec 2 22:41 data/
    drwxrwsr-x 2 nobody banxchan 4096 Dec 2 22:41 filters/
    drwxrwsr-x 2 nobody banxchan 4096 Dec 2 22:41 icons/
    drwxrwsr-x 5 nobody banxchan 4096 Jan 14 2001 lists/
    drwxrwsr-x 2 mailman banxchan 4096 Jan 15 2001 locks/
    drwxrwsr-x 2 nobody banxchan 4096 Dec 2 22:41 logs/
    drwxrwsr-x 2 nobody banxchan 4096 Dec 2 22:41 mail/
    drwxrwsr-x 8 nobody banxchan 4096 Dec 2 22:41 Mailman/
    drwxrwsr-x 2 nobody banxchan 4096 Jul 3 2000 qfiles/
    drwxrwsr-x 2 nobody banxchan 4096 Dec 2 22:41 scripts/
    drwxrwsr-x 2 nobody banxchan 4096 Jul 3 2000 spam/
    drwxrwsr-x 2 nobody banxchan 4096 Dec 2 22:41 templates/
     
  11. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    Traceback (innermost last):
    File &/usr/local/cpanel/3rdparty/mailman/cron/gate_news&, line 222, in ?
    main()
    File &/usr/local/cpanel/3rdparty/mailman/cron/gate_news&, line 203, in main
    process_lists(lock)
    File &/usr/local/cpanel/3rdparty/mailman/cron/gate_news&, line 140, in process_lists
    mlist = MailList.MailList(listname, lock=0)
    File &/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py&, line 79, in __init__
    self.Load()
    File &/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py&, line 891, in Load
    dict, e = self.__load(dbfile)
    File &/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py&, line 868, in __load
    fp = open(dbfile)
    IOError: [Errno 13] Permission denied: '/usr/local/cpanel/3rdparty/mailman/lists/aa_cpanel3.darkorb.net/config.db'

    New error. I'm going to make every directory chown mailman. Hopefully this fixes the problem.
     
  12. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    drwxrwsr-x 18 504 fengshui 4096 Dec 2 22:41 ./
    drwxr-xr-x 16 root root 4096 Feb 13 06:59 ../
    drwxrwsr-x 4 mailman banxchan 4096 Jan 2 2001 archives/
    drwxrwsr-x 2 mailman banxchan 4096 Dec 2 22:41 bin/
    drwxrwsr-x 2 mailman banxchan 4096 Dec 2 22:41 cgi-bin/
    drwxrwsr-x 2 mailman banxchan 4096 Dec 2 22:41 cron/
    drwxrwsr-x 2 mailman banxchan 4096 Dec 2 22:41 data/
    drwxrwsr-x 2 mailman banxchan 4096 Dec 2 22:41 filters/
    drwxrwsr-x 2 mailman banxchan 4096 Dec 2 22:41 icons/
    drwxrwsr-x 5 mailman banxchan 4096 Jan 14 2001 lists/
    drwxrwsr-x 2 mailman banxchan 4096 Feb 13 09:28 locks/
    drwxrwsr-x 2 mailman banxchan 4096 Dec 2 22:41 logs/
    drwxrwsr-x 2 mailman banxchan 4096 Dec 2 22:41 mail/
    drwxrwsr-x 8 mailman banxchan 4096 Dec 2 22:41 Mailman/
    drwxrwsr-x 2 mailman banxchan 4096 Jul 3 2000 qfiles/
    drwxrwsr-x 2 mailman banxchan 4096 Dec 2 22:41 scripts/
    drwxrwsr-x 2 mailman banxchan 4096 Jul 3 2000 spam/
    drwxrwsr-x 2 mailman banxchan 4096 Dec 2 22:41 templates/

    Hopefully it works now.
     
  13. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    Traceback (innermost last):
    File &/usr/local/cpanel/3rdparty/mailman/cron/gate_news&, line 222, in ?
    main()
    File &/usr/local/cpanel/3rdparty/mailman/cron/gate_news&, line 203, in main
    process_lists(lock)
    File &/usr/local/cpanel/3rdparty/mailman/cron/gate_news&, line 140, in process_lists
    mlist = MailList.MailList(listname, lock=0)
    File &/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py&, line 79, in __init__
    self.Load()
    File &/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py&, line 891, in Load
    dict, e = self.__load(dbfile)
    File &/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py&, line 868, in __load
    fp = open(dbfile)
    IOError: [Errno 13] Permission denied: '/usr/local/cpanel/3rdparty/mailman/lists/aa_cpanel3.darkorb.net/config.db'

    With this message again I have to say it didn't work :)
     
  14. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    The directory lists was this.

    drwxrwsr-x 2 nobody banxchan 4096 Dec 2 22:41 aa_cpanel3.darkorb.net/
    drwxrwsr-x 2 mailman mailman 4096 Feb 12 17:00 circulation_itbiztoday.com/
    drwxrwsr-x 2 mailman mailman 4096 Feb 12 17:00 customers_nixhosting.com/

    I changed it to

    drwxrwsr-x 2 mailman banxchan 4096 Dec 2 22:41 aa_cpanel3.darkorb.net/
    drwxrwsr-x 2 mailman mailman 4096 Feb 12 17:00 circulation_itbiztoday.com/
    drwxrwsr-x 2 mailman mailman 4096 Feb 12 17:00 customers_nixhosting.com/

    Since the cpanel list was the only one owned by nobody I'm guessing that was the problem.
     
  15. WildWayz

    WildWayz Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    16
    aaaah

    it SHOULD read this....

    root@insomnia [/usr/local/cpanel/3rdparty/mailman]# ls -al
    total 72
    drwxrwsr-x 18 mailman mailman 4096 Dec 3 03:41 ./
    drwxr-xr-x 16 root root 4096 Feb 13 11:59 ../
    drwxrwsr-x 4 mailman mailman 4096 Jan 2 2001 archives/
    drwxrwsr-x 2 mailman mailman 4096 Feb 13 13:56 bin/
    drwxrwsr-x 2 mailman mailman 4096 Feb 13 13:56 cgi-bin/
    drwxrwsr-x 2 mailman mailman 4096 Feb 13 13:56 cron/
    drwxrwsr-x 2 mailman mailman 4096 Feb 13 13:56 data/
    drwxrwsr-x 2 mailman mailman 4096 Feb 13 13:56 filters/
    drwxrwsr-x 2 mailman mailman 4096 Feb 13 13:56 icons/
    drwxrwsr-x 8 mailman mailman 4096 Jan 14 2001 lists/
    drwxrwsr-x 2 mailman mailman 4096 Feb 13 16:09 locks/
    drwxrwsr-x 2 mailman mailman 4096 Dec 3 03:41 logs/
    drwxrwsr-x 2 mailman mailman 4096 Feb 13 13:56 mail/
    drwxrwsr-x 8 mailman mailman 4096 Feb 13 13:56 Mailman/
    drwxrwsr-x 2 mailman mailman 4096 Feb 13 16:08 qfiles/
    drwxrwsr-x 2 mailman mailman 4096 Feb 13 13:56 scripts/
    drwxrwsr-x 2 mailman mailman 4096 Jul 3 2000 spam/
    drwxrwsr-x 2 mailman mailman 4096 Feb 13 13:56 templates/


    sooooo

    su
    &enter password&
    cd /usr/local/cpanel/3rdparty/mailman
    chown -R mailman.mailman *

    Should be fine then - but just be sure that what I typed is correct first :D

    --James
     
Loading...

Share This Page