- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp daemon writing to syslog
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
02-12-2004 07:52 AM
02-12-2004 07:52 AM
how do you stop the ftp daemon from writing informational messages to syslog.log?
Example:Feb 11 14:48:45 icgstx1 ftpd[27959]: icgroute of 112.64.85.9 [112.64.85.9] delet
ed /opt/app/data/dgn/tx8670/di0509b.wrk
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2004 08:01 AM
02-12-2004 08:01 AM
Re: ftp daemon writing to syslog
Look at your /etc/inetd.conf and search for ftpd. Make sure it is not enabled with -l option. If so, delete it and restart inetd with "inetd -c".
Then try ftp and see if it prints those mess
ages again.
-l for session logging
-v for debugging information
'man ftpd' for more information.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2004 08:03 AM
02-12-2004 08:03 AM
Re: ftp daemon writing to syslog
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2004 08:45 AM
02-12-2004 08:45 AM
Re: ftp daemon writing to syslog
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -u 111
no use of -l or -L
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2004 08:51 AM
02-12-2004 08:51 AM
Re: ftp daemon writing to syslog
enhanced logging can be toggled with the command inetd -l
Its like a light switch. I know of no way to discriminate by protocol.
Probably possible in syslogd.conf
Or is that Linux?
No, I am attaching mine. You may be able to manipulate this to direct ftp output to a separate file.
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
02-12-2004 08:57 PM
02-12-2004 08:57 PM
Re: ftp daemon writing to syslog
Indeed it's all or nothing.
But isn't it strange to see all these ftp messages in syslog?
* Has the inetd.conf file been changed recently without re-starting inetd?
* Do you have a /etc/ftpd/ftpaccess file?
According to the ftpd man-page logging may be specified there too.
HTH,
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 01:18 AM
02-13-2004 01:18 AM
SolutionHOWTO redirect ftp syslog entries from syslog.log to an ftp.log
change /etc/syslog.conf from:
mail.debug /var/adm/syslog/mail.log
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root
*.emerg *
to:
mail.debug /var/adm/syslog/mail.log
*.info;mail.none;local5.none /var/adm/syslog/syslog.log
local5.info;mail.none /var/adm/syslog/ftp.log
*.alert /dev/console
*.alert root
*.emerg *
then bounce syslogd using:
# sbin/init.d/syslogd stop
# sbin/init.d/syslogd start
-or-
# kill -HUP `cat /var/run/syslog.pid`
NOTE: Use