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.

Exim Down - help!

Discussion in 'General Discussion' started by adapter, Feb 10, 2005.

  1. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    i have exim down and i cant restart it i get this error when start:

    touch: creating `/var/lock/subsys/exim': No space left on device

    my partition:

    Filesystem blocchi di 1K Usati Disponib. Uso% Montato su
    /dev/md0 1031768 300640 678716 31% /
    /dev/md1 98971 20924 72937 23% /boot
    /dev/md5 78854632 13522620 61326352 19% /home
    none 516488 0 516488 0% /dev/shm
    /dev/md2 1031768 20052 959304 3% /tmp
    /dev/md3 20642236 5001128 14592544 26% /usr
    /dev/md4 15481392 12035784 2659200 82% /var

    what can i do? it start only if i type rm -fr /var/spool/exim/msglog but after 1 hour it go down again

    thank you
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If the device is running out of space, but df is not showing it, the most common cause is that someone rotated some log files without restarting the relevant daemons. So, you should restart the services on your server (httpd, mysql, syslog, etc) to make sure that they're actually using the log files that are there for them.

    Additionally, have you checked your inode allocation?

    df -i
     
  3. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    df -i say:

    Filesystem Inode IUsati ILib. IUso% Montato su
    /dev/md0 131072 33607 97465 26% /
    /dev/md1 25584 59 25525 1% /boot
    /dev/md5 10027008 648560 9378448 7% /home
    none 129122 1 129121 1% /dev/shm
    /dev/md2 131072 275 130797 1% /tmp
    /dev/md3 2621440 105834 2515606 5% /usr
    /dev/md4 1966080 1966080 0 100% /var
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Well, there's your problem then:
    That's why you cannot create any more files. You need to have a look through /var and clean it up.
     
  5. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    I have clean a lot of logs files but i am in the same situation :(

    why only df -i show me that i use 100%?
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    When you deleted files in /var did you also restart any of the services that could have been using the? If not, then the inodes (and files) are still being used even though you've deleted their entry from the directory file.

    Without seeing the server, it's difficult to help more. You really need to read up on what inodes are and how to properly rotate log files, etc.
     
  7. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    yes i have also restart service and server :(
     
Loading...

Share This Page