Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 ?
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 ...
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 ...
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 ....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.