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!

After running /scripts/securetmp/ and clearing tmp mysql failed

Discussion in 'General Discussion' started by Insyder, Jul 8, 2004.

  1. Insyder

    Insyder Member

    Joined:
    Jun 29, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    The ticket system seems down as I can't submit one.

    I ran /scripts/securetmp and then /tmp/ filled up.

    I didnt think and cleared tmp but then realized there was a symlink to mysql.sock in there.

    I tried recreating the symlink but no go. Any help on this?
     
  2. Insyder

    Insyder Member

    Joined:
    Jun 29, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    Ran update apache and its all better now. But how do I increase the size of /tmp now?
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    You can use this procedure that I put together:
    Code:
    /etc/init.d/chkservd stop 
    /etc/init.d/mysql stop 
    umount /var/tmp 
    umount /tmp 
    replace "256000" "512000" -- /scripts/securetmp 
    rm /usr/tmpDSK 
    /scripts/securetmp --auto 
    #wait until you get a Process Completed message 
    cd /tmp 
    ln -s /var/lib/mysql/mysql.sock 
    /etc/init.d/mysql start 
    /etc/init.d/chkservd start 
    df 
    
    # Add the following line before /scripts/securetmp to /etc/rc.d/rc.local 
    replace "256000" "512000" -- /scripts/securetmp
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    168
    Hey chirpy that is a clever way to address the issue.

    Thank you for sharing.
     
  5. Insyder

    Insyder Member

    Joined:
    Jun 29, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    You the man, gonna give this a shot tonight when I have time to monitor.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice