Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
Squirrel shows the errors below: Warning: session_start(): open(/tmp/sess_0b4a993815d68254606b8db69f89aebc, O_RDWR) failed: No space left on device (2 in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 295 Warning: session_start(): Cannot send session cookie - headers already ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Dec 2004
    Posts
    105

    /tmp problem / email issues too


    Squirrel shows the errors below:

    Warning: session_start():
    open(/tmp/sess_0b4a993815d68254606b8db69f89aebc, O_RDWR) failed: No space left on device (2 in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 295

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at
    /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:295)
    in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php
    on line 295

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at
    /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:295)
    in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php
    on line 295

    Warning: Cannot modify header information - headers already sent by (output started at
    /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:295)
    in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/i18n.php on line 280

    Warning: Cannot modify header information - headers already sent by (output started at
    /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:295)
    in /usr/local/cpanel/base/3rdparty/squirrelmail/src/login.php on line 50

    Warning: Cannot modify header information - headers already sent by (output started at
    /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:295)
    in
    /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/cpanel_auth/setup.php
    on line 25

    Horde shows:

    Warning: Unknown(): open(/tmp/sess_2ae2cf9d8defe5c843a862febea078a6, O_RDWR) failed: No space left on device (2 in Unknown on line 0

    Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0


    And a domain has problems receiving emails (451 error). All is fine: dns zone, mx entry and email existience. No forwarders, filters or redirects setup nor spam assassin enabled. Did a test from MSN to the emial account and it didn't work. Did a test from MSN to another free email provider and got it there instantly.

    Logged into root to reinstall exim and got this:

    -bash-2.05b$ su -
    Password:
    /tmp/RsqUZPRg: No space left on device
    root@server [~]# cd /tmp
    root@server [/tmp]# dir

    I did run /scripts/securetmp last night too. Could that cause it?

    cPanel 9.9.9 R-14
    Exim 4.x
    RHE 3.3.

    Server status all up

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    do you have /tmp on a seperate partion?
    also, what is the output of ls?

  3. #3
    Linux Newbie
    Join Date
    Dec 2004
    Posts
    105
    root@server [~]# ls
    ./ .cpan/ .gconfd/ public_html/
    ../ cpanel3-skel/ .gtkrc rkhunter/
    .accesshash cpanel-universal-install.sea installd/ .rkhunter.log
    .bash_history .cpcpan/ mail/ .rnd
    .bash_logout .cpmysqlrpm/ .my.cnf* .spamassassin/
    .bash_profile .cshrc .mysql_history .tcshrc
    .bashrc downloads/ .pgpass .viminfo
    chkrootkit-0.44/ ev1sbackup/ public_ftp/ .Xresources

    How do I check if /tmp is on a seperate partition?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Code:
    mount | grep tmp
    tell what that displays.
    -lakerdonald

  6. #5
    Linux Newbie
    Join Date
    Dec 2004
    Posts
    105
    root@server [~]# mount | grep tmp
    none on /dev/shm type tmpfs (rw)
    /usr/tmpDSK on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0)
    /tmp on /var/tmp type none (rw,noexec,nosuid,bind)

  7. #6
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    okay, yeah you have tmp on another partition.
    good, this will make it easier to see the problem.
    what does:
    Code:
    df /tmp
    say?
    -lakerdonald

  8. #7
    Linux Newbie
    Join Date
    Dec 2004
    Posts
    105
    root@server [~]# df /tmp
    Filesystem 1K-blocks Used Available Use% Mounted on
    /usr/tmpDSK 247919 159000 76119 68% /tmp


    Thanks so much for helping me. Your good

  9. #8
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    hm
    well unlike the error messages say, you still seem to have some room left on your /tmp partition.
    strange.
    well either way it wouldn't be the worst idea in the world to clean up in there. Go ahead and delete some older stuff that you don't need any more.
    -lakerdonald

  10. #9
    Linux Newbie
    Join Date
    Dec 2004
    Posts
    105
    What's a good way to tell which is old? I use Putty and I'm not familiar with so many commands that shows what is old or not.

  11. #10
    Linux Newbie
    Join Date
    Dec 2004
    Posts
    105
    I accidently removed mysql.sock

    How can I fix that?

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •