- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- syslog.log is getting too big
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 05:42 AM
08-04-2003 05:42 AM
I believe there is a parameter in /etc/inetd.conf for ftp to do with logging (-l option ?) but wondered if this was the best option and what else is available to properly monitor the syslog.
All help is rewarded !
Thankyou
Simon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 05:45 AM
08-04-2003 05:45 AM
Re: syslog.log is getting too big
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 05:49 AM
08-04-2003 05:49 AM
Re: syslog.log is getting too big
Once a week, cron does the following things for my on syslog
cp /var/adm/syslog/syslog.log /backups/syslog.log
gzip /backups/syslog.log
> /var/adm/syslog.log
logging is your first defense against hackers, I urge you to leave it on.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 05:49 AM
08-04-2003 05:49 AM
Re: syslog.log is getting too big
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 05:51 AM
08-04-2003 05:51 AM
Solution*.daemon /var/adm/syslog/daemon.log
This will write all the ftp messages to the daemon.log file. There will also be other messages from other daemon processes so you'll still have to sort through it, but it will make reading through the actual syslog.log file easier.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 05:52 AM
08-04-2003 05:52 AM
Re: syslog.log is getting too big
If 'ftpd' messages are a problem, drop the '-L' option from the 'etc/inetd.conf' spawn of the 'ftpd' daemon [and restart 'inetd'] or configure the 'etc/ftp/ftpaccess' file to specify a location for messages other than 'syslog'. See the man pages for 'ftpd(1M)' and 'ftpaccess(4)' for more details. Specifically note the 'log syslog+xferlog' option in 'ftpaccess'
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 05:53 AM
08-04-2003 05:53 AM
Re: syslog.log is getting too big
# @(#) $Revision: 74.1 $
#
# syslogd configuration file.
#
# See syslogd(1M) for information about the format of this file.
#
local5.info;mail.none /var/adm/syslog/ftp.log
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
You can point the ftp.log anywhere you want, doesnt have to be in /var if youre having space issues. We back ours up weekly then cp /dev/null to them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 05:56 AM
08-04-2003 05:56 AM
Re: syslog.log is getting too big
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 05:59 AM
08-04-2003 05:59 AM
Re: syslog.log is getting too big
HTH.
8c8,9
< *.info;mail.none /var/adm/syslog/syslog.log
---
> *.info;mail.none;daemon.none /var/adm/syslog/syslog.log
> daemon.* /var/adm/syslog/daemon.log