View Full Version : phpmyadmin
whitetigergrowl
Wed 23rd Aug '06, 12:34pm
Warning: session_write_close(): write failed: No space left on device (28) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 44
Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 44
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php:44) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 105
I get this now when I try to access phpmyadmin. How do I fix this? I'm on a dedicated server with ssh access.
As well, I have not been able to access my site via IP or URL since this happened.
orban
Wed 23rd Aug '06, 12:46pm
Your /tmp folder is full.
whitetigergrowl
Wed 23rd Aug '06, 12:58pm
How do I empty it? I know I have to go into ssh, but I still am kinda noobish on how to do that kinda stuff exactly in ssh. Is there a cron job through cpanel I can set up to have it auto empty it often?
orban
Wed 23rd Aug '06, 1:38pm
If the server is unmanaged I strongly advise you to buy a management package. Because it will just be a matter of time till you run into even bigger problems.
whitetigergrowl
Wed 23rd Aug '06, 1:40pm
That doesnt help me at this time. My site is unaccessible and I need help getting it back up and going.
Marco van Herwaarden
Wed 23rd Aug '06, 1:58pm
Often a reboot will cure a full /tmp directory.
Otherwise you will have to login to SSH, and manually remove unneeded files from that directory.
whitetigergrowl
Wed 23rd Aug '06, 2:09pm
Often a reboot will cure a full /tmp directory.
Otherwise you will have to login to SSH, and manually remove unneeded files from that directory.
I did a reboot, but it seems to only be a temporary fix. Literally for only minutes. This is the first time this has happened.
How do I access it in ssh and delete the files that I need to delete?
Zachery
Wed 23rd Aug '06, 2:18pm
Sounds like your harddrives are full... how much storage do you have available?
Marco van Herwaarden
Wed 23rd Aug '06, 2:20pm
I don't suggest you start to remove files unless you are sure what you are doing. Even on an unmanaged server, your hosting company often will be able to support you on this.
Also if the tmp directory is filling again immediate after a reboot, then this could indicate a rogue process running on your server. You would really need someone knowledgable to troubleshoot it if that is the case.
whitetigergrowl
Wed 23rd Aug '06, 2:29pm
Sounds like your harddrives are full... how much storage do you have available?
I have an 80 Gb server hard drive....not even half that is full. I have contacted my webhosting company and am awaiting a response.
Steve Machol
Wed 23rd Aug '06, 2:35pm
One of your partititions is full or near full. Run this at the command line:
df
whitetigergrowl
Wed 23rd Aug '06, 2:38pm
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 151628768 9774572 134151832 7% /
/dev/sda1 101086 11305 84562 12% /boot
none 257736 0 257736 0% /dev/shm
/usr/tmpDSK 495844 470243 1 100% /tmp
/tmp 495844 470243 1 100% /var/tmp
This is what it says. What do I have to do to fix or solve this?
Steve Machol
Wed 23rd Aug '06, 2:47pm
You're using 100% of the /usr/tmpDSK and /tmp directories. That's the problem, particularly the latter. You will need to clear out the /tmp directory.
whitetigergrowl
Wed 23rd Aug '06, 2:49pm
You're using 100% of the /usr/tmpDSK and /tmp directories. That's the problem, particularly the latter. You will need to clear out the /tmp directory.
How do I go about doing this?
What commands and such do I need to do?
Steve Machol
Wed 23rd Aug '06, 2:51pm
cd /tmp
rm *
Make sure first there is nothing in that directory you don't need. Generrally not but you can't be too careful.
whitetigergrowl
Thu 24th Aug '06, 12:38am
Thank you!!!!!! Your guy's support helped me fix this and get things back in working order. Your guys' support surpassed my webhosts. Now that says something. Again, thanks for everything!
Steve Machol
Thu 24th Aug '06, 1:44am
You're welcome. :)
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.