SYSLOG:ftp logging not working (Doc ID 1011717.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 8.0 to 10 8/11 U10 [Release 8.0 to 10.0]
All Platforms

Symptoms

Syslogd does log to some of the files listed in the syslog.conf.

Example 1: (Logging works for files other than /var/adm/ftp.log)

#grep local /etc/syslog.conf

local0.debug /tmp/data

# kill -1 `cat /var/run/syslog.pid`

syslogd: line #: unknown priority name "debug /tmp/data"

 

Example 2:

ftp logging not working.

Added -l to inetd.conf:

/usr/etc/in.ftpd -l

 

--Added syslog entry to log ftp daemon information:

#vi /etc/syslog.conf

daemon.info /var/adm/ftp.log

 

Receive this message when syslogd starts:

syslogd: /var/adm/ftp.log: no such file or directory

The file exists and has the correct permissions but still does not work.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms