Hi All,

pname being the process name, when I try to run rtrmgr as below, I get an
init error.

I already added pname.tp to etc/templates. I also modified config.boot for
setting up all the parameters regarding pname (it actually has no parameters
to be configured). pname has no dependency by the way.

Here is the error I get :

>>./xorp_rtrmgr -b config.boot
created new heap in find_heap, ptr: 0x84e7bb8
[ 2008/06/02 06:03:42  ERROR xorp_rtrmgr:22293 RTRMGR main_rtrmgr.cc:330 run
] rtrmgr shutting down due to an init error: PARSE ERROR [Config File
config.boot, line 14]: No template found in template map; Last symbol parsed
was "pname"
Here is pname.tp file:

pname {
                targetname:             txt = "pname";
        }
pname {
        %modinfo: provides pname;
        %modinfo: path "pname/xorp_pname";
        %modinfo: default_targetname "pname";
        %modinfo:       status_method   xrl
"$(pname.targetname)/common/0.1/get_status->status:u32&reason:txt";
        %modinfo:       shutdown_method xrl
"$(pname.targetname)/common/0.1/shutdown";
        %mandatory: $(@.targetname);
        targetname {
                %set:;
        }
}

And here is config.boot (no need to set target name since it has a deault
one):

fea {
    unicast-forwarding4 {
        disable: false
        forwarding-entries {
            retain-on-startup: false
            retain-on-shutdown: false
        }
    }
}

pname {
}

Any ideas ?

Thanks.
_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to