How to see tftp logs in CentOS linux?

rodstevens
rodstevens used Ask the Experts™
on
How to see tftp logs in CentOS linux?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
On the net I've found this answer:
"You have to do the following in /etc/syslog.conf:
ftp.* /var/log/tftp"
but I'm hardly think it works (never heard of a syslog facility called ftp)

Alternatively,
I don't know it this page talks about the same tftp daemon in Centos, if it is, the -v -i options are your friends:
http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/cmds/aixcmds5/tftpd.htm
Most Valuable Expert 2015
Commented:
cd /var/log

grep tftp messages
Commented:
It may be that your tftp server isn't logging.  You can check for lines similar to the following in /etc/xinetd.d/tftp.  The "vvv" sets my tftp server to be fairly verbose.  Try setting your server to this, then running "/etc/init.d/xinetd restart" then check /var/log/messages as the previous answer states.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial