LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

ldirecotord failed to restart after changing checkinterval! pls help!! u

To: ultramonkey-users@xxxxxxxxxxxxxxx, lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: ldirecotord failed to restart after changing checkinterval! pls help!! urgent!!!!
From: Jiang <bearie66@xxxxxxxxx>
Date: Fri, 23 Jun 2006 20:21:23 +0800
Hi,

I tried to increase the check interval from 1s to 10s, but after that,
ldirecitord daemon disappeared, and nothing has been recorded in log
file. attached is the record I run it in debug mode.

***********************************************************
[root@ctestsrv1 init.d]# ldirectord -d /etc/ha.d/ldirectord.cf start
DEBUG2: Running exec(/usr/sbin/ldirectord -d /etc/ha.d/ldirectord.cf start)
Running exec(/usr/sbin/ldirectord -d /etc/ha.d/ldirectord.cf start)
DEBUG2: Starting Linux Director v1.77.2.32 with pid: 10790
Starting Linux Director v1.77.2.32 with pid: 10790
DEBUG2: Running system(./ipvsadm -A -t 10.226.193.250:80 -s rr )
Running system(./ipvsadm -A -t 10.226.193.250:80 -s rr )
Usage: ipvsadm
         {start|stop|restart|status|panic|save|reload|reload-force}
DEBUG2: system(./ipvsadm -A -t 10.226.193.250:80 -s rr ) failed:
system(./ipvsadm -A -t 10.226.193.250:80 -s rr ) failed:
DEBUG2: Added virtual server: 10.226.193.250:80
Added virtual server: 10.226.193.250:80
DEBUG2: Running system(./ipvsadm -A -t 10.226.193.230:8070 -s rr )
Running system(./ipvsadm -A -t 10.226.193.230:8070 -s rr )
Usage: ipvsadm
         {start|stop|restart|status|panic|save|reload|reload-force}
DEBUG2: system(./ipvsadm -A -t 10.226.193.230:8070 -s rr ) failed:
system(./ipvsadm -A -t 10.226.193.230:8070 -s rr ) failed:
DEBUG2: Added virtual server: 10.226.193.230:8070
Added virtual server: 10.226.193.230:8070
DEBUG2: Disabled server=10.226.193.189
DEBUG2: Disabled server=10.226.193.189
DEBUG2: Disabled server=10.226.193.190
DEBUG2: Disabled server=10.226.193.190
DEBUG2: Checking negotiate: real
server=negotiate:http:tcp:10.226.193.189:80:::\/ldirector\.html:lb
(virtual=tcp:10.226.193.250:80)
DEBUG2: check_http: url="http://10.226.193.189:80/ldirector.html";
virtualhost="some.domain.com.au"
LWP::UserAgent::new: ()
LWP::UserAgent::request: ()
LWP::UserAgent::send_request: GET http://10.226.193.189:80/ldirector.html
LWP::UserAgent::_need_proxy: Not proxied
LWP::Protocol::http::request: ()
LWP::Protocol::collect: read 3 bytes
LWP::UserAgent::request: Simple response: OK
DEBUG2: Running system(./ipvsadm -a -t 10.226.193.250:80 -r
10.226.193.189:80 -g -w 1)
Running system(./ipvsadm -a -t 10.226.193.250:80 -r 10.226.193.189:80 -g -w 1)
Usage: ipvsadm
         {start|stop|restart|status|panic|save|reload|reload-force}
DEBUG2: system(./ipvsadm -a -t 10.226.193.250:80 -r 10.226.193.189:80
-g -w 1) failed:
system(./ipvsadm -a -t 10.226.193.250:80 -r 10.226.193.189:80 -g -w 1) failed:
DEBUG2: Added real server: 10.226.193.189:80 ( x 10.226.193.250:80)
(Weight set to 1)
Added real server: 10.226.193.189:80 ( x 10.226.193.250:80) (Weight set to 1)
DEBUG2: Enabled server=10.226.193.189
DEBUG2: check_http: http://10.226.193.189:80/ldirector.html is up
DEBUG2: Checking negotiate: real
server=negotiate:http:tcp:10.226.193.190:80:::\/ldirector\.html:lb
(virtual=tcp:10.226.193.250:80)
DEBUG2: check_http: url="http://10.226.193.190:80/ldirector.html";
virtualhost="some.domain.com.au"
LWP::UserAgent::new: ()
LWP::UserAgent::request: ()
LWP::UserAgent::send_request: GET http://10.226.193.190:80/ldirector.html
LWP::UserAgent::_need_proxy: Not proxied
LWP::Protocol::http::request: ()
LWP::Protocol::collect: read 3 bytes
LWP::UserAgent::request: Simple response: OK
DEBUG2: Running system(./ipvsadm -a -t 10.226.193.250:80 -r
10.226.193.190:80 -g -w 1)
Running system(./ipvsadm -a -t 10.226.193.250:80 -r 10.226.193.190:80 -g -w 1)
Usage: ipvsadm
         {start|stop|restart|status|panic|save|reload|reload-force}
DEBUG2: system(./ipvsadm -a -t 10.226.193.250:80 -r 10.226.193.190:80
-g -w 1) failed:
system(./ipvsadm -a -t 10.226.193.250:80 -r 10.226.193.190:80 -g -w 1) failed:
DEBUG2: Added real server: 10.226.193.190:80 ( x 10.226.193.250:80)
(Weight set to 1)
Added real server: 10.226.193.190:80 ( x 10.226.193.250:80) (Weight set to 1)
DEBUG2: Enabled server=10.226.193.190
DEBUG2: check_http: http://10.226.193.190:80/ldirector.html is up
DEBUG2: Checking connect: real
server=connect:tcp:10.226.193.189:8070:::\/:
(virtual=tcp:10.226.193.230:8070)
DEBUG2: Disabled server=10.226.193.189
DEBUG3: Deactivated service 10.226.193.189:8070: Died at
/usr/sbin/ldirectord line 2000.
DEBUG2: Checking connect: real
server=connect:tcp:10.226.193.190:8070:::\/:
(virtual=tcp:10.226.193.230:8070)
DEBUG2: Disabled server=10.226.193.190
DEBUG3: Deactivated service 10.226.193.190:8070: Died at
/usr/sbin/ldirectord line 2000.
Alarm clock
***********************************************************
Any ideas? Many thanks!!!!!


--
Regards,
Jiang

<Prev in Thread] Current Thread [Next in Thread>