T txt3rob Verified User Joined Jan 16, 2007 Messages 101 Feb 28, 2008 #1 how can i empty all log files on the server i belive my server logs have really grown to much! i carnt start mysql and for some reason i carnt log in to DA :|
how can i empty all log files on the server i belive my server logs have really grown to much! i carnt start mysql and for some reason i carnt log in to DA :|
nobaloney NoBaloney Internet Svcs - In Memoriam † Joined Jun 16, 2003 Messages 24,977 Location California Feb 28, 2008 #2 If you really don't know how to remove a file, then are you sure you know they need removing? You remove log files the same way you use any other files, with the rm command from the shell. Jeff
If you really don't know how to remove a file, then are you sure you know they need removing? You remove log files the same way you use any other files, with the rm command from the shell. Jeff
P pirweb New member Joined Jan 7, 2007 Messages 3 Mar 12, 2008 #3 jlasman said: You remove log files the same way you use any other files, with the rm command from the shell. Click to expand... Did DirectAdmin recreate new log file when it was removed or renamed ? Thanks .
jlasman said: You remove log files the same way you use any other files, with the rm command from the shell. Click to expand... Did DirectAdmin recreate new log file when it was removed or renamed ? Thanks .
T txt3rob Verified User Joined Jan 16, 2007 Messages 101 Mar 12, 2008 #4 in the end i deleted them all and remade them things seem to of settled down now. thanks
X xciso Verified User Joined Mar 7, 2008 Messages 11 Dec 6, 2008 #5 Did DA create new log files? I need to empty one log file to. Did ju just run. erase /var/log/directadmin/"FILENAME" Thanks
Did DA create new log files? I need to empty one log file to. Did ju just run. erase /var/log/directadmin/"FILENAME" Thanks