Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

syslog messages 1

Status
Not open for further replies.

ivessm

Programmer
Nov 30, 2003
32
US
I have a ftp process that interfaces w a SCO OS5 server about twice a minute. The /etc/adm/syslog file is getting full of the following msgs:

Jul 2 10:25:34 cpuname ftpd[22611]: #2 open of pid file failed: No such file or directory
Jul 2 10:25:35 cpuname ftpd[24499]: #2 open of pid file failed: No such file or directory

I have researched trying to eliminate these msgs via the /etc/syslog.conf file but I can't figure out the proper syntax. I only want to eliminate these msgs and not any others that might go into the syslog file.

The current /etc/syslog.conf file reads:

*.debug /usr/adm/syslog

Any help would be appreciated.

Thank you.

stew
 
Have you tried man syslog.conf ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Yes, I did read man syslog.conf. That happens to be the sme info as in man syslog.

The line in the syslog.conf I tried was:
*.debug;ftp.none /usr/adm/syslog

When I did a kill -HUP `cat /etc/syslog.pid` the log said reinitializing but it didn't say restart after the reinitializing. Although the ftpd msgs stopped I think it was because syslog stopped all logging.

I am specifically trying to only stop the ftpd msgs and no others.

Any help is appreciated.

Thanks.

stew
 
Another update: I logged the complete session and find that the following error is displayed right after the user logs in:

Jul 2 10:25:34 cpuname ftpd[22611]: #2 open of pid file failed: No such file or directory

I'm now in the process of looking at the proper setup of the users login directory and /etc/passwd entries for ftp access.

If anyone has any hints I'm all ears.

Thanks.

stew


 
And thanks for taking the trouble to post back with the solution - too rare sometimes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top