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

Edwin Schokkenbroek edwin at spacebugs.nl
Wed Aug 18 11:01:19 PDT 2010


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. 

edwin

> Another possibility is that you somehow have old xorp template files on your system?
> 
> If your xorpsh is up to date and still you see this problem, please post your xorp config file
> and I'll see if I can reproduce the problem on my bsd virtual machine.
> 
> Thanks,
> Ben
> 
> -- 
> Ben Greear <greearb at candelatech.com>
> Candela Technologies Inc  http://www.candelatech.com










More information about the Xorp-users mailing list