[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-1418741 ] snmptrapd does not open new log file after SIGHUP
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2006-01-30 16:15:37
Message-ID: E1F3bgn-0001OM-Eb () sc8-sf-web3 ! sourceforge ! net
[Download RAW message or body]

Bugs item #1418741, was opened at 2006-01-30 18:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1418741&group_id=12694

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: snmptrapd
Group: linux
Status: Open
Resolution: None
Priority: 5
Submitted By: velin (villyo)
Assigned to: Nobody/Anonymous (nobody)
Summary: snmptrapd does not open new log file after SIGHUP

Initial Comment:
I use snmptrapd version 5.2.1.2
started with these options:
--------------
/usr/sbin/snmptrapd -p /var/run/snmptrapd.pid -n -a -Lf
/var/log/snmptrapd.log
--------------

When I send -HUP signal it reloads the configuration
but does not open a new log file.

commands:
--------------------------
#cd /var/log/
#mv snmptrapd.log snmptrapd.log.old
#killall -HUP snmptrapd
#ls -l snmptrapd*
-rw-r--r--  1 root root       193 Jan 30 17:33
snmptrapd.log.old
--------------------------

This works with 
snmptrapsd -o /var/log/snmptrapd.log
 option, which it says shoud be deprecated:
--------------------------
Warning: -o option is deprecated; use -Lf <file> instead
--------------------------






----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1418741&group_id=12694


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic