On PF web UI it shows snmptrapd is stopped. Everytime I click on "Start"
button packetfence.log gives me the following message:
Jun 08 23:44:13 httpd.admin(0) INFO: snmptrapd /usr/sbin/snmptrapd start
(pf::services::service_ctl)
Jun 08 23:44:13 httpd.admin(0) INFO: Generating configuration file for
snmptrapd (generate_snmptrapd_conf) (pf::services::service_ctl)
Jun 08 23:44:18 httpd.admin(0) INFO: generating
/usr/local/pf/var/conf/snmptrapd.conf
(pf::services::snmptrapd::generate_snmptrapd_conf)
Jun 08 23:44:18 httpd.admin(0) INFO: Starting snmptrapd with
'/usr/sbin/snmptrapd -n -c /usr/local/pf/var/conf/snmptrapd.conf -C -A -Lf
/usr/local/pf/logs/snmptrapd.log -p /usr/local/pf/var/run/snmptrapd.pid
-On' (pf::services::launchService)
Jun 08 23:44:18 httpd.admin(0) INFO: Daemon snmptrapd took 0.035 seconds to
start. (pf::services::launchService)
Jun 08 23:44:23 pfcmd.pl(18734) INFO: snmptrapd /usr/sbin/snmptrapd status
(pf::services::service_ctl)
Jun 08 23:44:23 pfcmd.pl(18734) INFO: pidof -x snmptrapd returned 0
(pf::services::getPidFromFile)
on the PF box I ran the following command and got the results like this:
[root@packetfence conf]# ps -ef | grep snmptrapd
root 15635 1 0 Jun02 ? 00:00:11 /usr/sbin/snmptrapd -n -c
/usr/l ocal/pf/var/conf/snmptrapd.conf -C
-A -Lf /usr/local/pf/logs/snmptrapd.log -p /u
sr/local/pf/var/run/snmptrapd.pid -On
root 18732 18682 0 23:44 pts/0 00:00:00 grep snmptrapd
root 18758 18742 0 23:51 pts/2 00:00:00 grep snmptrapd
[root@packetfence conf]# netstat -an | grep 162
udp 0 0 0.0.0.0:162 0.0.0.0:*
[root@packetfence conf]# pidof -x snmptrapd
15635
Looks like snmptrapd is running but how come on PF web UI it always shows
"stopped"?
Thank you.
Regards,
Jacky
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users