cdp (pid XXX?) is not running ?
root@ [~]# /etc/init.d/cdp-agent status
/etc/init.d/cdp-agent status: cdp (pid 753?) not running
If you face this problem again, please check the log file
(/usr/sbin/r1soft/log/cdp.log), there you can fine the exact reason.
Here the error I have got is the following.
============
,[ERROR],[NO-CONNECTION],Exception from network
server: Address already in use
============
This happened when the port 1167 is in use. We can sort this issue
by using the following
If your Agent hang ! and is not restarting properly,
check Agent port is used by hcp demon
lsof -i :1167 #1167 default agent port
~]# lsof -i :1167
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
hcp_io/1/ 2250 root 8u IPv4 191316993 TCP *:1167 (LISTEN)
hcp_io/1/ 2256 root 8u IPv4 191316993 TCP *:1167 (LISTEN)
hcp_io/1/ 2257 root 8u IPv4 191316993 TCP *:1167 (LISTEN)
hcp_io/1/ 2258 root 8u IPv4 191316993 TCP *:1167 (LISTEN)
you see that hcp working so , you must stop hcp activity :
hcp -r /dev/hcp1 (/dev/hcp1 : example)
now ! you can restart agent easily :
/etc/init.d/cdp-agent restart
root@ [~]# /etc/init.d/cdp-agent status
/etc/init.d/cdp-agent status: cdp (pid 753?) not running
If you face this problem again, please check the log file
(/usr/sbin/r1soft/log/cdp.log), there you can fine the exact reason.
Here the error I have got is the following.
============
,[ERROR],[NO-CONNECTION],Exception from network
server: Address already in use
============
This happened when the port 1167 is in use. We can sort this issue
by using the following
If your Agent hang ! and is not restarting properly,
check Agent port is used by hcp demon
lsof -i :1167 #1167 default agent port
~]# lsof -i :1167
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
hcp_io/1/ 2250 root 8u IPv4 191316993 TCP *:1167 (LISTEN)
hcp_io/1/ 2256 root 8u IPv4 191316993 TCP *:1167 (LISTEN)
hcp_io/1/ 2257 root 8u IPv4 191316993 TCP *:1167 (LISTEN)
hcp_io/1/ 2258 root 8u IPv4 191316993 TCP *:1167 (LISTEN)
you see that hcp working so , you must stop hcp activity :
hcp -r /dev/hcp1 (/dev/hcp1 : example)
now ! you can restart agent easily :
/etc/init.d/cdp-agent restart
No comments:
Post a Comment