LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2014, 08:27 AM   #16
dfeg
LQ Newbie
 
Registered: Dec 2014
Location: Ireland
Posts: 13

Original Poster
Rep: Reputation: Disabled

/crap$ ls -a /
. .. bin boot crap dev etc home initrd.img lib lib64 lost+found media mnt opt proc remove-dhcpd-conf.cgi?mac=52:54:00:05:F4:A9 root run sbin selinux srv sys tmp usr var vmlinuz
 
Old 12-31-2014, 10:35 AM   #17
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,686

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Quote:
remove-dhcpd-conf.cgi?mac=52:54:00:05:F4:A9 remove-dhcpd-conf.cgi?mac=52:54:00:05:F4:A9
I don't know what that is, but it has no place there. It could be an error posted to stdout, but that's unusual. You never moved tmp.
Code:
cd /
sudo mv tmp oldtmp
sudo mkdir tmp
sudo chmod 0777 /tmp
and, after that, to satisfy all curiosity
Code:
du -sh /tmp /oldtmp
 
Old 12-31-2014, 10:56 AM   #18
dfeg
LQ Newbie
 
Registered: Dec 2014
Location: Ireland
Posts: 13

Original Poster
Rep: Reputation: Disabled
i got to
Code:
sudo mkdir tmp
mkdir: cannot create directory `tmp': No space left on device
And here's from earlier on when I moved tmp

Code:
mv tmp crap
mv: cannot move `tmp' to `crap': Permission denied
dfeg@315558:/$ sudo mv tmp crap
[sudo] password for dfeg:
dfeg@315558:/$ install -dm 0777 tmp
install: cannot change permissions of `tmp': No such file or directory
dfeg@315558:/$ sudo install -dm 0777 tmp
install: cannot change permissions of `tmp': No such file or directory
 
Old 12-31-2014, 12:16 PM   #19
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,686

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Code:
sudo mkdir tmp
mkdir: cannot create directory `tmp': No space left on device
You are out of space on /. This bit of your earlier 'df -h' CLEARLY no longer applies.
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/vda3   49G   19G  27G  42%   /

Move tmp back - you need it. Make serious space on /. These commands also tell you what the space on / is

df -h /
du -sh /dev/vda3

Probably the best thing is to back up your stuff in /home, and delete large chunks of it. I don't know what you did in the past, but it just could be that somehow you have a 49G partition with a 19G filesystem, or some weird bios thing. The filesystem could be borked, and I would run e2fsck -fvy on it asap. You will need an install cd to boot from.
 
Old 01-02-2015, 04:53 AM   #20
dfeg
LQ Newbie
 
Registered: Dec 2014
Location: Ireland
Posts: 13

Original Poster
Rep: Reputation: Disabled
I've tried the following ant its still show space on / which is bizare because its must be a space problem.

Its been running fine for a year my guess is that i've set it up wrong in the first place and its finally caught up to me.

Code:
dfeg@315558:/$ df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda3        49G   17G   30G  36% /
dfeg@315558:/$ du -sh /dev/vda3
0       /dev/vda3


dfeg@315558:/$ df -h /dev/vda
Filesystem      Size  Used Avail Use% Mounted on
udev            490M  4.0K  490M   1% /dev
I've removed everything i can from the site directory so the space must be somewhere else on the system, I'll have a go at clearing space but if its not successful I'll add more storage to the vsp to see if i can kick start mysql to get a a latest backup of the database and then rebuild the server.
 
Old 01-02-2015, 06:21 AM   #21
dfeg
LQ Newbie
 
Registered: Dec 2014
Location: Ireland
Posts: 13

Original Poster
Rep: Reputation: Disabled
I've increased the vps by 10gb and sql started again, i'm in the process of backing everything up again but i'm fairly sure its only a mater of time before that 10g will fill up again. Is it possible that i'm logging to much.
 
Old 01-02-2015, 12:28 PM   #22
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,686

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Hooray for that. A disk space problem. No error? Mark this solved.
 
Old 01-02-2015, 01:32 PM   #23
dfeg
LQ Newbie
 
Registered: Dec 2014
Location: Ireland
Posts: 13

Original Poster
Rep: Reputation: Disabled
thanks for your help in the business_kid really appreciated.
is there any reason why apart from the error everything else said that there was plenty of space from the vps provider to the df -h /
 
Old 01-03-2015, 04:28 AM   #24
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,686

Rep: Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877Reputation: 877
Maybe tmp is limited in size. Try offloading the logs, and writing odd files in /tmp and ~/

For a 5 gig file
dd if=/dev/zero of=~/somefile bs=1000M count=5
rm ~/somefile

and repeat with tmp.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find file mysql/plugin.frm” when starting up MySQL byran cheung Linux - Software 1 01-11-2014 06:06 AM
Mysql not starting after changing mysql admin password in fedora prastal Linux - Newbie 1 02-20-2010 08:26 PM
Problem Starting MySQL on Fresh Fedora 8 Install w/ Yum'd MySQL blong4life Linux - Server 2 07-04-2008 08:44 PM
How to overcome the RPM "mysql-5.0.27-1.fc6" conflict with mysql database starting kamakshiganesh Linux - General 0 10-22-2007 08:07 AM
Starting MySQL OLD Error : imeout error occurred trying to start MySQL Daemon Fr33B5D Linux - Software 9 10-28-2006 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration