From db-news at ripe.net Mon May 1 07:00:01 2006 From: db-news at ripe.net (DB Role Account) Date: Mon, 1 May 2006 07:00:01 +0200 Subject: FAQ table of contents Message-ID: <200605010500.k41501tv004718@penguin.ripe.net> FREQUENTLY ASKED QUESTIONS ABOUT THE RIPE DATABASE ================================================== The answer to these questions can be found at the RIPE website: http://www.ripe.net/info/faq/db/main.html http://www.ripe.net/info/faq/db/security.html http://www.ripe.net/info/faq/db/lir-partitioned.html http://www.ripe.net/info/faq/db/abuse.html RIPE Whois Database FAQ http://www.ripe.net/info/faq/db/main.html 1. What is the RIPE Database? 2. What is acceptable use of the RIPE Database? 3. What is a netname? 4. What is a nic-hdl? 5. Can I use a nic-handle from another Regional Internet Registry in the RIPE Database? 6. What is a tech-c and what is an admin-c? 7. Can I register a domain in the RIPE Database? 8. How do I register a person/role object in the RIPE Database ? 9. Someone has created a person object with my name, address, telephone number, etc. in the RIPE Database. Why did they do this? 10. My information in the database is not correct, can you please update my object(s)? 11. How do I delete an object from the RIPE Database? 12. My update failed. Please explain why it failed. 13. What are the authorisation rules for route object creation? 14. Which date should be used as "changed-date" in a whois database-object? 15. I received a message with the subject "Notification of RIPE Database changes", but I didn't do anything and don't understand the message. What is it? 16. Why does my phone number appear in the RIPE Database? 17. Can I download the RIPE Database software? 18. Can I download the RIPE Database? 19. I cannot find any information about a network in the RIPE Database. Can I look somewhere else? 20. When one uses the RIPE NCC whois client, is it necessary to specify"-h whois.ripe.net" or is that pre-set by default? 21. How do I register reverse-delegations in the RIPE Database? 22. I want to have an IP->country conversion table; from where can I get it? 23. I want to peer with an AS. How do I do this? 24. Can I enter several contacts in one Database object? 25. How do I update an object in the RIPE Whois Database? 26. I cannot create a route object because the origin AS refers to an aut-num object that does not exist 27. Is the "changed" line updated automtically? 28. Can I use a nic-handle from another database? 29. Where can I find more information about the RIPE Whois Database? RIPE Whois Database Security FAQ http://www.ripe.net/info/faq/db/security.html 1. I have objects in the RIPE Whois Database. How can I protect them ? 2. How do I create a maintainer (mntner) object in the RIPE Whois Database ? 3. I have only one person object in the RIPE Whois Database. Can I create a mntner object to protect it? 4. We lost the password of our mntner. Can you please change it to xxxx? 5. My mntner password does not work. Why not ? 6. How can I encrypt a password for my mntner using CRYPT-PW? 7. What encryption algorithm should be used for the crypted password in the "auth:" attribute of a mntner object ? 8. How to use the MD5-PW auth scheme in my mntner ? 9. Why is the crypted-password published in the RIPE Whois Database ? Why not keep it secret ? 10. What software do I need to use PGP? 11. How can I use PGP with my mail software? 12. Getting started with PGP in RIPE Whois Database 13. What is a key-cert object, and how can I create it? 14. How should I modify my maintainer to use PGP? 15. How can I sign my update with PGP and send it? 16. How can I put two or more signatures in a message? 17. Can I create a maintainer with only PGP authentication? 18. What is the size of PGP key that can be used in a key-cert object in the RIPE Whois Database? LIR-PARTITIONED: The New "Status:" Attribute Value FAQ http://www.ripe.net/info/faq/db/lir-partitioned.html 1. What is "LIR-PARTITIONED"? 2. When would the LIR-PARTITIONED "status:" value be used? 3. How is such an object created in the RIPE Whois Database? 4. How can I protect an LIR-PARTITIONED object? 5. Do I have to seek approval from the RIPE NCC before entering an LIR-PARTITIONED object into the RIPE Whois Database? 6. Can I request reverse delegation for an LIR-PARTITIONED inetnum object? 7. Can I use the LIR-PARTITIONED "status:" value in an inet6num object? From nicolae.ghimbovschi at gmail.com Sun May 28 09:44:08 2006 From: nicolae.ghimbovschi at gmail.com (Nicolae Ghimbovschi) Date: Sun, 28 May 2006 10:44:08 +0300 Subject: please help, can't start whoisserver Message-ID: <216403810605280044h44d3c7a5v2ec844d65496c544@mail.gmail.com> Hi everybody ! I'm a newbie in working with a whoisserver, and I can't start it, i get errors I have compiled and installed whoisserve-3.3.0 ,from RIPE site, under Fedora Core 5. #./build.sh --prefix=/opt/whoisd --disable-xmltest --disable-xslttest everything worked fine. But when I run to make the sample database I get errors. In files rip.conf.sample and sources.config.sample I have configured the following lines: in rip.conf.smaple RIPADMIN xmachine.fedora,3306,root,hello,RIPADMIN and in sources.conf.sample DATABASE SAMPLEDB host: xmachine.fedora port: 3306 trx_support: n user: root password: hello /DATABASE [root at xmachine bin]# ./make_db -c /opt/whois/conf/rip.config.sample -s SAMPLE -1 sqlhost=xmachine.fedora sqlport=3306 sqluser=root sqlpswd=hello sqldbname=SAMPLEDB npasses=1 = 10:27:16 Loading database [SAMPLEDB] (source [SAMPLE]) started = 10:27:16 Loading the database [SAMPLEDB] [see list in /dev/tty] *******************Sun May 28 10:27:17 EEST 2006****************** Creating tables\n Creating tables\n creating main database ERROR 1060 (42S21) at line 246: Duplicate column name 'interface_v6_lsp' creating RIPADMIN database Sun May 28 10:27:17 EEST 2006\n Making indexes\n ERROR 1146 (42S02) at line 1: Table 'SAMPLEDB.person_role' doesn't exist Sun May 28 10:27:18 EEST 2006\n Loading tables - 1 of 1 pass\n Sun May 28 10:27:18 EEST 2006 Loading /opt/whois/var/tmp/load/SAMPLE/sample.db.gz D: Making SQL connection to SAMPLEDB at xmachine.fedora ...OK starting processing stream Table 'SAMPLEDB.mntner' doesn't exist[SELECT object_id FROM mntner WHERE mntner='TEST-DBM-MNT' ] died: +315 modules/ud/ud_core.c ./load_all.sh: line 15: 3464 Done ${UNZIP1} ${object_file} 3465 | eval ${FILTER} 3467 Segmentation fault | $LOADER -L $1 -p ${PROPERTIES} -s ${SOURCE} *** ERROR: Loader failure [139]. Exiting\n ************** ERROR *************** *** 10:27:18 Error loading database=SAMPLEDB for source=SAMPLE, ./make_db exiting ************************************ ######################################################## ##when making an empty database I get the following ######################################################## [root at xmachine bin]# ./make_db -c /opt/whois/conf/rip.config.sample -s SAMPLE -0 sqlhost=xmachine.fedora sqlport=3306 sqluser=root sqlpswd=hello sqldbname=SAMPLEDB npasses=0 = 10:30:27 Loading database [SAMPLEDB] (source [SAMPLE]) started = 10:30:27 Loading the database [SAMPLEDB] [see list in /dev/tty] *******************Sun May 28 10:30:28 EEST 2006****************** Creating tables\n Creating tables\n creating main database ERROR 1007 (HY000) at line 1: Can't create database 'SAMPLEDB'; database exists ERROR 1060 (42S21) at line 246: Duplicate column name 'interface_v6_lsp' creating RIPADMIN database ERROR 1007 (HY000) at line 2: Can't create database 'RIPADMIN'; database exists Sun May 28 10:30:28 EEST 2006\n Making indexes\n ERROR 1146 (42S02) at line 1: Table 'SAMPLEDB.person_role' doesn't exist Sun May 28 10:30:28 EEST 2006\n Making more indexes\n Sun May 28 10:30:28 EEST 2006 creating indexes for aux tables ERROR 1146 (42S02) at line 4: Table 'SAMPLEDB.tech_c' doesn't exist Sun May 28 10:30:28 EEST 2006 creating indexes for leaf tables ERROR 1146 (42S02) at line 1: Table 'SAMPLEDB.names' doesn't exist Sun May 28 10:30:28 EEST 2006 saving CURRENTSERIAL=22 ERROR 1146 (42S02) at line 1: Table 'SAMPLEDB.serials' doesn't exist Finished Sun May 28 10:30:28 EEST 2006 = 10:30:29 Loading database [SAMPLEDB] (source [SAMPLE]) finished without errors ######################################################## ##when checking the database ######################################################## [root at xmachine bin]# ./whois-server -c /opt/whois/conf/rip.config.sample -p test.pid Configuration [/opt/whois/conf/rip.config.sample]: /opt/whois/log/riperr/riperrlog Check the DB Checking the Database [SAMPLEDB]...died: +230 modules/ud/ud_recover.c Segmentation fault [root at xmachine bin]# ./whoisd_start Starting whois-server daemon with configuration /opt/whois/conf/rip.config.sample from /opt/whois/bin ./whoisd_start: line 174: 3639 Segmentation fault $NOHUP_NICENESS $WHOISRIP -p $pid_file -c ${CONFIG} >>$err_log 2>&1 mv: cannot stat `core': No such file or directory ######################################### #from Error log: ######################################### Warning: undefined configuration variable: SAWFILE Warning: undefined configuration variable: RIR Error: Incomplete configuration file. Was this intended ??? 2 configuration variables undefined. died: +168 modules/sq/mysql_driver.c 060528 10:39:45 whoisd crashed & restarted\n/opt/whois/bin/whois-server -c /opt/whois/conf/rip.config.sample.q\n 060528 10:39:46 /opt/whois/bin/whois-server -p /opt/whois/bin/whois- server.pid -c /opt/whois/conf/rip.config.sample.q Configuration [/opt/whois/conf/rip.config.sample.q]: Warning: undefined configuration variable: SAWFILE Warning: undefined configuration variable: RIR Error: Incomplete configuration file. Was this intended ??? 2 configuration variables undefined. Mandatory variable(s) undefined <<<<<<<<<<<<<<< >>>>>>>>>>> Best Regards, Nicolae -------------- next part -------------- An HTML attachment was scrubbed... URL: From katie at ripe.net Mon May 29 16:23:20 2006 From: katie at ripe.net (Katie Petrusha) Date: Mon, 29 May 2006 16:23:20 +0200 Subject: [db-wg] please help, can't start whoisserver In-Reply-To: <216403810605280044h44d3c7a5v2ec844d65496c544@mail.gmail.com> References: <216403810605280044h44d3c7a5v2ec844d65496c544@mail.gmail.com> Message-ID: <20060529142320.GA31649@ripe.net> On Sun, May 28, 2006 at 10:44:08AM +0300, Nicolae Ghimbovschi wrote: Dear Nicolae, There is an error in the release version of SQL script to build the database. Please find the patch attached. > Hi everybody ! > I'm a newbie in working with a whoisserver, and I can't start it, i get > errors > > I have compiled and installed whoisserve-3.3.0 ,from RIPE site, under Fedora > Core 5. > #./build.sh --prefix=/opt/whoisd --disable-xmltest --disable-xslttest > everything worked fine. > > > But when I run to make the sample database I get errors. > > In files rip.conf.sample and sources.config.sample I have configured the > following lines: > in rip.conf.smaple > > RIPADMIN xmachine.fedora,3306,root,hello,RIPADMIN > > and in sources.conf.sample > > DATABASE SAMPLEDB > host: xmachine.fedora > port: 3306 > trx_support: n > user: root > password: hello > /DATABASE > > > [root at xmachine bin]# ./make_db -c /opt/whois/conf/rip.config.sample -s > SAMPLE -1 > sqlhost=xmachine.fedora sqlport=3306 sqluser=root sqlpswd=hello > sqldbname=SAMPLEDB > npasses=1 > > = 10:27:16 Loading database [SAMPLEDB] (source [SAMPLE]) started > > > = 10:27:16 Loading the database [SAMPLEDB] [see list in /dev/tty] > > *******************Sun May 28 10:27:17 EEST 2006****************** > Creating tables\n > Creating tables\n > creating main database > ERROR 1060 (42S21) at line 246: Duplicate column name 'interface_v6_lsp' > creating RIPADMIN database > Sun May 28 10:27:17 EEST 2006\n > Making indexes\n > ERROR 1146 (42S02) at line 1: Table 'SAMPLEDB.person_role' doesn't exist > Sun May 28 10:27:18 EEST 2006\n > Loading tables - 1 of 1 pass\n > Sun May 28 10:27:18 EEST 2006 Loading > /opt/whois/var/tmp/load/SAMPLE/sample.db.gz > D: Making SQL connection to SAMPLEDB at xmachine.fedora ...OK > starting processing stream > Table 'SAMPLEDB.mntner' doesn't exist[SELECT object_id FROM mntner WHERE > mntner='TEST-DBM-MNT' ] > > died: +315 modules/ud/ud_core.c > ./load_all.sh: line 15: 3464 Done ${UNZIP1} > ${object_file} > 3465 | eval ${FILTER} > 3467 Segmentation fault | $LOADER -L $1 -p ${PROPERTIES} -s > ${SOURCE} > *** ERROR: Loader failure [139]. Exiting\n > ************** ERROR *************** > *** 10:27:18 Error loading database=SAMPLEDB for source=SAMPLE, ./make_db > exiting > ************************************ > > > ######################################################## > ##when making an empty database I get the following > ######################################################## > > [root at xmachine bin]# ./make_db -c /opt/whois/conf/rip.config.sample -s > SAMPLE -0 > sqlhost=xmachine.fedora sqlport=3306 sqluser=root sqlpswd=hello > sqldbname=SAMPLEDB > npasses=0 > > = 10:30:27 Loading database [SAMPLEDB] (source [SAMPLE]) started > > > = 10:30:27 Loading the database [SAMPLEDB] [see list in /dev/tty] > > *******************Sun May 28 10:30:28 EEST 2006****************** > Creating tables\n > Creating tables\n > creating main database > ERROR 1007 (HY000) at line 1: Can't create database 'SAMPLEDB'; database > exists > ERROR 1060 (42S21) at line 246: Duplicate column name 'interface_v6_lsp' > creating RIPADMIN database > ERROR 1007 (HY000) at line 2: Can't create database 'RIPADMIN'; database > exists > Sun May 28 10:30:28 EEST 2006\n > Making indexes\n > ERROR 1146 (42S02) at line 1: Table 'SAMPLEDB.person_role' doesn't exist > Sun May 28 10:30:28 EEST 2006\n > Making more indexes\n > Sun May 28 10:30:28 EEST 2006 creating indexes for aux tables > ERROR 1146 (42S02) at line 4: Table 'SAMPLEDB.tech_c' doesn't exist > Sun May 28 10:30:28 EEST 2006 creating indexes for leaf tables > ERROR 1146 (42S02) at line 1: Table 'SAMPLEDB.names' doesn't exist > Sun May 28 10:30:28 EEST 2006 saving CURRENTSERIAL=22 > ERROR 1146 (42S02) at line 1: Table 'SAMPLEDB.serials' doesn't exist > Finished Sun May 28 10:30:28 EEST 2006 > > = 10:30:29 Loading database [SAMPLEDB] (source [SAMPLE]) finished without > errors > > ######################################################## > ##when checking the database > ######################################################## > [root at xmachine bin]# ./whois-server -c /opt/whois/conf/rip.config.sample -p > test.pid > Configuration [/opt/whois/conf/rip.config.sample]: > /opt/whois/log/riperr/riperrlog > Check the DB > Checking the Database [SAMPLEDB]...died: +230 modules/ud/ud_recover.c > Segmentation fault > > [root at xmachine bin]# ./whoisd_start > Starting whois-server daemon with configuration > /opt/whois/conf/rip.config.sample from /opt/whois/bin > ./whoisd_start: line 174: 3639 Segmentation fault $NOHUP_NICENESS > $WHOISRIP -p $pid_file -c ${CONFIG} >>$err_log 2>&1 > mv: cannot stat `core': No such file or directory > > ######################################### > #from Error log: > ######################################### > Warning: undefined configuration variable: SAWFILE > Warning: undefined configuration variable: RIR > Error: Incomplete configuration file. Was this intended ??? > > 2 configuration variables undefined. > > died: +168 modules/sq/mysql_driver.c > 060528 10:39:45 whoisd crashed & restarted\n/opt/whois/bin/whois-server -c > /opt/whois/conf/rip.config.sample.q\n > 060528 10:39:46 /opt/whois/bin/whois-server -p /opt/whois/bin/whois- > server.pid -c /opt/whois/conf/rip.config.sample.q > Configuration [/opt/whois/conf/rip.config.sample.q]: > Warning: undefined configuration variable: SAWFILE > Warning: undefined configuration variable: RIR > Error: Incomplete configuration file. Was this intended ??? > > 2 configuration variables undefined. > > Mandatory variable(s) undefined > > <<<<<<<<<<<<<<< >>>>>>>>>>> > > Best Regards, > Nicolae -- Katie Petrusha RIPE NCC -------------- next part -------------- Index: create.tables.sql.in =================================================================== RCS file: /srv/pubcvs/cvs/cvsroot/whoisserver/src/SQL/create.tables.sql.in,v retrieving revision 1.6 retrieving revision 1.8 diff -r1.6 -r1.8 252c253 < PRIMARY KEY (interface_v6_lsp,interface_v6_lsp,interface_v4,object_id) --- > PRIMARY KEY (interface_v6_msp,interface_v6_lsp,interface_v4,object_id)