Re: NRTM with RIPE db on debian


Dear Dietmar Staab

You need to sign a contract to get the NRTM update stream. Please
contact ripe-dbm@localhost for assistance with this.

Regards
Denis Walker
Business Analyst
RIPE NCC Database Group


Dietmar Staab wrote:
> Hi all,
>
> I'm trying to set up mirror of the RIPE - it works fine as I can send
> queries to my local ripe installation, but I failed to get the NRTM
> functionality.
>
> I've downloaded the ripe.db.gz and the import with the make_db.sh
> script was successful.
> I did some changes to the sample configuration files and the query to
> my local host returns results from the database.
>
> First question - is the NRTM functionality built in the ripe db
> installtion and configured inside the sources.config file or is it
> necessary to start another tool which does the updating process?
>
> The IP of the local server is registered and with the telnet example
> in the documentation I receive results of changed records.
>
> I'm running version 3.5.2 on debian lenny.
>
> When I start the whois server the output in the log is
>
> 090715 10:37:25 whois-server started
> 090715 10:37:25 /home/baseworks/projects/whoisserver/bin/whois-server
> -p /home/baseworks/projects/whoisserver/bin/whois_rip.pid -c
> /home/baseworks/projects/whoisserver/conf/rip.config.baseworks
> Configuration
> [/home/baseworks/projects/whoisserver/conf/rip.config.baseworks]:
> Whois  port: 43001
> Config port: 43002
> Mirror port: 43003
> *Running* as root, dropping privileges:
> Gid: 1000 Egid: 1000 Uid: 1000 Euid: 1000 .
> Check the DB
> Checking the Database [RIPE]...[OK]
>   STATUS: The Database is clean
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Loading the radix trees... done.
> Source [SRCRIPE] Mode STATIC
>
>
> I think the problem is that the mode is STATIC and *not* NRTM. I
> changed the opMode value in the sources.config file to all values
> which were given in the comment lines but nothing changes - on every
> start I get STATIC as mode.
>
> In the sources.config file I've made the definition for my database
> with a nrtm entry and the sources definition which was used for the
> import of the downloaded ripe.db snapshot.
>
> In my sources.config file the current settings are:
>
> DATABASE RIPE
> host:        localhost
> port:        3306
> trx_support: n
> user:        xxxx
> password:    xxxx
> /DATABASE
>
> NRTM RIPEMIRROR
> host:   whois.ripe.net
> port:   4444
> delay:  60
> protocolVersion: 1
> /NRTM
>
> SOURCE SRCRIPE
> database: RIPE
> opMode:   4
> updPort:  43004
> canupd:   y
> deflook:  y
> nrtm:     RIPEMIRROR
> /SOURCE
>
> May anyone give me a hint where I'm wrong or what is missing?
>
> TIA
>
> kind regards,
>  Dietmar
>