IRRd-Discuss
Date Prev | Date Next |
Date Index |
Thread Index |
Author Index |
Historical
Re: sh database returns nothing
- From: Vinay Kumar
- Date: Tue Dec 05 17:38:31 2000
Hi ,
to load the db i did the following. I copied the db file in a cache dir.
Then i ran the irrd daemon from the command line with the option
/usr/local/sbin/irrd -d /opt/irrdatabase -v
and then i ran this command
telnet 127.0.0.1 irrd
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
IRRd version 2.0.0 Alpha [08/22/2000]
No Access Verification
gupt Password: ******
gupt IRRd# sh database
Listening on port 43 (fd=7)
Memory-only indexing
Unknown Syntax, all DB's empty
Default Database Query Order:
Database Size (kb) Rt Obj AutNum Obj Serial # Last
Export #
------------- --------- ------ ---------- --------
-------------
TOTAL 0.0 0 0
gupt IRRd# conf t
Unrecognized Command: "conf t"
gupt IRRd# conf
gupt Config> irr_directory /usr/irrdatabase
gupt Config> irr_database radb
gupt Config>exit
gupt IRRd# sh database
Listening on port 43 (fd=7)
Memory-only indexing
Unknown Syntax, all DB's empty
Default Database Query Order: radb
Database Size (kb) Rt Obj AutNum Obj Serial # Last
Export #
------------- --------- ------ ---------- --------
-------------
TOTAL 0.0 0 0
gupt IRRd#
I also tried what yu mentioned in your mail. That is i copied the db
file into /var/tmp. Then ran the irrd.
telnet 127.0.0.1 43
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
!Bradb
Connection closed by foreign host.
Dec 5 14:30:32 [7] IRRD IRR connection from 127.0.0.1:9
Dec 5 14:31:44 [7] IRRD Command: !Bradb
Dec 5 14:31:44 [7] IRRD close (9) -> 0 in telnet.c at 411
Dec 5 14:31:44 [7] IRRD IRR Closing a connection from 127.0.0.1:9 (1
connections)
Dec 5 14:31:44 [7] IRRD thread IRR 127.0.0.1 exit
Dec 5 14:34:02 [5] UII command exit
that is what i got..
/vinay
Gerald Andrew Winters <gerald@merit.edu> [001205 13:53]:
> Hello Vinay,
>
> How did you do the reload? We have not documented this yet
> but if you used the !B command the usage has changed. To reload
> you can do it in the following ways:
> -Use the !B command (irrd expects the db file to be in the
> /var/tmp or in the temp dir you have defined in your
> irrd.conf file).
> -Do a cp from the command line into the DB cache and kill and
> restart irrd. (not recommended)
>
> I think the above is the problem. Let me know if this
> fixes things.
>
> --jerry
>
>
> >
> > Hi,
> >
> > I downloaded the radb.db.gz , unziped it in a dir. I reloaded the
> > database radb. When i telnet to the port 43 and run commands like
> > !as or !man it returns value. Make me think that it has loaded the radb.
> > But i don't see anything when i do "sh database".
> >
> > gupt IRRd# sh ver
> > 2.0.0 Alpha [08/22/2000]
> > gupt
> > SunOS 5.6 Generic_105181-20 sun4u
> > Compiled on Dec 4 2000
> > UP for 0.02 hours
> >
> > why is "sh database returning nothing ?
> >
> > thanks
> >
> > /vinay
> >
> >
--
Vinay Kumar
Backbone Engineer
408-346-2329
US-AS3967 UK-AS8709
|