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.

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:
    1
    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:
    1
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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
    
     
  4. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    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:
    1
    You the man, gonna give this a shot tonight when I have time to monitor.
     
Loading...

Share This Page