[Xorp-users] xorpsh: cannot save configuration

Timur Irmatov irmatov at gmail.com
Wed Jul 15 00:13:23 PDT 2009


Hi,


I am new to xorp and facing a problem with saving configuration file.
I have installed xorp-1.6 on Debian server into /usr/local/xorp
location. I have created xorp group, and started xorp_rtrmgr using
command /usr/local/xorp/bin/xorp_rtrmgr -b
/usr/local/xorp/etc/config.boot. config.boot file is empty. Then I
tried to start xorpsh, but then fail to save configuration to that
file:

$ sudo -u xorp /bin/xorpsh
Welcome to XORP on router
xorp at router> configure
Entering configuration mode.
There are no other users in configuration mode.
[edit]
xorp at router# save /usr/local/xorp/etc/config.boot
ERROR: Save failed.
File /usr/local/xorp/etc/config.boot exists, but an error occured when
trying to check that it was OK to overwrite it
File was NOT overwritten

xorp at router# save /usr/local/xorp/etc/config.boot2
Save done.
xorp at router#

Permissions:

$ ls -la /usr/local/xorp/etc
total 20
drwxrwsr-x  3 root xorp    40 2009-07-15 12:09 .
drwxr-sr-x 19 root staff 4096 2009-07-09 13:10 ..
-rw-rw-r--  1 xorp xorp     0 2009-07-10 12:32 config.boot
-rw-rw-r--  1 xorp xorp    34 2009-07-15 12:09 config.boot2
drwxr-sr-x  2 root staff 4096 2009-07-09 13:10 templates

I have searched google, but found nothing. Also I have tried to search
for string 'OK to overwrite' in xorp source tree to find out exacty
how this 'overwriteability' check is done, but only binaries match. I
am puzzled. What am I doing wrong?

Any hints are greatly appreciated!


-- 
Timur Irmatov, xmpp:irmatov at jabber.ru



More information about the Xorp-users mailing list