LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 11:53 AM   #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, 12:14 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:32 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
Open Source Consulting | Domain Registration