LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ldirectord does not start

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: ldirectord does not start
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 28 May 2003 18:30:21 +0900
On Wed, May 28, 2003 at 11:16:22AM +0200, Markus Markert wrote:
> Am Mittwoch, 28. Mai 2003 10:44 schrieb Horms:
> > On Wed, May 28, 2003 at 10:36:41AM +0200, Markus Markert wrote:
> > > hi,
> > >
> > > when i want start the ldirectord, the log say me this:
> > >
> > > [Wed May 28 10:35:09 2003|ldirectord] ldirectord is stopped for
> > > /etc/ha.d/ldirectord.cf
> > > [Wed May 28 10:35:09 2003|ldirectord] Exiting with exit_status 1:
> > > Initialisation Error
> > >
> > > anybody a answer or idea?
> >
> > Try running ldirectord in debuging mode, this may shed
> > some light on the problem.
> >
> > ldirectord -d ldirectord.cf start
> 
> now it shows me this:
> 
> 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.62 with pid: 15834
> Starting Linux Director v1.62 with pid: 15834
> DEBUG2: Running system(/sbin/ipvsadm -A -t 192.168.0.163:80 -s rr )
> Running system(/sbin/ipvsadm -A -t 192.168.0.163:80 -s rr )
> DEBUG2: Added virtual server: 192.168.0.163:80
> Added virtual server: 192.168.0.163:80
> DEBUG2: Running system(/sbin/ipvsadm -a -t 192.168.0.163:80 -r 127.0.0.1:80 
> -g 
> -w 1)
> Running system(/sbin/ipvsadm -a -t 192.168.0.163:80 -r 127.0.0.1:80 -g -w 1)
> DEBUG2: Added fallback server: 127.0.0.1:80 (0 x 192.168.0.163:80) (Weight 
> set 
> to 1)
> Added fallback server: 127.0.0.1:80 (0 x 192.168.0.163:80) (Weight set to 1)
> DEBUG2: Checking negotiate: real 
> server=negotiate:http:tcp:192.168.0.160:80:\/index\.html:ds10Testseite\ fuer\ 
> die\ Apache\-Installation\ auf\ dieser\ Web\ Site 
> (virtual=tcp:192.168.0.163:80)
> ldirectord ldirectord.cf received signal: Can't locate LWP/UserAgent.pm in 
> @INC (@INC contains: /usr/local/lib/perl5/5.8.0/i686-linux 
> /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/i686-linux 
> /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .) at 
> /usr/sbin/ldirectord line 1514.

You are missing LWP/UserAgent.pm which is part of the libwww-perl
perl module. I have packages for this and all of ldirectord's
dependancies available on ultramonkey.org.

Alternatively you can manually installed the dependancies from CPAN.
(Refer to the download directory on ultramonley.org for a guide
 to the modules needed).

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