This section describes some of the ways to debug problems with the FTP server.
The FTP server writes messages that are useful for debugging to the location that is specified for daemon messages in the /etc/syslog.conf file. If a problem occurs with the FTP server, check this file first for such messages.
The FTP server messages are controlled by facility daemon and level information. To send messages from the FTP server to /var/adm/message and have syslogd reread its configuration file, follow these instructions:
# svcadm refresh system/system-log
This action causes informational messages from the FTP Sever to be written to /var/adm/messages.
To use the greeting text capability to check that the correct ftpaccess file is being used, do the following:
greeting text message
# strings /usr/sbin/in.ftpd | grep "^/.*ftpaccess"
To see what commands are being executed by FTP users, use the log commands logging capability in ftpaccess.