TRAIN YARD SOFTWARE

Well-Known Member
Dec 20, 2001
222
0
316
What logs are there that can be deleted? also what is the correct comand line to delete these so server dont kick bucket from just deleting it. I know there is some special way to delete these but been so long I dont remember how.


Thankx
Ed

TYS
 

WeinBar

Well-Known Member
Aug 13, 2001
79
0
306
Go into /usr/local/apache/domlogs

type ls -alSH|more

and see what the largest log files are. Either delete them, or tar them up. You must now restart apache to clear the space out, otherwise it will not reset.
 

Curt

Well-Known Member
Oct 16, 2001
90
0
306
Before I delete any /usr/local/apache/domlogs I would like to understand what are they used for and will they just recreate again? Once they are gone what will now be changed?

Thansk!
 

Bravo

Well-Known Member
Oct 30, 2001
71
0
306
You can also move the log files to another drive (like the backup drive) and just create symlinks to them. I have done this and it works fine, of course if the b/u drive goes so do the log files, but I don't consider them critical.
 

NNNils

Well-Known Member
Sep 17, 2002
580
0
166
I have the same problem, my host then deleted the logs after which the server crashed.

What should I do to prevent it from crashing?
 

NNNils

Well-Known Member
Sep 17, 2002
580
0
166
By the way it tells me this:

Drive Critical: /sda3 (/var) is 92% full

So that's not /usr but /var!!!
 

Snowman30

Well-Known Member
PartnerNOC
Apr 7, 2002
679
0
316
cPanel Access Level
DataCenter Provider
I just go into domlogs and rm -rf * and that cleans it all up, but for some reason my /usr partition fills up in less that a week.
 

NNNils

Well-Known Member
Sep 17, 2002
580
0
166
Originally posted by Snowman30
I just go into domlogs and rm -rf * and that cleans it all up, but for some reason my /usr partition fills up in less that a week.
Try moving /usr/local/cpanel/logs/stats_log

That 'll help you out I guess.