help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cfengine will not bind to specific ip address


From: christian pearce
Subject: Re: cfengine will not bind to specific ip address
Date: Wed, 21 Sep 2005 11:47:34 -0400

Can you run it with debugging turned on.  See if you get any useful
information.  I get the following:

...
Added Macro at hash address 4827 to object server with value
BindToInterface=192.168.184.142
...
GetMacroValue(server,BindToInterface)
ExpandVarstring($(BindToInterface))
ExtractInnerVarString(BindToInterface)) - syntax verify
Returning substring value BindToInterface
Scanning variable BindToInterface
GetMacroValue(server,BindToInterface)
Expansion gave (192.168.184.142)
$(BindToInterface) Expanded to 192.168.184.142
...
IPV4 address
sockaddr_ntop(192.168.184.142)
Bound to address 192.168.184.142 on linux=6
Listening for connections ...
Checking file updates on /var/cfengine/inputs/cfservd.conf (433179bf/43317aac)

My only other thought, is you might have a class above your
BindToInterface statement.  So you are not actually making use of the
value.  Try this:

    ipv4_192_168_184_142::
        BindToInterface = ( 192.168.184.142 )


On 9/12/05, trevor obba <address@hidden> wrote:
> I am running cfengine version 2.1.15 on suse SLES 9
> machine with two network interfaces, at the moment
> cfengine bind to 0.0.0.0
>
> I am trying to configure cfengine to bind to one on
> the ip address 171.75.64.50
>
> I modify cfservd.conf to include:
> BindToInterface = ( 171.75.64.50 )
>
> and then restart cfengine but when I issue netstat
> -an, it shows cfengine is still bind to 0.0.0.0
>
> netstat -an | grep 5308
> tcp        0      0 :::5308                 :::*
>              LISTEN
>
> the above netstat output show cfengine still binds to
> 0.0.0.0
>
> I also modify cfagent.conf to include
> BindToInterface = ( 171.75.64.50 )
> But cfengine still will not bind to 171.75.64.50
>
> what am I doing wrough?
> How can I make cfengine bind to 175.75.64.50
> Can you help? please
> Thanks
>
>
>
> ___________________________________________________________
> To help you stay safe and secure online, we've developed the all new Yahoo! 
> Security Centre. http://uk.security.yahoo.com
>
>
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-cfengine
>


--
Christian Pearce
Perfect Order, Inc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]