Results 1 to 7 of 7
  1. #1

    /tmp create/write LINUX

    when i am trying to use php my admin i am getting

    #1 - Can't create/write to file '/tmp/#sql_bba_0.MYI' (Errcode: 30)

    when i am trying to delete a file from /tmp i am getting
    rm: cannot remove `sess_***': Read-only file system

    i have Linux box with cpanel,
    can some one help me to solve this issue ?

  2. #2
    Join Date
    Jul 2005
    New Jersey, US
    That is a problem with the drive or tmp mount. Without checking it there's not much that anyone can tell you. Sometimes rebooting resolves it but it should be checked by your datacenter first in case there is a more serious underlying problem.
    PlatinumServerManagement (also known as PSM)
    The OLDEST and LARGEST and MOST TRUSTED server management provider in the USA, with 15+ employees and growing!
    Providing quality support for OVER 18 years! Currently supporting over 3,000+ servers monthly! Proud member of the NJ BBB & Chamber of Commerce & Authorized cPanel Partner.

  3. #3
    Join Date
    Mar 2009
    Chicago, IL
    A read only filesystem is usually indicative of errors within the filesystem itself. You'll see busier webhosting machines put fs's into read only mode after enough dirty writes and general bad-mojo. This is the filesystems way of protecting itself from further corruption.

    Now there's a chance that this may just be the tmp directory that's messed up like this. You can always try creating your own tmp directory in your homedir and referencing that in your scripts.

    You might also attempt to upload a small file to your account. If that fails with the same error, you're going to need to fsck the affected partitions in order to correct it.

    Also since this is your personal machine, you can always just try to unmount /tmp/ and remount it and see if that clears it up.

    from a root shell...
     umount /tmp && mount /tmp

    Keep in mind after you do this you may need to restart MySQL as well in order for it to recreate it's socket (may and/or may not be in /tmp/).

  4. #4
    check your fstab and make sure your /tmp is rw

  5. #5
    Join Date
    Mar 2009
    Near You..
    Try umount /tmp and then mount /tmp from root shell and if it doesn't fix try running fsck /tmp partition after umounting and mount it again.

  6. #6
    Try to run:
    mount -o remount,rw /tmp

  7. #7
    Join Date
    Apr 2009
    Islamabad , pakistan
    You can check following link with respect to error you are facing.
    Aun Muhammad Raza
    Linux System Administrator
    Personal Web:

Similar Threads

  1. cannot create email in cpanel, failed disk write
    By UnrealSilence in forum Hosting Security and Technology
    Replies: 5
    Last Post: 04-05-2006, 05:58 AM
  2. Create a linux live CD?
    By scottg111 in forum Dedicated Server
    Replies: 2
    Last Post: 06-23-2005, 10:10 PM
  3. Can't create/write to file '/tmp!
    By Jackus in forum Hosting Security and Technology
    Replies: 5
    Last Post: 01-09-2005, 05:05 PM
  4. Write Linux Distro & software reviews - earn $$$.
    By jasonlambert in forum Other Offers & Requests
    Replies: 0
    Last Post: 08-12-2004, 07:59 PM
  5. Replies: 13
    Last Post: 08-26-2002, 02:38 PM

Posting Permissions

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