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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mail / Webmail not working

Discussion in 'E-mail Discussions' started by SageBrian, Jul 27, 2005.

  1. SageBrian

    SageBrian Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    415
    Likes Received:
    2
    Trophy Points:
    318
    Location:
    NY/CT (US)
    cPanel Access Level:
    Root Administrator
    Squirrelmail is throwing:

    Warning: session_write_close(): write failed: No space left on device (28) in /usr/local/cpanel/base/3rdparty/squirrelmail/src/redirect.php on line 158

    Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in /usr/local/cpanel/base/3rdparty/squirrelmail/src/redirect.php on line 158

    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/squirrelmail/src/redirect.php:158) in /usr/local/cpanel/base/3rdparty/squirrelmail/src/redirect.php on line 159

    ===============
    I wasn't getting any errors using simple POP, but I hadn't noticed I didn't get any mail this morning until someone told me they couldn't get into Squirrel.
    Horde doesn't show any mail in the inbox, though the boxes are not empty.

    Restarted all services. Even tried a reboot.... no change.

    Running:WHM 10.3.1 cPanel 10.4.0-E56

    Haven't done ANY updates since the weekend (Chirpy's great updates). All was working great till this morning. Odd.

    Any ideas?
    Thanks, Brian
     
  2. SageBrian

    SageBrian Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    415
    Likes Received:
    2
    Trophy Points:
    318
    Location:
    NY/CT (US)
    cPanel Access Level:
    Root Administrator
    more info

    horde seemed to work for me just now. tried to move some messages and got:
    Error writing scratch file: No space left on device

    assuming a full /tmp directory??
     
  3. SageBrian

    SageBrian Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    415
    Likes Received:
    2
    Trophy Points:
    318
    Location:
    NY/CT (US)
    cPanel Access Level:
    Root Administrator
    Oh great one, that Chirpy is.

    He assisted me in increasing my /tmp size to get rid of this issue.
    Then helped me figure out why MailWatch wasn't working after the 'fix'.

    Thanks Jonathan. I can now have my delayed breakfast. :)

    Brian
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,472
    Likes Received:
    20
    Trophy Points:
    463
    Location:
    Go on, have a guess
    My pleasure, glad you're back up and running and able to have breakfast now :)
     
  5. adept2003

    adept2003 Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    ~ "/(extra|special)/data"
    I'm having similar problems - what was the fix?

    All mail is going into mailscanners quarantine. The error message appears to be "mailscanner could not analyze message".

    When trying to update apache, i am getting an error "no space left on device: error writing to /tmp/...."

    I'm running mailscanner with clamav, which had been working fine ever since chirpy installed it for me.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,472
    Likes Received:
    20
    Trophy Points:
    463
    Location:
    Go on, have a guess
    That would seem to be the problem, i.e. your /tmp partition is full and needs to be cleared down.
     
  7. adept2003

    adept2003 Well-Known Member

    Joined:
    Aug 11, 2003
    Messages:
    283
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    ~ "/(extra|special)/data"
    cheers chirpy.

    just cleared the /tmp folder, and it appears to have sorted the mailscanner issue. unfortunatly not in time to prevent 500 email messages going into the quarantine folder.

    the /tmp folder is currently 253mb, and the issue occured when it was just 15% used. guess i'll have to make the /tmp partition larger...
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,472
    Likes Received:
    20
    Trophy Points:
    463
    Location:
    Go on, have a guess
    I would have though that those emails should have been queued and processed later.

    I've found on several servers of late that a /tmp partition of 256MB is simply not enough (esp. for logwatch) and a 1GB partition is needed in such cases.
     
Loading...

Share This Page