Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-21-2010, 02:43 PM   #1
Registered: Sep 2005
Posts: 60

Rep: Reputation: 15
Unhappy tftp-server on RHEL5 - How do I change logging for in.tftpd?

I've been going nuts on trying to send my tftpd logs to a separate file. My google-foo has failed me, so I must ask for help.

Simply put, tftpd is logging messages to /var/log/messages. I would like them to be logged in a separate file called /var/log/tftp/tftp.log. Even more specifically, all I'm really after is messages like the code below. Just to tell me if IP address was successful or not at getting a file:
Jun 21 14:26:46 bc1 in.tftpd[34123]: RRQ from filename
Here is my current /etc/xinetd.d/tftp file:

service tftp
        disable = no
        socket-type                = dgram
        protocol                   = udp
        wait                       = yes
        user                       = root
        server                     = /usr/sbin/in.tftpd
        server_args                = -s /tftpboot -v -v
        per_source                 = 11
        cps                        = 100 2
        flags                      = IPv4
I've tried adding the line, but the desired results did not occur:

log_type = FILE /var/log/tftp/tftp.log
Can anyone recommend what the proper method of utilizing another file for logging of an xinetd process?
Old 06-22-2010, 07:14 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,823

Rep: Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611Reputation: 611
How did you solve this?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SELinux is preventing in.tftpd (tftpd_t) "write" to my tftp server designlogicmedia Linux - Newbie 4 09-07-2009 11:30 AM
Can't find a tftpd server for Slack. gguthary Linux - Newbie 9 06-22-2009 05:50 AM
The differences between these pakages TFTP, TFTPD, or with -HPA? lifeforce4 Debian 2 06-06-2008 04:00 PM
in.tftpd: cannot get a Cisco client to tftp to my Slackware 12.0 server. Larus Linux - Server 1 05-21-2008 12:11 PM
TFTP logging in syslog.conf knitemare Red Hat 1 10-01-2007 11:05 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration