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 04-07-2004, 12:53 PM   #1
hiplainsdrifter
Member
 
Registered: Jan 2002
Location: Cape Elizabeth, Maine USA
Distribution: SuSE 9.01
Posts: 44

Rep: Reputation: 15
System Maintenance


I'm running SUSE 9.0 (Gnome desktop) as a Router/Frontend to a home network - I have Apache etc. set and all is running well....

I concerned about 2 things over time.

How to properly maintain system logs and system mail.


Are there specific generic system logs that I need to be checking to make sure they don't grow so large that they slow the system down?
Where and which ones should I be looking for?


On system mail is this a straight forward as dropping to a command line as root and typing in "mail" - or is there a gui function that I can use to check mail - or can I pick it up with my Ximian email?

Thanks
 
Old 04-07-2004, 01:14 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
If you installed Suse/apache (etc) out of the box, you do not have to worry about logfiles growing too large. Suse installs, configures and runs logrotate.

man logrotate
/etc/logrotate.conf
/etc/logrotate.d/*

If you compile/install programs yourself (not from the suse cd's) you might want to edit these files.

Most logfiles are placed in /var/log, but some programs keep their logfiles 'close' (apache2 puts them in /usr/local/apache2/logs by default).

Manually going thru your logfiles isn't the way you want to do checks. You could use a tool like logcheck to do the checking and mail you the results. There are a lot of these tools, I like this one myself.

http://linux.maruhn.com/sec/logcheck.html

If you want to change/edit the messages and the way they are distributed, take a look at:
man syslogd
man syslog.conf
/etc/syslog.conf
/etc/sysconfig/syslog

Hope this helps.
 
  


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
System maintenance FictionPimp Linux - Newbie 2 02-01-2005 03:04 PM
Basic system maintenance. mannymann Linux - Newbie 2 05-18-2004 12:19 AM
RCS for system maintenance Dark_Helmet Linux - Software 1 07-26-2003 08:07 PM
System maintenance tied2 Linux - General 1 07-03-2002 12:01 AM
system maintenance vicente Linux - Newbie 2 08-31-2001 05:34 PM


All times are GMT -5. The time now is 03:00 AM.

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