LinuxQuestions.org
Review your favorite Linux distribution.
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 11-03-2004, 01:26 PM   #1
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 132

Rep: Reputation: 15
Angry X server gone ...


For 2 months my Linux webserver is running smoothly,
got Apache 2, PostgreSQL, Tomcat 4 working nicely ...

Until 5 minutes ago.
Out of the blue postgreSQL seems to give no result.
Reboot of the system results in a failure to load X server.
So I have a text box ...

While booting I see postgreSQL comming up ...
directly followed by a line su is shutting it down again or something.

Internet sharing seems to be working,
both Apache and tomcat works ...

Samba is gone ...

And for the moment my mind is gone too ...
Where to start, what to do ?
 
Old 11-03-2004, 02:01 PM   #2
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 132

Original Poster
Rep: Reputation: 15
ok
I figured out my data partition for postgreSQL is full ...
I'm running Mandrake 10.0
and I don't seem to be able to delete any files
(no permission, not as postgres user, not as root)
and still no X server ...

what to do ?
 
Old 11-03-2004, 02:05 PM   #3
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
if its a full partition, boot off a live cd and start deleting stuff.
 
Old 11-03-2004, 03:25 PM   #4
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 132

Original Poster
Rep: Reputation: 15
But ofcourse,

the question is HOW ?

I only have an installation cd ....

For the record,
again:
I'm a beginner, I wouldn't have a clue
 
Old 11-04-2004, 04:52 AM   #5
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 132

Original Poster
Rep: Reputation: 15
Can anybody help me ?

It seems to be the / partition that is full,
the problem is, I never save stuff there,
I have no clue what I can delete there
without damaging the system ...

Only 2 days ago I had 400 Mb left there ...
 
Old 11-04-2004, 07:58 PM   #6
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
you run a server and you dont know how to use knoppix?

/me shivers

download a live cd, such as knoppix or slax, and boot off it.

do something like this:

(first, do 'df' to make sure that's actually the problem).

then, do

du -hs /*

cd /whichever/was/the/biggest/

and repeat, untill you find it =]
 
Old 11-05-2004, 03:08 AM   #7
pelgrimforever
Member
 
Registered: Aug 2004
Location: Pelgrim"s home
Posts: 132

Original Poster
Rep: Reputation: 15
Yeah shiver :+)

I'm a programmer, so I know what I'm doing,
it's just I have the slightest interest in operating systems,
like most users, as long as it works and I can do my thing ...

So I wanted at home a 100% free web server with database and all,
so linux was the obvious choise, along with apache, tomcat, postgreSQL, ...

4 weeks of sweat and tears, a lot of surfing, asking,
and damn know well what I wanted, it was up and running.

My impression:
when it runs, it RUNS.
when it's messed up, it's messed up big time,
unless you know the system much better then an average user want too ...

Ok, the solution ...
be prepared to shiver some more ...
I moved some directories from /usr
so I could run X again.
In graphical mode it's much easier to get things organised and investigate ...

Those damn log files !
hundreds of Mb !
So it's solved, for now.

Next question is:
how do I get rid of all these log files ?
This is going to be nasty I suppose, every program, big or small,
seems to have it own logfiles ...

and they're not putted nicely in /var/log,
although I deleted 600MB ( !!! ) there,
and that's just a result of 2 months running ....
 
Old 11-05-2004, 04:39 PM   #8
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
try the du -sh stuff I said above...

and for the log files, look into log-rotate or similar. That will stop the logs piling up like that.
 
Old 11-08-2004, 12:41 PM   #9
chin_chill
LQ Newbie
 
Registered: Nov 2004
Posts: 10

Rep: Reputation: 0
sorry, maybe a stupid question, but....

can't you delete the files logged in as root in KDE or in console?
 
Old 11-09-2004, 08:29 PM   #10
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
he can. He did. 600MB worth. But theres more and he apparently doesnt know where they are...
 
  


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
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
Relay Server<-> GatewayServer<->filtering server: PostFix, amavis,spamassassin, cyrus admore Linux - General 0 11-02-2004 08:46 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Unable to access my ssh server and ftp server from the Internet, but smtp works foxone Linux - Networking 1 05-28-2004 05:17 PM
Linux app-server to server StarOffice to Windows Clients: Need advice biosx Linux - Networking 3 08-14-2002 10:14 AM


All times are GMT -5. The time now is 01:56 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