LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 06-21-2010, 03:43 PM   #1
don_wombat_73
Member
 
Registered: Sep 2005
Posts: 58

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:
Code:
Jun 21 14:26:46 bc1 in.tftpd[34123]: RRQ from 10.23.1.3 filename file.cm
Here is my current /etc/xinetd.d/tftp file:

Code:
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:

Code:
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, 08:14 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

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


Reply


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 12:30 PM
Can't find a tftpd server for Slack. gguthary Linux - Newbie 9 06-22-2009 06:50 AM
The differences between these pakages TFTP, TFTPD, or with -HPA? lifeforce4 Debian 2 06-06-2008 05:00 PM
in.tftpd: cannot get a Cisco client to tftp to my Slackware 12.0 server. Larus Linux - Server 1 05-21-2008 01:11 PM
TFTP logging in syslog.conf knitemare Red Hat 1 10-01-2007 12:05 PM


All times are GMT -5. The time now is 06:13 PM.

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