[Xorp-users] Some recent xorp.ct improvements. (Ben Greear)

Ben Greear greearb at candelatech.com
Wed Aug 18 11:05:44 PDT 2010


On 08/18/2010 11:01 AM, Edwin Schokkenbroek wrote:
>
> On Aug 18, 2010, at 7:17 PM, Ben Greear wrote:
>
>> On 08/18/2010 04:27 AM, Edwin Schokkenbroek wrote:
>>>
>>> On Aug 17, 2010, at 11:30 PM, Ben Greear wrote:
>>>
>>>> On 08/17/2010 01:00 PM, Edwin Schokkenbroek wrote:
>>>>
>>>>> Hmm not sure what is going on ... If I look in the log file I see the
>>>>> following messages:
>>>>>
>>>>> [ 2010/08/17 21:46:27.835350 ERROR xorp_rtrmgr:3761 LIBCOMM
>>>>> libcomm/comm_sock.c:163 comm_sock_bind4 ] Error binding socket (family =
>>>>> 2, my_addr = 1.0.0.127, my_port = 19999): Can't assign requested address
>>>>> [ 2010/08/17 21:46:27.837998 ERROR xorp_rtrmgr:3761 RTRMGR
>>>>> rtrmgr/main_rtrmgr.cc:297 run ] Can't assign requested address: a finder
>>>>> may already be running.
>>>>
>>>> Can you make sure you have a clean compile?  That looks like endian-ness issues
>>>> again.  Maybe rm -fr the 'obj' dir and rebuild fresh?
>>>
>>>
>>> I removed the obj directory, recompiled to source and I receive another error. This time the xorp_rtrtmgr seems to start. But xorpsh bails out. :
>>>
>>>   jexec R4 /usr/local/xorp/sbin/xorp_rtrmgr -b /root/chaos/vrd/edwin/R4/boot/config.boot -l /root/chaos/vrd/edwin/R4/var/R4.log -P /root/chaos/vrd/edwin/R4/var/run/xorp_rtrmgr.pid -d
>>>
>>>
>>> beastie# jexec R4 xorpsh
>>> [ 2010/08/18 13:16:29  ERROR xorpsh:4131 RTRMGR +906 xorpsh_main.cc main ] xorpsh exiting due to an init error: Shutting down due to a parse error: PARSE ERROR [line 11]: No template found in template map; Last symbol parsed was "local-dev"
>>> beastie#
>>> [ 2010/08/18 13:01:05  ERROR xorpsh:3972 RTRMGR +906 xorpsh_main.cc main ] xorpsh exiting due to an init error: Shutting down due to a parse error: PARSE ERROR [line 11]: No template found in template map; Last symbol parsed was "local-dev"
>>>
>>> Note sure why xorpsh bails out with a parse error.  The xorp_rtrmgr is running:
>>
>> That local_dev is something I added in (some time back), so it's possible I messed something up.
>> It has been working fine for me on Linux though.  Can you double-check you are using the xorpsh
>> that you just compiled and not some older version?
>>
>
> Need a very solid brick wall to bang my head against.  In the script I can switch between xorp versions. Due to a bug in the script.. the xorpsh var was not correctly adjusted. And so .. yes I was using old version of xorpsh against the latest version of xorp_rtrmgr.  I fixed this bugs .. and it works :-)
>
> Sorry for the noise.

No problem, I've done worse and I'm sure I will again :)

I do notice that buildbot is reporting bgp failures on
freebsd, though at first look, it appears to be a bug with
test harness and/or scons on bsd.

But, if you do see issues with bgp or any other xorp thing,
do let us know.

Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-users mailing list