Operating System - HP-UX
1834742 Members
2868 Online
110070 Solutions
New Discussion

FTP messages in /var/adm/syslog/syslog.log

 
SOLVED
Go to solution
Tim Killinger
Regular Advisor

FTP messages in /var/adm/syslog/syslog.log

I am a new UX admin and we have a new application that is frequently cranking on FTP, and the following messages are filling up SYSLOG. Since this is an informational message only, is there a way to stop these messages from being logged so that it's easier to view SYSLOG for true problems?

Thanks!!


Oct 3 20:40:55 icgstx1 ftpd[13811]: FTP LOGIN FROM txcop1.cppltx.tel.gte.com [1
43.91.173.135], icgs
Oct 3 20:41:53 icgstx1 ftpd[13811]: FTP session closed
5 REPLIES 5
Jeff Schussele
Honored Contributor
Solution

Re: FTP messages in /var/adm/syslog/syslog.log

Hi Tim,

Look in you /etc/inetd.conf file - specifically for the ftp line & remove the -l (that's dash ell). That's what's causes the extended logging in syslog.log. Then run inetd -c to reread the file & make the change take affect.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
A. Clay Stephenson
Acclaimed Contributor

Re: FTP messages in /var/adm/syslog/syslog.log

Edit /etc/inetd.conf and locate the line containing ftpd. Remove the -l from the ftpd command and save the file. Next, inform inetd that you have made a change by issueing an inetd -c command. Man ftpd for details.
If it ain't broke, I can fix that.
Hari Kumar
Trusted Contributor

Re: FTP messages in /var/adm/syslog/syslog.log

Find the line in /etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd
dont pass -l or -v to that
Information is Wealth ; Knowledge is Power
Tim Killinger
Regular Advisor

Re: FTP messages in /var/adm/syslog/syslog.log

Simple and logical - I'm learning! Thanks guys!!!
Hari Kumar
Trusted Contributor

Re: FTP messages in /var/adm/syslog/syslog.log

Hi, I have started HP-UX with these

Read the book HP-UX System Administration Tasks, which can be found
at http://www.docs.hp.com/hpux/pdf/B2355-90672.pdf

Read the book Using HP-UX, which can be found at
http://www.docs.hp.com/hpux/pdf/B2355-90164.pdf

Learning alot from forums.............
Information is Wealth ; Knowledge is Power