Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Sep 2006
    Location
    Bangkok, Thailand
    Posts
    21
    cPanel/Enkompass Access Level

    Root Administrator

    Exclamation mysql failed - i change size of /tmp /var/tmp use this command

    Linux Trustix 2.0 / WHM 10.8.0 cPanel 10.9.0-R10737
    mysql 4.0.27


    mysql service failed
    - /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! mysql has failed, please contact the sysadmin (result was "mysql has failed").

    postgressql failed
    - postgresql has failed, please contact the sysadmin (result was "postmaster is not running"). May 13 14:41:22 rack postgresql: failed May 13 14:41:23 rack postgresql: Starting postgresql service: failed

    i try restart service mysql and postgressql




    cd /dev
    dd if=/dev/zero of=tmpfile bs=1024 count=102400
    /sbin/mke2fs /dev/tmpfile
    mount -o loop,noexec,nosuid,rw /dev/tmpfile /tmp
    mount -o loop,noexec,nosuid,rw /dev/tmpfile /var/tmp

    NOW /tmp and /var/tmp size=99 MB but i want space more

    but /tmp and /var/tmp failed cannot create directory (Error Message : No space left on device)

    how to fixed it

    i must change size to more because i use eAccelerator it use /tmp 63 %

    and i use /scripts/fixmysql AND /scripts/fixeverything


    how to fixed

  2. #2
    Member
    Join Date
    Sep 2006
    Location
    Bangkok, Thailand
    Posts
    21
    cPanel/Enkompass Access Level

    Root Administrator

    Default i can fixed sucessful

    i sorry i find this
    http://forums.cpanel.net/showpost.ph...39&postcount=9

    and Fixed

    /bin/umount -l /tmp
    /bin/umount -l /var/tmp
    /bin/rm -fv /usr/tmpDSK

    /scripts/securetmp


    Thank : ServerTune

Similar Threads & Tags
Similar threads

  1. Increasing the size of /tmp
    By brendanrtg in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-21-2006, 04:25 AM
  2. increase tmp size
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-08-2005, 10:43 PM
  3. How can I delete /tmp and /var/tmp files?
    By Izkabola in forum E-mail Discussions
    Replies: 5
    Last Post: 01-02-2005, 04:25 AM
  4. After running /scripts/securetmp/ and clearing tmp mysql failed
    By Insyder in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-08-2004, 01:26 PM
  5. Hacks in /tmp and var/tmp
    By shellie in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-04-2003, 03:29 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube