From shane at ripe.net Tue Jun 1 10:28:51 2004 From: shane at ripe.net (Shane Kerr) Date: Tue, 01 Jun 2004 10:28:51 +0200 Subject: Help needed - RIPE database server In-Reply-To: <008a01c444c9$6170bc70$0e40c082@csp.it> References: <008a01c444c9$6170bc70$0e40c082@csp.it> Message-ID: <40BC3E43.6080700@ripe.net> Valentina Bruno wrote: > Hi, > we have installed and configured a RIPE Database server for private use. We have added mntner and person objects in the database by > email and it succeeded. > When we try to add new inetnum objects the creation failed even if the syntax check is passed. > The report is: In this case... > --- > Update FAILED: [inetnum] 193.42.141.0 - 193.42.141.255 > ***Error: Syntax error in object > > inetnum: 193.42.141.0 - 193.42.141.255 > netname: SPC-NETWORK > descr: Sistema Pubblico di Connettivit. > country: IT > admin-c: GF1-SPC > tech-c: RR1-SPC > status: ASSIGNED PA > mnt-by: SPC-DBM-MNT > changed: roberto.recchia at PU......WL(csp.it > ***Error: Syntax error in "roberto.recchia at PU......WL(csp.it" > source: SPC > > ----------------------------------------------------------- > > Could you help me please? The e-mail address on the "changed:" attribute is incorrect. It must be a valid e-mail address. Is it perhaps a non-ASCII domain name here? -- Shane Kerr RIPE NCC From db-news at ripe.net Tue Jun 1 07:00:01 2004 From: db-news at ripe.net (DB Role Account) Date: Tue, 1 Jun 2004 07:00:01 +0200 Subject: FAQ table of contents Message-ID: <200406010500.i51501JE011760@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/ripencc/faq/database GENERAL QUESTIONS What is the RIPE Database? Where can I get more information about the RIPE Database? What is acceptable use of the RIPE Database? What is a netname? What is a nic-hdl? What is a tech-c and what is an admin-c? Can I register a domain in the RIPE Database? Can I enter several contacts in one database object? Someone has created a person object with my name, address, telephone number, etc. in the RIPE Database. Why did they do this? My information in the database is not correct, can you please update my object(s)? 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? Why does my phone number appear in the RIPE Database??? Can I download the RIPE Database software? Can I download the RIPE Database? Can I gather e-mail addresses or personal information from the RIPE Database to send spam, or other types of commercial messages? HOW TO FIND OBJECTS IN THE RIPE DATABASE I cannot find any information about a network in the RIPE Database. Can I look somewhere else? Can I gather e-mail addresses or personal information from the RIPE Database to send spam, or other types of commercial messages? When one uses the RIPE NCC whois client, is it necessary to specify"-h whois.ripe.net" or is that pre-set by default? HOW TO PUT OBJECTS IN THE RIPE DATABASE (CREATING, UPDATING AND DELETING OBJECTS) How do I register a person/role object in the RIPE Database? How do I update an object in the RIPE Database? What are the authorisation rules for route object creation? I cannot creat a route object because the origin AS refers to an aut-num object that does not exist in the RIPE Database. What should I do? My update failed. Please explain why it failed. Is the "changed" line updated automatically? Can I use a nic-handle from another Regional Internet Registry in the RIPE Database? How do I delete an object from the RIPE Database ? PROTECTING YOUR OBJECTS IN THE RIPE DB I have objects in the RIPE Database. How can I protect them? How do I create a maintainer (mntner) object in the RIPE Database ? I have only one person object in the RIPE Database. Can I create a mntner object to protect it? We lost the password of our mntner. Can you please change it to xxxx? My mntner password does not work. Why not ? How can I encrypt a password for my mntner using CRYPT-PW? What encryption algorithm should be used for the crypted password in the "auth:" attribute of a mntner object ? How to use the MD5-PW auth scheme in my mntner ? Why is the crypted-password published in the RIPE Database ? Why not keep it secret ? What software do I need to use PGP? How can I use PGP with my mail software? Getting started with PGP in RIPE Database What is a key-cert object, and how can I create it? How should I modify my maintainer to use PGP? How can I sign my update with PGP and send it? How can I put two or more signatures in a message? Can I create a maintainer with only PGP authentication? What is the size of PGP key that can be used in a key-cert object in the RIPE Database? ADVANCED USE OF THE RIPE DATABASE How do I register reverse-delegations in the RIPE Database? I want to have an IP->country conversion table; from where can I get it? I want to peer with an AS. How do I do this? LIR-PARTITIONED: THE NEW "STATUS" ATTRIBUTE VALUE What is "LIR-PARTITIONED"? When would the LIR-PARTITIONED "status:" value be used? How is such an object created in the RIPE Database? How can I protect an LIR-PARTITIONED object? Do I have to seek approval from the RIPE NCC before entering an LIR-PARTITIONED object into the RIPE Database? Can I request reverse delegation for an LIR-PARTITIONED inetnum object? Can I use the LIR-PARTITIONED "status:" value in an inet6num object? SPAM, ABUSE AND THE RIPE DATABASE What is the RIPE NCC Copyright statement? I have evidence that someone is using a computer with the IP address x.x.x.x to send Unsollicited Commercial E-mail (UCE, so-called "spam") or is otherwise acting in an iresponsible manner. Can you stop him? (or how can I stop him?) Can I gather e-mail addresses or personal information from the RIPE Database to send spam, or other types of commercial messages? From roberto.recchia at csp.it Tue Jun 1 11:23:03 2004 From: roberto.recchia at csp.it (Roberto Recchia) Date: Tue, 01 Jun 2004 11:23:03 +0200 Subject: Help needed - RIPE database server In-Reply-To: <40BC3E43.6080700@ripe.net> References: <008a01c444c9$6170bc70$0e40c082@csp.it> <40BC3E43.6080700@ripe.net> Message-ID: <40BC4AF7.5010006@csp.it> Hello, I'm Roberto. Following there is the text that I sent to our DB: password: XXXXXX inetnum: 193.42.141.0 - 193.42.141.255 netname: SPC-NETWORK descr: Sistema Pubblico di Connettivit? country: IT admin-c: GF1-SPC tech-c: RR1-SPC status: ASSIGNED PA mnt-by: SPC-DBM-MNT changed: roberto.recchia at csp.it source: SPC The e-mail address is valid and it is in ASCII mode. The domain name is correct, but anyway we get always the same error. The scenario is the same also when I sent another e-mail address. It seems that the program find the string "PU......WL(" but this string doesn't exist on text email... Which is the system/application/script used by your db to transfer object email to sintax control application? In the Whois configuration file there are special flags to set ? Thanks in advance. Roberto Shane Kerr wrote: > Valentina Bruno wrote: > >> Hi, >> we have installed and configured a RIPE Database server for private >> use. We have added mntner and person objects in the database by >> email and it succeeded. >> When we try to add new inetnum objects the creation failed even if >> the syntax check is passed. >> The report is: > > > In this case... > >> --- >> Update FAILED: [inetnum] 193.42.141.0 - 193.42.141.255 >> ***Error: Syntax error in object >> >> inetnum: 193.42.141.0 - 193.42.141.255 >> netname: SPC-NETWORK >> descr: Sistema Pubblico di Connettivit. >> country: IT >> admin-c: GF1-SPC >> tech-c: RR1-SPC >> status: ASSIGNED PA >> mnt-by: SPC-DBM-MNT >> changed: roberto.recchia at PU......WL(csp.it >> ***Error: Syntax error in "roberto.recchia at PU......WL(csp.it" >> source: SPC >> >> ----------------------------------------------------------- >> >> Could you help me please? > > > The e-mail address on the "changed:" attribute is incorrect. It must > be a valid e-mail address. Is it perhaps a non-ASCII domain name here? > -- Ing. Roberto RECCHIA Network Manager & ICT Project Engineer CSP s.c. a r.l. _______________________________________________ Via Livorno, 60 - 10144 Torino [IT] Roberto.Recchia at csp.it Tel. +39 011 481 5112 - Mobile +39 348 6024505 Fax +39 011 481 5001 _______________________________________________ From katie at ripe.net Tue Jun 1 14:49:07 2004 From: katie at ripe.net (Katie Petrusha) Date: Tue, 1 Jun 2004 14:49:07 +0200 Subject: Help needed - RIPE database server In-Reply-To: <40BC4AF7.5010006@csp.it> References: <008a01c444c9$6170bc70$0e40c082@csp.it> <40BC3E43.6080700@ripe.net> <40BC4AF7.5010006@csp.it> Message-ID: <20040601124907.GC18836@ripe.net> On Tue, Jun 01, 2004 at 11:23:03AM +0200, Roberto Recchia wrote: Dear Roberto, Please have a look at the files log/upd/updlog. and log/ack/acklog.date These files have to be somewhere in your installation directory for the database software (see ACKLOG, UPDLOG variables from your rip.config file). Try to find your update message in there (updlog) and its reply (acklog). Make sure that updlog contains exactly what you have sent. It seems that your mailing software might have spoiled your update message. Please also make sure you send messages in the plain text format (to clearly see that your "changed:" line is correct. Katie Petrusha RIPE NCC > Hello, I'm Roberto. > > Following there is the text that I sent to our DB: > > password: XXXXXX > inetnum: 193.42.141.0 - 193.42.141.255 > netname: SPC-NETWORK > descr: Sistema Pubblico di Connettivit? > country: IT > admin-c: GF1-SPC > tech-c: RR1-SPC > status: ASSIGNED PA > mnt-by: SPC-DBM-MNT > changed: roberto.recchia at csp.it > source: SPC > > The e-mail address is valid and it is in ASCII mode. > The domain name is correct, but anyway we get always the same error. > The scenario is the same also when I sent another e-mail address. > It seems that the program find the string "PU......WL(" but this string > doesn't exist on text email... > Which is the system/application/script used by your db to transfer > object email to sintax control application? > In the Whois configuration file there are special flags to set ? > > Thanks in advance. > Roberto > > Shane Kerr wrote: > > >Valentina Bruno wrote: > > > >>Hi, > >>we have installed and configured a RIPE Database server for private > >>use. We have added mntner and person objects in the database by > >>email and it succeeded. > >>When we try to add new inetnum objects the creation failed even if > >>the syntax check is passed. > >>The report is: > > > > > >In this case... > > > >>--- > >>Update FAILED: [inetnum] 193.42.141.0 - 193.42.141.255 > >>***Error: Syntax error in object > >> > >>inetnum: 193.42.141.0 - 193.42.141.255 > >>netname: SPC-NETWORK > >>descr: Sistema Pubblico di Connettivit. > >>country: IT > >>admin-c: GF1-SPC > >>tech-c: RR1-SPC > >>status: ASSIGNED PA > >>mnt-by: SPC-DBM-MNT > >>changed: roberto.recchia at PU......WL(csp.it > >>***Error: Syntax error in "roberto.recchia at PU......WL(csp.it" > >>source: SPC > >> > >>----------------------------------------------------------- > >> > >>Could you help me please? > > > > > >The e-mail address on the "changed:" attribute is incorrect. It must > >be a valid e-mail address. Is it perhaps a non-ASCII domain name here? > > > > > -- > Ing. Roberto RECCHIA > Network Manager & ICT Project Engineer > > CSP s.c. a r.l. > _______________________________________________ > Via Livorno, 60 - 10144 Torino [IT] > Roberto.Recchia at csp.it > Tel. +39 011 481 5112 - Mobile +39 348 6024505 > Fax +39 011 481 5001 > _______________________________________________ > > From dosfrk at intnet.bj Tue Jun 1 20:28:08 2004 From: dosfrk at intnet.bj (dosfrk at intnet.bj) Date: Tue, 1 Jun 2004 19:28:08 +0100 (WAT) Subject: ripe whois database install Message-ID: <3107.81.91.225.139.1086114488.squirrel@mail.intnet.bj> Hi, I've got an error when attempt to run make_db script during ripe-dbase-3.2.0 installation: ./make_db -c /usr/local/whoisd/conf/rip.config.sample -s SAMPLE -1 Error: Non-existent database "SAMPLEDB" referenced !!! died: +792 ca_sourceLoader.c ************** ERROR *************** *** 18:31:02 unknown source SAMPLE ************************************ I made change in my source.sample file : DATABASE SAMPLEDB host: localhost port: 3306 trx_support: n user: whois_admin password: ******** /DATABASE Any ideas? Kind regards. From roberto.recchia at csp.it Tue Jun 1 16:03:42 2004 From: roberto.recchia at csp.it (Roberto Recchia) Date: Tue, 01 Jun 2004 16:03:42 +0200 Subject: Help needed - RIPE database server In-Reply-To: <20040601124907.GC18836@ripe.net> References: <008a01c444c9$6170bc70$0e40c082@csp.it> <40BC3E43.6080700@ripe.net> <40BC4AF7.5010006@csp.it> <20040601124907.GC18836@ripe.net> Message-ID: <40BC8CBE.9020400@csp.it> Below you can see the latest test report (the first part come from updlog.20040601, the second from acklog.20040601). In the report you can see: - the correct copy of e-mail sent to auto-dbm account; - the automatic reply with the "sploiled" string. Have you any idea???? Thanks. Roberto >>> time: Tue Jun 1 15:45:00 2004 MAIL UPDATE <<< From roberto.recchia at csp.it Tue Jun 1 15:44:37 2004 Return-Path: X-Original-To: auto-dbm at server-qxn.qxn.it Delivered-To: auto-dbm at server-qxn.qxn.it Received: from smtp-gw.csp.it (antares.csp.it [194.116.4.64]) by server-qxn.qxn.it (Postfix) with ESMTP id 3387D1DC for ; Tue, 1 Jun 2004 15:44:37 +0200 (CEST) Received: from 127.0.0.1 (localhost.csp.it [127.0.0.1]) by dummy.domain.name (Postfix) with SMTP id 01FBED54D6 for ; Tue, 1 Jun 2004 13:45:00 +0000 (GMT) Received: from 127.0.0.1 (localhost.csp.it [127.0.0.1]) by reinject.csp.it (Postfix) with SMTP id DB264D54D5 for ; Tue, 1 Jun 2004 13:44:59 +0000 (GMT) Received: from andromeda.intranet.csp.it (andromeda.intranet.csp.it [192.168.68.68]) by smtp-gw.csp.it (Postfix) with SMTP id 671A0D54D3 for ; Tue, 1 Jun 2004 13:44:58 +0000 (GMT) Received: (qmail 79256 invoked from network); 1 Jun 2004 13:44:58 -0000 Received: from recchia.csp.it (HELO csp.it) (130.192.64.3) by 0 with SMTP; 1 Jun 2004 13:44:58 -0000 Message-ID: <40BC885A.5050107 at csp.it> Date: Tue, 01 Jun 2004 15:44:58 +0200 From: Roberto Recchia Organization: CSP User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: auto-dbm at server-qxn.qxn.it Subject: E valentina paga la colazione!!!!!! Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on antares.csp.it X-Spam-DCC: Servercave: antares.csp.it 1183; Body=2 Fuz1=2 X-Spam-Status: No, hits=-4.5 required=4.5 tests=AWL,BAYES_00,PLING_PLING autolearn=no version=2.63 X-Spam-Level: Content-Transfer-Encoding: quoted-printable password: spc-qxn inetnum: 193.42.141.0 - 193.42.141.255 netname: SPC-NETWORK descr: Sistema Pubblico di Connettivit=E0 country: IT admin-c: GF1-SPC tech-c: RR1-SPC status: ASSIGNED PA mnt-by: SPC-DBM-MNT changed: roberto.recchia at csp.it source: SPC >>> Time: Tue Jun 1 15:45:00 2004 MAIL UPDATE ACK <<< From: csp at server-qxn.qxn.it To: roberto.recchia at csp.it Subject: FAILED: E valentina paga la colazione!!!!!! Reply-To: ripe-dbm at ripe.net > From: Roberto Recchia > Subject: E valentina paga la colazione!!!!!! > Date: Tue, 01 Jun 2004 15:44:58 +0200 > Reply-To: roberto.recchia at csp.it > Message-ID: <40BC885A.5050107 at csp.it> SUMMARY OF UPDATE: Number of objects found: 1 Number of objects processed successfully: 0 Create: 0 Modify: 0 Delete: 0 No Operation: 0 Number of objects processed with errors: 1 Create: 0 Modify: 0 Delete: 0 Syntax Errors: 1 DETAILED EXPLANATION: ***Warning: Invalid keyword(s) found: E, valentina, paga, la, colazione!!!!!! ***Warning: All keywords were ignored ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The following object(s) were found to have ERRORS: --- Update FAILED: [inetnum] 193.42.141.0 - 193.42.141.255 ***Error: Syntax error in object inetnum: 193.42.141.0 - 193.42.141.255 netname: SPC-NETWORK descr: Sistema Pubblico di Connettivit. country: IT admin-c: GF1-SPC tech-c: RR1-SPC status: ASSIGNED PA mnt-by: SPC-DBM-MNT changed: roberto.recchiPU......WL(a at csp.it ***Error: Syntax error in "roberto.recchiPU......WL(a at csp.it" source: SPC ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For assistance or clarification please contact: SPC Database Administration Katie Petrusha wrote: >On Tue, Jun 01, 2004 at 11:23:03AM +0200, Roberto Recchia wrote: > >Dear Roberto, > >Please have a look at the files >log/upd/updlog. >and >log/ack/acklog.date > >These files have to be somewhere in your installation directory for the database software (see ACKLOG, UPDLOG variables from your rip.config file). > >Try to find your update message in there (updlog) and its reply (acklog). >Make sure that updlog contains exactly what you have sent. It seems that your mailing software might have spoiled your update message. >Please also make sure you send messages in the plain text format (to clearly see that your "changed:" line is correct. > >Katie Petrusha >RIPE NCC > > > >>Hello, I'm Roberto. >> >>Following there is the text that I sent to our DB: >> >>password: XXXXXX >>inetnum: 193.42.141.0 - 193.42.141.255 >>netname: SPC-NETWORK >>descr: Sistema Pubblico di Connettivit? >>country: IT >>admin-c: GF1-SPC >>tech-c: RR1-SPC >>status: ASSIGNED PA >>mnt-by: SPC-DBM-MNT >>changed: roberto.recchia at csp.it >>source: SPC >> >>The e-mail address is valid and it is in ASCII mode. >>The domain name is correct, but anyway we get always the same error. >>The scenario is the same also when I sent another e-mail address. >>It seems that the program find the string "PU......WL(" but this string >>doesn't exist on text email... >>Which is the system/application/script used by your db to transfer >>object email to sintax control application? >>In the Whois configuration file there are special flags to set ? >> >>Thanks in advance. >>Roberto >> >>Shane Kerr wrote: >> >> >> >>>Valentina Bruno wrote: >>> >>> >>> >>>>Hi, >>>>we have installed and configured a RIPE Database server for private >>>>use. We have added mntner and person objects in the database by >>>>email and it succeeded. >>>>When we try to add new inetnum objects the creation failed even if >>>>the syntax check is passed. >>>>The report is: >>>> >>>> >>>In this case... >>> >>> >>> >>>>--- >>>>Update FAILED: [inetnum] 193.42.141.0 - 193.42.141.255 >>>>***Error: Syntax error in object >>>> >>>>inetnum: 193.42.141.0 - 193.42.141.255 >>>>netname: SPC-NETWORK >>>>descr: Sistema Pubblico di Connettivit. >>>>country: IT >>>>admin-c: GF1-SPC >>>>tech-c: RR1-SPC >>>>status: ASSIGNED PA >>>>mnt-by: SPC-DBM-MNT >>>>changed: roberto.recchia at PU......WL(csp.it >>>>***Error: Syntax error in "roberto.recchia at PU......WL(csp.it" >>>>source: SPC >>>> >>>>----------------------------------------------------------- >>>> >>>>Could you help me please? >>>> >>>> >>>The e-mail address on the "changed:" attribute is incorrect. It must >>>be a valid e-mail address. Is it perhaps a non-ASCII domain name here? >>> >>> >>> >>-- >>Ing. Roberto RECCHIA >>Network Manager & ICT Project Engineer >> >>CSP s.c. a r.l. >>_______________________________________________ >>Via Livorno, 60 - 10144 Torino [IT] >>Roberto.Recchia at csp.it >>Tel. +39 011 481 5112 - Mobile +39 348 6024505 >>Fax +39 011 481 5001 >>_______________________________________________ >> >> >> >> > > > > > -- Ing. Roberto RECCHIA Network Manager & ICT Project Engineer CSP s.c. a r.l. _______________________________________________ Via Livorno, 60 - 10144 Torino [IT] Roberto.Recchia at csp.it Tel. +39 011 481 5112 - Mobile +39 348 6024505 Fax +39 011 481 5001 _______________________________________________ From engin at ripe.net Wed Jun 2 10:05:27 2004 From: engin at ripe.net (Engin Gunduz) Date: Wed, 2 Jun 2004 10:05:27 +0200 Subject: ripe whois database install [NCC#2004060182] In-Reply-To: <3107.81.91.225.139.1086114488.squirrel@mail.intnet.bj> References: <3107.81.91.225.139.1086114488.squirrel@mail.intnet.bj> Message-ID: <20040602080527.GA23929@x47.ripe.net> dosfrk, There must be a problem in your configuration files. Could you please send your rip.config.sample and the source.config file that is mentioned in your rip.config.sample to ? Please remember to obfuscate the passwords in them. Regards, On 2004-06-01 19:28:08 +0100, dosfrk at intnet.bj wrote: > Hi, > I've got an error when attempt to run make_db script during > ripe-dbase-3.2.0 installation: > ./make_db -c /usr/local/whoisd/conf/rip.config.sample -s SAMPLE -1 > Error: Non-existent database "SAMPLEDB" referenced !!! > died: +792 ca_sourceLoader.c > ************** ERROR *************** > *** 18:31:02 unknown source SAMPLE > ************************************ > > I made change in my source.sample file : > DATABASE SAMPLEDB > host: localhost > port: 3306 > trx_support: n > user: whois_admin > password: ******** > /DATABASE > > Any ideas? > > Kind regards. -- Engin Gunduz RIPE NCC Software Engineering Department From dosfrk at intnet.bj Wed Jun 2 13:13:55 2004 From: dosfrk at intnet.bj (dosfrk at intnet.bj) Date: Wed, 2 Jun 2004 12:13:55 +0100 (WAT) Subject: ripe whois database install [NCC#2004060182] In-Reply-To: <20040602080527.GA23929@x47.ripe.net> References: <3107.81.91.225.139.1086114488.squirrel@mail.intnet.bj> <20040602080527.GA23929@x47.ripe.net> Message-ID: <3539.81.91.225.139.1086174835.squirrel@mail.intnet.bj> Thank Engin! These are config.sample files! regards > dosfrk, > > There must be a problem in your configuration files. > Could you please send your rip.config.sample and the > source.config file that is mentioned in your rip.config.sample > to ? > Please remember to obfuscate the passwords in them. > > Regards, > > On 2004-06-01 19:28:08 +0100, dosfrk at intnet.bj wrote: >> Hi, >> I've got an error when attempt to run make_db script during >> ripe-dbase-3.2.0 installation: >> ./make_db -c /usr/local/whoisd/conf/rip.config.sample -s SAMPLE -1 >> Error: Non-existent database "SAMPLEDB" referenced !!! >> died: +792 ca_sourceLoader.c >> ************** ERROR *************** >> *** 18:31:02 unknown source SAMPLE >> ************************************ >> >> I made change in my source.sample file : >> DATABASE SAMPLEDB >> host: localhost >> port: 3306 >> trx_support: n >> user: whois_admin >> password: ******** >> /DATABASE >> >> Any ideas? >> >> Kind regards. > > -- > Engin Gunduz > RIPE NCC Software Engineering Department > > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: sources.config.sample URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: rip.config.sample URL: From engin at ripe.net Wed Jun 2 15:39:11 2004 From: engin at ripe.net (Engin Gunduz) Date: Wed, 2 Jun 2004 15:39:11 +0200 Subject: ripe whois database install [NCC#2004060182] In-Reply-To: <3539.81.91.225.139.1086174835.squirrel@mail.intnet.bj> References: <3107.81.91.225.139.1086114488.squirrel@mail.intnet.bj> <20040602080527.GA23929@x47.ripe.net> <3539.81.91.225.139.1086174835.squirrel@mail.intnet.bj> Message-ID: <20040602133911.GF31796@x47.ripe.net> dosfrk, My best guess is: Your sql password is longer than 8 chars (which is the upper limit). If so, please set it to a password shorter than or equal to 8 chars, change it in your config, and retry. Please let me know of the result. Regards, On 2004-06-02 12:13:55 +0100, dosfrk at intnet.bj wrote: > Thank Engin! > These are config.sample files! > > regards > > > dosfrk, > > > > There must be a problem in your configuration files. > > Could you please send your rip.config.sample and the > > source.config file that is mentioned in your rip.config.sample > > to ? > > Please remember to obfuscate the passwords in them. > > > > Regards, > > > > On 2004-06-01 19:28:08 +0100, dosfrk at intnet.bj wrote: > >> Hi, > >> I've got an error when attempt to run make_db script during > >> ripe-dbase-3.2.0 installation: > >> ./make_db -c /usr/local/whoisd/conf/rip.config.sample -s SAMPLE -1 > >> Error: Non-existent database "SAMPLEDB" referenced !!! > >> died: +792 ca_sourceLoader.c > >> ************** ERROR *************** > >> *** 18:31:02 unknown source SAMPLE > >> ************************************ > >> > >> I made change in my source.sample file : > >> DATABASE SAMPLEDB > >> host: localhost > >> port: 3306 > >> trx_support: n > >> user: whois_admin > >> password: ******** > >> /DATABASE > >> > >> Any ideas? > >> > >> Kind regards. > > > > -- > > Engin Gunduz > > RIPE NCC Software Engineering Department > > > > > # Copyright (c) 2000 RIPE NCC > # > # All Rights Reserved > # > # Permission to use, copy, modify, and distribute this software and its > # documentation for any purpose and without fee is hereby granted, > # provided that the above copyright notice appear in all copies and that > # both that copyright notice and this permission notice appear in > # supporting documentation, and that the name of the author not be > # used in advertising or publicity pertaining to distribution of the > # software without specific, written prior permission. > # > # THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING > # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL > # AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY > # DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN > # AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF > # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. > > # Example sources.config > > # Any line that begins with a '#' is ignored. > # Blank lines are also ignored. > # Comments can only be at the beginning of a line. Currently, they > # cannot be inside a definition. > > # A definition begins with uppercase text. Currently, there are > # three types of definition object: DATABASE, NRTM (near-real-time > # mirror) and SOURCE. Each object is identified by a name which comes > # immediately after the object type and is on the same line. This > # name is also in uppercase text. > # > # Definitions end with / at the beginning of a line. > > # Currently, all variables are mandatory. E.g., in the definition > # of a SOURCE, "nrtm" must be present. Thus, a dummy definition of > # an NRTM may be necessary. > # > > > # This is the definition of a MySQL database, > # with all relevant data. > # > # Customise: > # sqlhost - the hostname of MySQL server > # 3306 - mysqld port > # trx_support - does the database support transactions? (values can be 'y' or 'n') > # dbuser - MySQL user name (use make_mysql_user) > # dbpsw - MySQL user password > DATABASE SAMPLEDB > host: localhost > port: 3306 > trx_support: n > user: whois_admin > password: ****** > /DATABASE > > # You can have more than one definition of a database: > # Remove comments if you plan to use it > # > #DATABASE YOURDB > #host: yourBox > #port: 3306 > #user: you > #password: yourPswd > #/DATABASE > > > # This is the definition of a near-real-time mirror client: > # > # host: the machine on which the server runs. > # port: the port number on which the mirror-server listens. > # delay: the delay (in seconds) between requests to the server for updates. > # protocolVersion: the version number of the NRTM protocol (typically 1). > # > NRTM SPIEGEL > host: mirror.server.net > port: 4444 > delay: 60 > protocolVersion: 1 > /NRTM > > # The definition of sources must always be after the definitions > # of databases and mirrors. However, databases and mirrors can > # be defined in any order. A source can use any predefined database > # or mirror. > # > > # Definition of source "TEST" > # > # database: It uses the "MYDB" database (defined above). > # opMode: Operation Mode. Its most frequently-used values are: > # 0 static snapshot (no updates possible) > # 2 update server (processes requests from DBupdate) > # 4 NRTM client. > # updPort: the update port, i.e. the port on which the RIP server listens for > # updates to this source via dbupdate. > # canupd: can this database be updated? (y/n) > # deflook: is this the default look-up source? (y/n) > # nrtm: the name of the near-real-time mirror used by this database (see above). > # > SOURCE SAMPLE > database: SAMPLEDB > opMode: 2 > updPort: 43004 > canupd: y > deflook: y > nrtm: SPIEGEL > /SOURCE > > # Definition of source "PRODUCTION" > # > # It uses the "YOURDB" database (defined above). > # Remove comments if you plan to use it > # > #SOURCE PRODUCTION > #database: YOURDB > #opMode: 2 > #updPort: 123456 > #canupd: y > #deflook: y > #nrtm: SPIEGEL > #/SOURCE > # Copyright (c) 2000 RIPE NCC > # > # All Rights Reserved > # > # Permission to use, copy, modify, and distribute this software and its > # documentation for any purpose and without fee is hereby granted, > # provided that the above copyright notice appear in all copies and that > # both that copyright notice and this permission notice appear in > # supporting documentation, and that the name of the author not be > # used in advertising or publicity pertaining to distribution of the > # software without specific, written prior permission. > # > # THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING > # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALL > # AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY > # DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN > # AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF > # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. > > > ## "Generic" configuration file for RIP. > ## There are quite a few variables to configure; > ## however, you can leave part of the variables > ## if you don't use a part of the software (e.g. dbupdate). > ## Please don't forget to also modify your $SOURCEFILE. > > > ###################### > ### > ### GENERIC VARIABLES > ### > ###################### > > # > # The directory where all sorts of lockfiles are kept > > LOCKDIR /usr/local/whoisd/var/lock > > > # > # The directory where all sorts of temporary files > # are kept. > # > # make sure that this directory is owned by the 'updating process' > # user and cannot be written by other users > > TMPDIR /usr/local/whoisd/var/tmp > > # > # Where is the RIPADMIN database > # Syntax: > # RIPADMIN MySQL_Host,MySQL_Port,MySQL_User,MySQL_Password,MySQL_RIPADMIN_DB > > RIPADMIN sqlhost,3306,dbuser,dbpsw,RIPADMIN > > # > # Location of the file containing the SOURCE variables > > SOURCEFILE /usr/local/whoisd/conf/sources.config.sample > > > ###################### > ### > ### LOGFILE DEFINITIONS > ### > ###################### > > ## These variables indicate base filenames; > ## the subdirectories have to be created manually beforehand. > > ## > ## Query log > ## > > QRYLOG /usr/local/whoisd/log/qry/qrylog > > ## > ## Error logs > ## > > # > # All dbupdate errors (only needed if you use dbupdate) > > DBUPERR /usr/local/whoisd/log/dbuperr/dbuperrlog > > # > # All whois_rip errors > > ALLRIPERR /usr/local/whoisd/log/riperr/riperrlog > > # > # Audit log: security-related messages > > RIPAUDIT /usr/local/whoisd/log/audit/auditlog > > # > # Mirroring log > > RIPMIRLOG /usr/local/whoisd/log/mirror/mirrorlog > > # > # Server log: all administration messages (startup, shutdown, etc) > # and errors > > RIPSVRLOG /usr/local/whoisd/log/svr/svrlog > > # > # SQL errors > > SQLOG /usr/local/whoisd/log/sql/sqlog > > # > # All update transactions are logged here > > RIPUPDLOG /usr/local/whoisd/log/ripupd/ripupdlog > > > ## > ## Update logs > ## You need them only if you use dbupdate > ## > > # > # The file where all update requests are logged > # It must be rotated externally if needed > > UPDLOG /usr/local/whoisd/log/upd/updlog > > # > # The file where all acknowledgements are logged > # It must be rotated externally if needed > > ACKLOG /usr/local/whoisd/log/ack/acklog > > # > # The file where all notifications are logged > # It must be rotated externally if needed > > NOTIFLOG /usr/local/whoisd/log/notif/notiflog > > # > # The file where all forwardings are logged > # It must be rotated externally if needed > > FORWLOG /usr/local/whoisd/log/forw/forwlog > > ###################### > ### > ### WHOISD VARIABLES > ### > ###################### > > # > # KEEPOPEN [not implemented yet] > # Keep connection open for at most KEEPOPEN seconds for > # network updates & whoisd '-k' keep connection open option > > KEEPOPEN 180 > > # > # Port for the whois server > > SVWHOIS_PORT 43001 > > # > # Port for the config interface > > SVCONFIG_PORT 43002 > > # > # Port for the mirroring server > > SVMIRROR_PORT 43003 > > > ########### > ## > ## Files > ## > > # > # Location of the help file printed in response > # to "whois help" queries > > PW_HELP_FILE /usr/local/whoisd/doc/WHOIS-HELP > > > ########### > ## > ## Access control > ## > > ## > ## In short, access control works in the following way: > ## the more you query, the more your "ACL points" grow, > ## until at a certain point you are blocked. > ## First temporarily, then permanently. > ## For temporary blocks, your points decay in time. > ## These variables configure the decay time. > > ## (You probably don't want to change these variables). > > # > # Interval of the decay (in seconds) > > AC_DECAY_INTERVAL 600 > > # > # Halflife of the decay (in seconds) > > AC_DECAY_HALFLIFE 43200 > > # > # auto save of access tree > > AC_AUTO_SAVE 1 > > # > # Startup loading of access tree data stored on persistence > > AC_LOAD 1 > > # > # Interval of making persistence (in seconds) > > AC_SAVE_INTERVAL 1200 > > > ########### > ## > ## Response texts > ## > > ## The only things you need to change here are the > ## pointers to your own URLs and specific site-related information. > > # > # Banner. This text comes out before the query is answered. > > PW_BANNER % This is the MyDB Whois server. > > # > # Standard response header > > PW_RESP_HEADER % Rights restricted by copyright. > PW_RESP_HEADER % See http://www.mydb.net/db/copyright.html > > # > # Access control limit reached > > PW_FMT_LIMIT_REACHED %%ERROR:202: access control limit reached for %s > PW_FMT_LIMIT_REACHED %% > PW_FMT_LIMIT_REACHED %% You have reached the limit of returned contact information objects. > PW_FMT_LIMIT_REACHED %% This connection will be terminated now. > PW_FMT_LIMIT_REACHED %% Continued attempts to return excessive amounts of contact > PW_FMT_LIMIT_REACHED %% information will result in permanent denial of service. > PW_FMT_LIMIT_REACHED %% Please do not try to use CONTACT information in > PW_FMT_LIMIT_REACHED %% My Database for non-operational purposes. > PW_FMT_LIMIT_REACHED %% Refer to http://www.mydb.net/db/copyright.html for more information. > > # > # Access denied permanently > > PW_FMT_ACL_PERMDENY %%ERROR:201: access denied for %s > PW_FMT_ACL_PERMDENY %% > PW_FMT_ACL_PERMDENY %% Sorry, access from your host has been permanently denied > PW_FMT_ACL_PERMDENY %% because of a repeated abusive behaviour. > PW_FMT_ACL_PERMDENY %% Please contact for unblocking. > > # > # Too many connections from the host > > PW_FMT_ACL_CONNDENY %%ERROR:208: connection refused for %s > PW_FMT_ACL_CONNDENY %% > PW_FMT_ACL_CONNDENY %% Sorry, your connection is refused. > PW_FMT_ACL_CONNDENY %% Too many simultaneous connections from your host. > > ## > ## You don't need to change the following response texts > ## > > # > # No key supplied in query > > PW_ERR_NOKEY %ERROR:106: no search key specified > PW_ERR_NOKEY % > PW_ERR_NOKEY % No search key specified > > # Line too long > > PW_ERR_LINETOOLONG %ERROR:107: input line too long > PW_ERR_LINETOOLONG % > PW_ERR_LINETOOLONG % Input exceeds the maximum line length. > > # > # For data retrieved with the "-K" flag > > PW_K_FILTER % Note: this output has been filtered. > PW_K_FILTER % Only primary keys will be visible. > PW_K_FILTER % Contact information will not be shown > > # > # User is not authorised to pass IP addresses with "-V" flag > > PW_FMT_ACL_ADDRPASS %%ERROR:203: address passing not allowed for %s > PW_FMT_ACL_ADDRPASS %% > PW_FMT_ACL_ADDRPASS %% Sorry, you are not allowed to pass addresses on the query line . > PW_FMT_ACL_ADDRPASS %% Please contact us for such permission. For the moment, continuing > PW_FMT_ACL_ADDRPASS %% this will cause permanent denial of access. > > # > # No object found > > PW_NOTFOUND %ERROR:101: no entries found > PW_NOTFOUND % > PW_NOTFOUND % No entries found in the selected source(s). > > # > # The connection is administratively or abnormally closed > > PW_CONNCLOSED %ERROR:301: connection has been closed > PW_CONNCLOSED % > PW_CONNCLOSED % The connection has been closed. > > # > # Unknown attribute in query > > QC_FMT_BADATTR %%ERROR:104: unknown attribute > QC_FMT_BADATTR %% > QC_FMT_BADATTR %% "%s" is not a known attribute. > > # > # The attribute specified is not inverse searchable > > QC_FMT_ATTRNOTINV %%ERROR:105: attribute is not searchable > QC_FMT_ATTRNOTINV %% > QC_FMT_ATTRNOTINV %% "%s" is not an inverse searchable attribute. > > # Illegal character in query > > QC_BADINPUT %ERROR:108: bad character in input > QC_BADINPUT % > QC_BADINPUT % An invalid character was passed in the query. Allowed > QC_BADINPUT % characters are letters, numbers, and these: -_:+=.,@/?'. > > # > # There is no such source > > QC_FMT_BADSOURCE %%ERROR:102: unknown source > QC_FMT_BADSOURCE %% > QC_FMT_BADSOURCE %% "%s" is not a known source. > QC_FMT_BADSOURCE %% Use "-q sources" to list known sources. > > > # > # There is no such object type > > QC_FMT_BADOBJTYPE %%ERROR:103: unknown object type > QC_FMT_BADOBJTYPE %% > QC_FMT_BADOBJTYPE %% "%s" is not a known object type. > QC_FMT_BADOBJTYPE %% Use "-q types" to list known object types. > > # > # Multiple "-V" flags were used to pass IP addresses > > QC_DUPPROXYIPFLAG %ERROR:205: multiple addresses passed by proxy > QC_DUPPROXYIPFLAG % > QC_DUPPROXYIPFLAG % More than one -V flag passed the address of a client. > QC_DUPPROXYIPFLAG % This is an error in the proxy server. Please contact > QC_DUPPROXYIPFLAG % the administrator of the server and report this error. > > # > # Duplicate IP flags > QC_FMT_DUPIPFLAG %%WARNING:901: duplicate IP flags passed > QC_FMT_DUPIPFLAG %% > QC_FMT_DUPIPFLAG %% More than one IP flag (-l, -L, -m, -M, -x, or -c) passed to the server. > QC_FMT_DUPIPFLAG %% Only "-%s" will be used for this query. > > # > # Useless IP flags > > QC_USELESSIPFLAG %WARNING:902: useless IP flag passed > QC_USELESSIPFLAG % > QC_USELESSIPFLAG % An IP flag (-l, -L, -m, -M, -x, or -c) used without an IP key. > > # > # Useless no-referral flag > > QC_USELESSNOREFFLAG %WARNING:904: useless no-referral flag passed > QC_USELESSNOREFFLAG % > QC_USELESSNOREFFLAG % The -R flag used for a non-domain key. > > # > # Fixed lookup > > QC_FMT_FIXEDLOOKUP %%WARNING:905: fixed lookup key > QC_FMT_FIXEDLOOKUP %% > QC_FMT_FIXEDLOOKUP %% The key "%s" has been changed to "%s" for lookup. > > > > ## > ## Referral texts > ## (You probably don't want to change them) > ## > > # > # Referral timeout (in seconds) > > REFERRALTIMEOUT 15 > > # > # Referral timeout error > > QI_REF_TMOUT %ERROR:302: referral timeout > QI_REF_TMOUT % > QI_REF_TMOUT % Referral timeout > > # > # Maximum referral lines allowed > > REFERRALMAXLINES 250 > > # > # Maximum referral lines exceeded message > > QI_REF_OVERMAXLIN %ERROR:204: maximum referral lines exceeded > QI_REF_OVERMAXLIN % > QI_REF_OVERMAXLIN % Referral reply line limit exceeded > > # > # No referral host > > QI_REF_BADHOST %ERROR:303: no referral host > QI_REF_BADHOST % > QI_REF_BADHOST % Referral host not found > > # > # Host not responding > > QI_REF_HOSTNOTTRESP %ERROR:304: referral host not responding > QI_REF_HOSTNOTTRESP % > QI_REF_HOSTNOTTRESP % Referral host not responding > > # > # Referral header > > QI_FMT_REFHEADER %% The object shown below is NOT in the %s database. > QI_FMT_REFHEADER %% It has been obtained by querying a remote server: > QI_FMT_REFHEADER %% (%s) at port %d. > QI_FMT_REFHEADER %% To see the object stored in the %s database > QI_FMT_REFHEADER %% use the -R flag in your query > QI_FMT_REFHEADER %% > QI_FMT_REFHEADER %%REFERRAL START > > # > # Referral trailer > > QI_REFTRAILER %%REFERRAL END > > > > > ###################### > ### > ### DBUPDATE VARIABLES > ### > ###################### > > ## > ## You don't need to change *anything* below this point > ## if you are not using dbupdate! > ## > > > ########### > ## > ## Sources > ## > > # > # The update source. The format is: > # > # (NOTE....this line is split on spaces and commas > # so make sure the format is matched exactly.) > # > # UPDSOURCE SRCname DB-details whois_rip-host,QRY-port,UPD-port > # > # where > # > # DB-details = MySQL_Host,MySQL_Port,MySQL_User,MySQL_Password,MySQL_DB > > UPDSOURCE SAMPLE sqlhost,3306,dbuser,dbpsw,SAMPLEDB whois.mydb.net,43001,43004 > > > ########### > ## > ## Auth Methods > ## > > # valid authentication methods accepted by dbupdate > > AUTHMETHOD NONE > AUTHMETHOD CRYPT-PW > AUTHMETHOD MD5-PW > AUTHMETHOD PGPKEY > > > ########### > ## > ## Settings > ## > > # > # Run database sw in test mode? > # If set, the mntner and as-block creation requests are > # automatically processed and not sent to HUMAILBOX > > TESTMODE 0 > > # > # Crypted password to override all security for updates > # > # Example usage: > # > # object: My Object > # [...] > # source: MYSRC > # override: Reason_for_overriding_all_security Password > # > # [ This sample crypted password correspond to the word "password" ] > > OVERRIDECRYPTEDPW 1F.5OTsRVjwLo > > # > # ALLOCMNT > # List of maintainers which can create an inetnum object > # with status ALLOCATED (one per line or space separated list > # or combination of the above) > > ALLOCMNT MY-OWN-MNT > > ########### > ## > ## Files > ## > > # ack and notif message templates > ACKTEMPLATE /usr/local/whoisd/conf/ack_template > NOTIFTEMPLATE /usr/local/whoisd/conf/notif_template > FRWDTEMPLATE /usr/local/whoisd/conf/frwd_template > FORWCREATETEMPLATE /usr/local/whoisd/conf/forw_create_template > > > # > # UPDATELOCK [not implemented yet] > # Name of the lockfile for stopping updates > # It will be located in LOCKDIR > # Just the existence of this file will block all updates > > UPDATELOCK STOPUPDATES > > # > # The directory where the GPG process stores > # the server's public keyring. > > PGPPATH /usr/local/whoisd/.gnupg > > > ########### > ## > ## Commands > ## > > # > # GPGCMD > # Full pathname of your gpg executable > > GPGCMD /usr/bin/gpg > > # > # MAILCMD is the command into which a composed e-mail is given as standard > # input, to be send as mail. The message piped into this command has ALL > # the necessary mail header to process the mail: > # From: > # To: > # Subject: > # The mail command should take the recipients from the actual message. > # Using sendmail it will be executed as: /usr/lib/sendmail -t < "messagefile" > # (default: /usr/lib/sendmail -t) > # > # NOTE: > # -fmy-dbm makes my-dbm the trusted user that will appear on the > # envelope. Bounces will go to this address. If you do not specify > # this, sendmail will send bounces straight back to the automatic > # mailbox, where it will bounce again, and again, .... > # User has to be a trusted user, T in sendmail.cf. > > MAILCMD /usr/lib/sendmail -fmy-dbm -t > > > ########### > ## > ## E-mail settings > ## > > # > # HUMAILBOX is a human mailbox, used for forwarding > # special objects. IT MUST NOT BE THE AUTOMATIC MAILBOX!!!! > > HUMAILBOX my-dbm at mydb.net > > # > # AUTOBOX is the mailbox used for automatic updates. > # The users must send mail to this address (and not > # HUMAILBOX) to get their updates processed. > > AUTOBOX auto-dbm at mydb.net > > # DEFMAIL is the mailbox used when no mail notifications or acknowledgements > # both as to and from address in various places. > > DEFMAIL my-dbm at ripe.net > > ########### > ## > ## nic suffixes > ## > > NICSUFFIX RIPE > NICSUFFIX ORG > NICSUFFIX ARIN > NICSUFFIX LACNIC > NICSUFFIX RADB > NICSUFFIX APNIC > NICSUFFIX RIPN > > > ########### > ## > ## Countries > ## > > ## > ## A list of valid ISO country codes for inetnum checks > ## You probably will never have to modify this > ## > > COUNTRY AD > COUNTRY AE > COUNTRY AF > COUNTRY AG > COUNTRY AI > COUNTRY AL > COUNTRY AM > COUNTRY AN > COUNTRY AO > COUNTRY AQ > COUNTRY AR > COUNTRY AS > COUNTRY AT > COUNTRY AU > COUNTRY AW > COUNTRY AZ > COUNTRY BA > COUNTRY BB > COUNTRY BD > COUNTRY BE > COUNTRY BF > COUNTRY BG > COUNTRY BH > COUNTRY BI > COUNTRY BJ > COUNTRY BM > COUNTRY BN > COUNTRY BO > COUNTRY BR > COUNTRY BS > COUNTRY BT > COUNTRY BV > COUNTRY BW > COUNTRY BY > COUNTRY BZ > COUNTRY CA > COUNTRY CC > COUNTRY CD > COUNTRY CF > COUNTRY CG > COUNTRY CH > COUNTRY CI > COUNTRY CK > COUNTRY CL > COUNTRY CM > COUNTRY CN > COUNTRY CO > COUNTRY CR > COUNTRY CU > COUNTRY CV > COUNTRY CX > COUNTRY CY > COUNTRY CZ > COUNTRY DE > COUNTRY DJ > COUNTRY DK > COUNTRY DM > COUNTRY DO > COUNTRY DZ > COUNTRY EC > COUNTRY EE > COUNTRY EG > COUNTRY EH > COUNTRY ER > COUNTRY ES > COUNTRY ET > COUNTRY EU > COUNTRY FI > COUNTRY FJ > COUNTRY FK > COUNTRY FM > COUNTRY FO > COUNTRY FR > COUNTRY FX > COUNTRY GA > COUNTRY GB > COUNTRY GD > COUNTRY GE > COUNTRY GF > COUNTRY GH > COUNTRY GI > COUNTRY GL > COUNTRY GM > COUNTRY GN > COUNTRY GP > COUNTRY GQ > COUNTRY GR > COUNTRY GS > COUNTRY GT > COUNTRY GU > COUNTRY GW > COUNTRY GY > COUNTRY HK > COUNTRY HM > COUNTRY HN > COUNTRY HR > COUNTRY HT > COUNTRY HU > COUNTRY ID > COUNTRY IE > COUNTRY IL > COUNTRY IN > COUNTRY IO > COUNTRY IQ > COUNTRY IR > COUNTRY IS > COUNTRY IT > COUNTRY JM > COUNTRY JO > COUNTRY JP > COUNTRY KE > COUNTRY KG > COUNTRY KH > COUNTRY KI > COUNTRY KM > COUNTRY KN > COUNTRY KP > COUNTRY KR > COUNTRY KW > COUNTRY KY > COUNTRY KZ > COUNTRY LA > COUNTRY LB > COUNTRY LC > COUNTRY LI > COUNTRY LK > COUNTRY LR > COUNTRY LS > COUNTRY LT > COUNTRY LU > COUNTRY LV > COUNTRY LY > COUNTRY MA > COUNTRY MC > COUNTRY MD > COUNTRY MG > COUNTRY MH > COUNTRY MK > COUNTRY ML > COUNTRY MM > COUNTRY MN > COUNTRY MO > COUNTRY MP > COUNTRY MQ > COUNTRY MR > COUNTRY MS > COUNTRY MT > COUNTRY MU > COUNTRY MV > COUNTRY MW > COUNTRY MX > COUNTRY MY > COUNTRY MZ > COUNTRY NA > COUNTRY NC > COUNTRY NE > COUNTRY NF > COUNTRY NG > COUNTRY NI > COUNTRY NL > COUNTRY NO > COUNTRY NP > COUNTRY NR > COUNTRY NU > COUNTRY NZ > COUNTRY OM > COUNTRY PA > COUNTRY PE > COUNTRY PF > COUNTRY PG > COUNTRY PH > COUNTRY PK > COUNTRY PL > COUNTRY PM > COUNTRY PN > COUNTRY PR > COUNTRY PS > COUNTRY PT > COUNTRY PW > COUNTRY PY > COUNTRY QA > COUNTRY RE > COUNTRY RO > COUNTRY RU > COUNTRY RW > COUNTRY SA > COUNTRY SB > COUNTRY SC > COUNTRY SD > COUNTRY SE > COUNTRY SG > COUNTRY SH > COUNTRY SI > COUNTRY SJ > COUNTRY SK > COUNTRY SL > COUNTRY SM > COUNTRY SN > COUNTRY SO > COUNTRY SR > COUNTRY ST > COUNTRY SV > COUNTRY SY > COUNTRY SZ > COUNTRY TC > COUNTRY TD > COUNTRY TF > COUNTRY TG > COUNTRY TH > COUNTRY TJ > COUNTRY TK > COUNTRY TM > COUNTRY TN > COUNTRY TO > COUNTRY TP > COUNTRY TR > COUNTRY TT > COUNTRY TV > COUNTRY TW > COUNTRY TZ > COUNTRY UA > COUNTRY UG > COUNTRY UM > COUNTRY US > COUNTRY UY > COUNTRY UZ > COUNTRY VA > COUNTRY VC > COUNTRY VE > COUNTRY VG > COUNTRY VI > COUNTRY VN > COUNTRY VU > COUNTRY WF > COUNTRY WS > COUNTRY YE > COUNTRY YT > COUNTRY YU > COUNTRY ZA > COUNTRY ZM > COUNTRY ZW -- Engin Gunduz RIPE NCC Software Engineering Department From dosfrk at intnet.bj Wed Jun 2 22:22:38 2004 From: dosfrk at intnet.bj (dosfrk at intnet.bj) Date: Wed, 2 Jun 2004 21:22:38 +0100 (WAT) Subject: ripe whois database install [NCC#2004060182] In-Reply-To: <20040602133911.GF31796@x47.ripe.net> References: <3107.81.91.225.139.1086114488.squirrel@mail.intnet.bj> <20040602080527.GA23929@x47.ripe.net> <3539.81.91.225.139.1086174835.squirrel@mail.intnet.bj> <20040602133911.GF31796@x47.ripe.net> Message-ID: <1224.81.91.225.155.1086207758.squirrel@mail.intnet.bj> Hi! It's done, I reduce my sql password longer and everything is ok! I can continue now! thank you Kind Regards. > dosfrk, > My best guess is: Your sql password is longer than 8 chars (which is the > upper limit). If so, please set it to a password shorter than or equal > to 8 chars, change it in your config, and retry. Please let me know > of the result. > Regards, > > On 2004-06-02 12:13:55 +0100, dosfrk at intnet.bj wrote: >> Thank Engin! >> These are config.sample files! >> >> regards >> >> > dosfrk, >> > >> > There must be a problem in your configuration files. >> > Could you please send your rip.config.sample and the >> > source.config file that is mentioned in your rip.config.sample >> > to ? >> > Please remember to obfuscate the passwords in them. >> > >> > Regards, >> > >> > On 2004-06-01 19:28:08 +0100, dosfrk at intnet.bj wrote: >> >> Hi, >> >> I've got an error when attempt to run make_db script during >> >> ripe-dbase-3.2.0 installation: >> >> ./make_db -c /usr/local/whoisd/conf/rip.config.sample -s SAMPLE -1 >> >> Error: Non-existent database "SAMPLEDB" referenced !!! >> >> died: +792 ca_sourceLoader.c >> >> ************** ERROR *************** >> >> *** 18:31:02 unknown source SAMPLE >> >> ************************************ >> >> >> >> I made change in my source.sample file : >> >> DATABASE SAMPLEDB >> >> host: localhost >> >> port: 3306 >> >> trx_support: n >> >> user: whois_admin >> >> password: ******** >> >> /DATABASE >> >> >> >> Any ideas? >> >> >> >> Kind regards. >> > >> > -- >> > Engin Gunduz >> > RIPE NCC Software Engineering Department >> > >> > > >> # Copyright (c) 2000 RIPE NCC >> # >> # All Rights Reserved >> # >> # Permission to use, copy, modify, and distribute this software and its >> # documentation for any purpose and without fee is hereby granted, >> # provided that the above copyright notice appear in all copies and that >> # both that copyright notice and this permission notice appear in >> # supporting documentation, and that the name of the author not be >> # used in advertising or publicity pertaining to distribution of the >> # software without specific, written prior permission. >> # >> # THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, >> INCLUDING >> # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT >> SHALL >> # AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR >> ANY >> # DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, >> WHETHER IN >> # AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING >> OUT OF >> # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. >> >> # Example sources.config >> >> # Any line that begins with a '#' is ignored. >> # Blank lines are also ignored. >> # Comments can only be at the beginning of a line. Currently, they >> # cannot be inside a definition. >> >> # A definition begins with uppercase text. Currently, there are >> # three types of definition object: DATABASE, NRTM (near-real-time >> # mirror) and SOURCE. Each object is identified by a name which comes >> # immediately after the object type and is on the same line. This >> # name is also in uppercase text. >> # >> # Definitions end with / at the beginning of a line. >> >> # Currently, all variables are mandatory. E.g., in the definition >> # of a SOURCE, "nrtm" must be present. Thus, a dummy definition of >> # an NRTM may be necessary. >> # >> >> >> # This is the definition of a MySQL database, >> # with all relevant data. >> # >> # Customise: >> # sqlhost - the hostname of MySQL server >> # 3306 - mysqld port >> # trx_support - does the database support transactions? (values can be >> 'y' or 'n') >> # dbuser - MySQL user name (use make_mysql_user) >> # dbpsw - MySQL user password >> DATABASE SAMPLEDB >> host: localhost >> port: 3306 >> trx_support: n >> user: whois_admin >> password: ****** >> /DATABASE >> >> # You can have more than one definition of a database: >> # Remove comments if you plan to use it >> # >> #DATABASE YOURDB >> #host: yourBox >> #port: 3306 >> #user: you >> #password: yourPswd >> #/DATABASE >> >> >> # This is the definition of a near-real-time mirror client: >> # >> # host: the machine on which the server runs. >> # port: the port number on which the mirror-server listens. >> # delay: the delay (in seconds) between requests to the server for >> updates. >> # protocolVersion: the version number of the NRTM protocol (typically >> 1). >> # >> NRTM SPIEGEL >> host: mirror.server.net >> port: 4444 >> delay: 60 >> protocolVersion: 1 >> /NRTM >> >> # The definition of sources must always be after the definitions >> # of databases and mirrors. However, databases and mirrors can >> # be defined in any order. A source can use any predefined database >> # or mirror. >> # >> >> # Definition of source "TEST" >> # >> # database: It uses the "MYDB" database (defined above). >> # opMode: Operation Mode. Its most frequently-used values are: >> # 0 static snapshot (no updates possible) >> # 2 update server (processes requests from DBupdate) >> # 4 NRTM client. >> # updPort: the update port, i.e. the port on which the RIP server >> listens for >> # updates to this source via dbupdate. >> # canupd: can this database be updated? (y/n) >> # deflook: is this the default look-up source? (y/n) >> # nrtm: the name of the near-real-time mirror used by this database (see >> above). >> # >> SOURCE SAMPLE >> database: SAMPLEDB >> opMode: 2 >> updPort: 43004 >> canupd: y >> deflook: y >> nrtm: SPIEGEL >> /SOURCE >> >> # Definition of source "PRODUCTION" >> # >> # It uses the "YOURDB" database (defined above). >> # Remove comments if you plan to use it >> # >> #SOURCE PRODUCTION >> #database: YOURDB >> #opMode: 2 >> #updPort: 123456 >> #canupd: y >> #deflook: y >> #nrtm: SPIEGEL >> #/SOURCE >> # Copyright (c) 2000 RIPE NCC >> # >> # All Rights Reserved >> # >> # Permission to use, copy, modify, and distribute this software and its >> # documentation for any purpose and without fee is hereby granted, >> # provided that the above copyright notice appear in all copies and that >> # both that copyright notice and this permission notice appear in >> # supporting documentation, and that the name of the author not be >> # used in advertising or publicity pertaining to distribution of the >> # software without specific, written prior permission. >> # >> # THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, >> INCLUDING >> # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT >> SHALL >> # AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR >> ANY >> # DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, >> WHETHER IN >> # AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING >> OUT OF >> # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. >> >> >> ## "Generic" configuration file for RIP. >> ## There are quite a few variables to configure; >> ## however, you can leave part of the variables >> ## if you don't use a part of the software (e.g. dbupdate). >> ## Please don't forget to also modify your $SOURCEFILE. >> >> >> ###################### >> ### >> ### GENERIC VARIABLES >> ### >> ###################### >> >> # >> # The directory where all sorts of lockfiles are kept >> >> LOCKDIR /usr/local/whoisd/var/lock >> >> >> # >> # The directory where all sorts of temporary files >> # are kept. >> # >> # make sure that this directory is owned by the 'updating process' >> # user and cannot be written by other users >> >> TMPDIR /usr/local/whoisd/var/tmp >> >> # >> # Where is the RIPADMIN database >> # Syntax: >> # RIPADMIN >> MySQL_Host,MySQL_Port,MySQL_User,MySQL_Password,MySQL_RIPADMIN_DB >> >> RIPADMIN sqlhost,3306,dbuser,dbpsw,RIPADMIN >> >> # >> # Location of the file containing the SOURCE variables >> >> SOURCEFILE /usr/local/whoisd/conf/sources.config.sample >> >> >> ###################### >> ### >> ### LOGFILE DEFINITIONS >> ### >> ###################### >> >> ## These variables indicate base filenames; >> ## the subdirectories have to be created manually beforehand. >> >> ## >> ## Query log >> ## >> >> QRYLOG /usr/local/whoisd/log/qry/qrylog >> >> ## >> ## Error logs >> ## >> >> # >> # All dbupdate errors (only needed if you use dbupdate) >> >> DBUPERR /usr/local/whoisd/log/dbuperr/dbuperrlog >> >> # >> # All whois_rip errors >> >> ALLRIPERR /usr/local/whoisd/log/riperr/riperrlog >> >> # >> # Audit log: security-related messages >> >> RIPAUDIT /usr/local/whoisd/log/audit/auditlog >> >> # >> # Mirroring log >> >> RIPMIRLOG /usr/local/whoisd/log/mirror/mirrorlog >> >> # >> # Server log: all administration messages (startup, shutdown, etc) >> # and errors >> >> RIPSVRLOG /usr/local/whoisd/log/svr/svrlog >> >> # >> # SQL errors >> >> SQLOG /usr/local/whoisd/log/sql/sqlog >> >> # >> # All update transactions are logged here >> >> RIPUPDLOG /usr/local/whoisd/log/ripupd/ripupdlog >> >> >> ## >> ## Update logs >> ## You need them only if you use dbupdate >> ## >> >> # >> # The file where all update requests are logged >> # It must be rotated externally if needed >> >> UPDLOG /usr/local/whoisd/log/upd/updlog >> >> # >> # The file where all acknowledgements are logged >> # It must be rotated externally if needed >> >> ACKLOG /usr/local/whoisd/log/ack/acklog >> >> # >> # The file where all notifications are logged >> # It must be rotated externally if needed >> >> NOTIFLOG /usr/local/whoisd/log/notif/notiflog >> >> # >> # The file where all forwardings are logged >> # It must be rotated externally if needed >> >> FORWLOG /usr/local/whoisd/log/forw/forwlog >> >> ###################### >> ### >> ### WHOISD VARIABLES >> ### >> ###################### >> >> # >> # KEEPOPEN [not implemented yet] >> # Keep connection open for at most KEEPOPEN seconds for >> # network updates & whoisd '-k' keep connection open option >> >> KEEPOPEN 180 >> >> # >> # Port for the whois server >> >> SVWHOIS_PORT 43001 >> >> # >> # Port for the config interface >> >> SVCONFIG_PORT 43002 >> >> # >> # Port for the mirroring server >> >> SVMIRROR_PORT 43003 >> >> >> ########### >> ## >> ## Files >> ## >> >> # >> # Location of the help file printed in response >> # to "whois help" queries >> >> PW_HELP_FILE /usr/local/whoisd/doc/WHOIS-HELP >> >> >> ########### >> ## >> ## Access control >> ## >> >> ## >> ## In short, access control works in the following way: >> ## the more you query, the more your "ACL points" grow, >> ## until at a certain point you are blocked. >> ## First temporarily, then permanently. >> ## For temporary blocks, your points decay in time. >> ## These variables configure the decay time. >> >> ## (You probably don't want to change these variables). >> >> # >> # Interval of the decay (in seconds) >> >> AC_DECAY_INTERVAL 600 >> >> # >> # Halflife of the decay (in seconds) >> >> AC_DECAY_HALFLIFE 43200 >> >> # >> # auto save of access tree >> >> AC_AUTO_SAVE 1 >> >> # >> # Startup loading of access tree data stored on persistence >> >> AC_LOAD 1 >> >> # >> # Interval of making persistence (in seconds) >> >> AC_SAVE_INTERVAL 1200 >> >> >> ########### >> ## >> ## Response texts >> ## >> >> ## The only things you need to change here are the >> ## pointers to your own URLs and specific site-related information. >> >> # >> # Banner. This text comes out before the query is answered. >> >> PW_BANNER % This is the MyDB Whois server. >> >> # >> # Standard response header >> >> PW_RESP_HEADER % Rights restricted by copyright. >> PW_RESP_HEADER % See http://www.mydb.net/db/copyright.html >> >> # >> # Access control limit reached >> >> PW_FMT_LIMIT_REACHED %%ERROR:202: access control limit reached for %s >> PW_FMT_LIMIT_REACHED %% >> PW_FMT_LIMIT_REACHED %% You have reached the limit of returned contact >> information objects. >> PW_FMT_LIMIT_REACHED %% This connection will be terminated now. >> PW_FMT_LIMIT_REACHED %% Continued attempts to return excessive amounts >> of contact >> PW_FMT_LIMIT_REACHED %% information will result in permanent denial of >> service. >> PW_FMT_LIMIT_REACHED %% Please do not try to use CONTACT information in >> PW_FMT_LIMIT_REACHED %% My Database for non-operational purposes. >> PW_FMT_LIMIT_REACHED %% Refer to http://www.mydb.net/db/copyright.html >> for more information. >> >> # >> # Access denied permanently >> >> PW_FMT_ACL_PERMDENY %%ERROR:201: access denied for %s >> PW_FMT_ACL_PERMDENY %% >> PW_FMT_ACL_PERMDENY %% Sorry, access from your host has been permanently >> denied >> PW_FMT_ACL_PERMDENY %% because of a repeated abusive behaviour. >> PW_FMT_ACL_PERMDENY %% Please contact for unblocking. >> >> # >> # Too many connections from the host >> >> PW_FMT_ACL_CONNDENY %%ERROR:208: connection refused for %s >> PW_FMT_ACL_CONNDENY %% >> PW_FMT_ACL_CONNDENY %% Sorry, your connection is refused. >> PW_FMT_ACL_CONNDENY %% Too many simultaneous connections from your host. >> >> ## >> ## You don't need to change the following response texts >> ## >> >> # >> # No key supplied in query >> >> PW_ERR_NOKEY %ERROR:106: no search key specified >> PW_ERR_NOKEY % >> PW_ERR_NOKEY % No search key specified >> >> # Line too long >> >> PW_ERR_LINETOOLONG %ERROR:107: input line too long >> PW_ERR_LINETOOLONG % >> PW_ERR_LINETOOLONG % Input exceeds the maximum line length. >> >> # >> # For data retrieved with the "-K" flag >> >> PW_K_FILTER % Note: this output has been filtered. >> PW_K_FILTER % Only primary keys will be visible. >> PW_K_FILTER % Contact information will not be shown >> >> # >> # User is not authorised to pass IP addresses with "-V" flag >> >> PW_FMT_ACL_ADDRPASS %%ERROR:203: address passing not allowed for %s >> PW_FMT_ACL_ADDRPASS %% >> PW_FMT_ACL_ADDRPASS %% Sorry, you are not allowed to pass addresses on >> the query line . >> PW_FMT_ACL_ADDRPASS %% Please contact us for such permission. For the >> moment, continuing >> PW_FMT_ACL_ADDRPASS %% this will cause permanent denial of access. >> >> # >> # No object found >> >> PW_NOTFOUND %ERROR:101: no entries found >> PW_NOTFOUND % >> PW_NOTFOUND % No entries found in the selected source(s). >> >> # >> # The connection is administratively or abnormally closed >> >> PW_CONNCLOSED %ERROR:301: connection has been closed >> PW_CONNCLOSED % >> PW_CONNCLOSED % The connection has been closed. >> >> # >> # Unknown attribute in query >> >> QC_FMT_BADATTR %%ERROR:104: unknown attribute >> QC_FMT_BADATTR %% >> QC_FMT_BADATTR %% "%s" is not a known attribute. >> >> # >> # The attribute specified is not inverse searchable >> >> QC_FMT_ATTRNOTINV %%ERROR:105: attribute is not searchable >> QC_FMT_ATTRNOTINV %% >> QC_FMT_ATTRNOTINV %% "%s" is not an inverse searchable attribute. >> >> # Illegal character in query >> >> QC_BADINPUT %ERROR:108: bad character in input >> QC_BADINPUT % >> QC_BADINPUT % An invalid character was passed in the query. Allowed >> QC_BADINPUT % characters are letters, numbers, and these: -_:+=.,@/?'. >> >> # >> # There is no such source >> >> QC_FMT_BADSOURCE %%ERROR:102: unknown source >> QC_FMT_BADSOURCE %% >> QC_FMT_BADSOURCE %% "%s" is not a known source. >> QC_FMT_BADSOURCE %% Use "-q sources" to list known sources. >> >> >> # >> # There is no such object type >> >> QC_FMT_BADOBJTYPE %%ERROR:103: unknown object type >> QC_FMT_BADOBJTYPE %% >> QC_FMT_BADOBJTYPE %% "%s" is not a known object type. >> QC_FMT_BADOBJTYPE %% Use "-q types" to list known object types. >> >> # >> # Multiple "-V" flags were used to pass IP addresses >> >> QC_DUPPROXYIPFLAG %ERROR:205: multiple addresses passed by proxy >> QC_DUPPROXYIPFLAG % >> QC_DUPPROXYIPFLAG % More than one -V flag passed the address of a >> client. >> QC_DUPPROXYIPFLAG % This is an error in the proxy server. Please >> contact >> QC_DUPPROXYIPFLAG % the administrator of the server and report this >> error. >> >> # >> # Duplicate IP flags >> QC_FMT_DUPIPFLAG %%WARNING:901: duplicate IP flags passed >> QC_FMT_DUPIPFLAG %% >> QC_FMT_DUPIPFLAG %% More than one IP flag (-l, -L, -m, -M, -x, or -c) >> passed to the server. >> QC_FMT_DUPIPFLAG %% Only "-%s" will be used for this query. >> >> # >> # Useless IP flags >> >> QC_USELESSIPFLAG %WARNING:902: useless IP flag passed >> QC_USELESSIPFLAG % >> QC_USELESSIPFLAG % An IP flag (-l, -L, -m, -M, -x, or -c) used without >> an IP key. >> >> # >> # Useless no-referral flag >> >> QC_USELESSNOREFFLAG %WARNING:904: useless no-referral flag passed >> QC_USELESSNOREFFLAG % >> QC_USELESSNOREFFLAG % The -R flag used for a non-domain key. >> >> # >> # Fixed lookup >> >> QC_FMT_FIXEDLOOKUP %%WARNING:905: fixed lookup key >> QC_FMT_FIXEDLOOKUP %% >> QC_FMT_FIXEDLOOKUP %% The key "%s" has been changed to "%s" for lookup. >> >> >> >> ## >> ## Referral texts >> ## (You probably don't want to change them) >> ## >> >> # >> # Referral timeout (in seconds) >> >> REFERRALTIMEOUT 15 >> >> # >> # Referral timeout error >> >> QI_REF_TMOUT %ERROR:302: referral timeout >> QI_REF_TMOUT % >> QI_REF_TMOUT % Referral timeout >> >> # >> # Maximum referral lines allowed >> >> REFERRALMAXLINES 250 >> >> # >> # Maximum referral lines exceeded message >> >> QI_REF_OVERMAXLIN %ERROR:204: maximum referral lines exceeded >> QI_REF_OVERMAXLIN % >> QI_REF_OVERMAXLIN % Referral reply line limit exceeded >> >> # >> # No referral host >> >> QI_REF_BADHOST %ERROR:303: no referral host >> QI_REF_BADHOST % >> QI_REF_BADHOST % Referral host not found >> >> # >> # Host not responding >> >> QI_REF_HOSTNOTTRESP %ERROR:304: referral host not responding >> QI_REF_HOSTNOTTRESP % >> QI_REF_HOSTNOTTRESP % Referral host not responding >> >> # >> # Referral header >> >> QI_FMT_REFHEADER %% The object shown below is NOT in the %s database. >> QI_FMT_REFHEADER %% It has been obtained by querying a remote server: >> QI_FMT_REFHEADER %% (%s) at port %d. >> QI_FMT_REFHEADER %% To see the object stored in the %s database >> QI_FMT_REFHEADER %% use the -R flag in your query >> QI_FMT_REFHEADER %% >> QI_FMT_REFHEADER %%REFERRAL START >> >> # >> # Referral trailer >> >> QI_REFTRAILER %%REFERRAL END >> >> >> >> >> ###################### >> ### >> ### DBUPDATE VARIABLES >> ### >> ###################### >> >> ## >> ## You don't need to change *anything* below this point >> ## if you are not using dbupdate! >> ## >> >> >> ########### >> ## >> ## Sources >> ## >> >> # >> # The update source. The format is: >> # >> # (NOTE....this line is split on spaces and commas >> # so make sure the format is matched exactly.) >> # >> # UPDSOURCE SRCname DB-details whois_rip-host,QRY-port,UPD-port >> # >> # where >> # >> # DB-details = MySQL_Host,MySQL_Port,MySQL_User,MySQL_Password,MySQL_DB >> >> UPDSOURCE SAMPLE sqlhost,3306,dbuser,dbpsw,SAMPLEDB >> whois.mydb.net,43001,43004 >> >> >> ########### >> ## >> ## Auth Methods >> ## >> >> # valid authentication methods accepted by dbupdate >> >> AUTHMETHOD NONE >> AUTHMETHOD CRYPT-PW >> AUTHMETHOD MD5-PW >> AUTHMETHOD PGPKEY >> >> >> ########### >> ## >> ## Settings >> ## >> >> # >> # Run database sw in test mode? >> # If set, the mntner and as-block creation requests are >> # automatically processed and not sent to HUMAILBOX >> >> TESTMODE 0 >> >> # >> # Crypted password to override all security for updates >> # >> # Example usage: >> # >> # object: My Object >> # [...] >> # source: MYSRC >> # override: Reason_for_overriding_all_security Password >> # >> # [ This sample crypted password correspond to the word "password" ] >> >> OVERRIDECRYPTEDPW 1F.5OTsRVjwLo >> >> # >> # ALLOCMNT >> # List of maintainers which can create an inetnum object >> # with status ALLOCATED (one per line or space separated list >> # or combination of the above) >> >> ALLOCMNT MY-OWN-MNT >> >> ########### >> ## >> ## Files >> ## >> >> # ack and notif message templates >> ACKTEMPLATE /usr/local/whoisd/conf/ack_template >> NOTIFTEMPLATE /usr/local/whoisd/conf/notif_template >> FRWDTEMPLATE /usr/local/whoisd/conf/frwd_template >> FORWCREATETEMPLATE /usr/local/whoisd/conf/forw_create_template >> >> >> # >> # UPDATELOCK [not implemented yet] >> # Name of the lockfile for stopping updates >> # It will be located in LOCKDIR >> # Just the existence of this file will block all updates >> >> UPDATELOCK STOPUPDATES >> >> # >> # The directory where the GPG process stores >> # the server's public keyring. >> >> PGPPATH /usr/local/whoisd/.gnupg >> >> >> ########### >> ## >> ## Commands >> ## >> >> # >> # GPGCMD >> # Full pathname of your gpg executable >> >> GPGCMD /usr/bin/gpg >> >> # >> # MAILCMD is the command into which a composed e-mail is given as >> standard >> # input, to be send as mail. The message piped into this command has ALL >> # the necessary mail header to process the mail: >> # From: >> # To: >> # Subject: >> # The mail command should take the recipients from the actual message. >> # Using sendmail it will be executed as: /usr/lib/sendmail -t < >> "messagefile" >> # (default: /usr/lib/sendmail -t) >> # >> # NOTE: >> # -fmy-dbm makes my-dbm the trusted user that will appear on the >> # envelope. Bounces will go to this address. If you do not specify >> # this, sendmail will send bounces straight back to the automatic >> # mailbox, where it will bounce again, and again, .... >> # User has to be a trusted user, T in sendmail.cf. >> >> MAILCMD /usr/lib/sendmail -fmy-dbm -t >> >> >> ########### >> ## >> ## E-mail settings >> ## >> >> # >> # HUMAILBOX is a human mailbox, used for forwarding >> # special objects. IT MUST NOT BE THE AUTOMATIC MAILBOX!!!! >> >> HUMAILBOX my-dbm at mydb.net >> >> # >> # AUTOBOX is the mailbox used for automatic updates. >> # The users must send mail to this address (and not >> # HUMAILBOX) to get their updates processed. >> >> AUTOBOX auto-dbm at mydb.net >> >> # DEFMAIL is the mailbox used when no mail notifications or >> acknowledgements >> # both as to and from address in various places. >> >> DEFMAIL my-dbm at ripe.net >> >> ########### >> ## >> ## nic suffixes >> ## >> >> NICSUFFIX RIPE >> NICSUFFIX ORG >> NICSUFFIX ARIN >> NICSUFFIX LACNIC >> NICSUFFIX RADB >> NICSUFFIX APNIC >> NICSUFFIX RIPN >> >> >> ########### >> ## >> ## Countries >> ## >> >> ## >> ## A list of valid ISO country codes for inetnum checks >> ## You probably will never have to modify this >> ## >> >> COUNTRY AD >> COUNTRY AE >> COUNTRY AF >> COUNTRY AG >> COUNTRY AI >> COUNTRY AL >> COUNTRY AM >> COUNTRY AN >> COUNTRY AO >> COUNTRY AQ >> COUNTRY AR >> COUNTRY AS >> COUNTRY AT >> COUNTRY AU >> COUNTRY AW >> COUNTRY AZ >> COUNTRY BA >> COUNTRY BB >> COUNTRY BD >> COUNTRY BE >> COUNTRY BF >> COUNTRY BG >> COUNTRY BH >> COUNTRY BI >> COUNTRY BJ >> COUNTRY BM >> COUNTRY BN >> COUNTRY BO >> COUNTRY BR >> COUNTRY BS >> COUNTRY BT >> COUNTRY BV >> COUNTRY BW >> COUNTRY BY >> COUNTRY BZ >> COUNTRY CA >> COUNTRY CC >> COUNTRY CD >> COUNTRY CF >> COUNTRY CG >> COUNTRY CH >> COUNTRY CI >> COUNTRY CK >> COUNTRY CL >> COUNTRY CM >> COUNTRY CN >> COUNTRY CO >> COUNTRY CR >> COUNTRY CU >> COUNTRY CV >> COUNTRY CX >> COUNTRY CY >> COUNTRY CZ >> COUNTRY DE >> COUNTRY DJ >> COUNTRY DK >> COUNTRY DM >> COUNTRY DO >> COUNTRY DZ >> COUNTRY EC >> COUNTRY EE >> COUNTRY EG >> COUNTRY EH >> COUNTRY ER >> COUNTRY ES >> COUNTRY ET >> COUNTRY EU >> COUNTRY FI >> COUNTRY FJ >> COUNTRY FK >> COUNTRY FM >> COUNTRY FO >> COUNTRY FR >> COUNTRY FX >> COUNTRY GA >> COUNTRY GB >> COUNTRY GD >> COUNTRY GE >> COUNTRY GF >> COUNTRY GH >> COUNTRY GI >> COUNTRY GL >> COUNTRY GM >> COUNTRY GN >> COUNTRY GP >> COUNTRY GQ >> COUNTRY GR >> COUNTRY GS >> COUNTRY GT >> COUNTRY GU >> COUNTRY GW >> COUNTRY GY >> COUNTRY HK >> COUNTRY HM >> COUNTRY HN >> COUNTRY HR >> COUNTRY HT >> COUNTRY HU >> COUNTRY ID >> COUNTRY IE >> COUNTRY IL >> COUNTRY IN >> COUNTRY IO >> COUNTRY IQ >> COUNTRY IR >> COUNTRY IS >> COUNTRY IT >> COUNTRY JM >> COUNTRY JO >> COUNTRY JP >> COUNTRY KE >> COUNTRY KG >> COUNTRY KH >> COUNTRY KI >> COUNTRY KM >> COUNTRY KN >> COUNTRY KP >> COUNTRY KR >> COUNTRY KW >> COUNTRY KY >> COUNTRY KZ >> COUNTRY LA >> COUNTRY LB >> COUNTRY LC >> COUNTRY LI >> COUNTRY LK >> COUNTRY LR >> COUNTRY LS >> COUNTRY LT >> COUNTRY LU >> COUNTRY LV >> COUNTRY LY >> COUNTRY MA >> COUNTRY MC >> COUNTRY MD >> COUNTRY MG >> COUNTRY MH >> COUNTRY MK >> COUNTRY ML >> COUNTRY MM >> COUNTRY MN >> COUNTRY MO >> COUNTRY MP >> COUNTRY MQ >> COUNTRY MR >> COUNTRY MS >> COUNTRY MT >> COUNTRY MU >> COUNTRY MV >> COUNTRY MW >> COUNTRY MX >> COUNTRY MY >> COUNTRY MZ >> COUNTRY NA >> COUNTRY NC >> COUNTRY NE >> COUNTRY NF >> COUNTRY NG >> COUNTRY NI >> COUNTRY NL >> COUNTRY NO >> COUNTRY NP >> COUNTRY NR >> COUNTRY NU >> COUNTRY NZ >> COUNTRY OM >> COUNTRY PA >> COUNTRY PE >> COUNTRY PF >> COUNTRY PG >> COUNTRY PH >> COUNTRY PK >> COUNTRY PL >> COUNTRY PM >> COUNTRY PN >> COUNTRY PR >> COUNTRY PS >> COUNTRY PT >> COUNTRY PW >> COUNTRY PY >> COUNTRY QA >> COUNTRY RE >> COUNTRY RO >> COUNTRY RU >> COUNTRY RW >> COUNTRY SA >> COUNTRY SB >> COUNTRY SC >> COUNTRY SD >> COUNTRY SE >> COUNTRY SG >> COUNTRY SH >> COUNTRY SI >> COUNTRY SJ >> COUNTRY SK >> COUNTRY SL >> COUNTRY SM >> COUNTRY SN >> COUNTRY SO >> COUNTRY SR >> COUNTRY ST >> COUNTRY SV >> COUNTRY SY >> COUNTRY SZ >> COUNTRY TC >> COUNTRY TD >> COUNTRY TF >> COUNTRY TG >> COUNTRY TH >> COUNTRY TJ >> COUNTRY TK >> COUNTRY TM >> COUNTRY TN >> COUNTRY TO >> COUNTRY TP >> COUNTRY TR >> COUNTRY TT >> COUNTRY TV >> COUNTRY TW >> COUNTRY TZ >> COUNTRY UA >> COUNTRY UG >> COUNTRY UM >> COUNTRY US >> COUNTRY UY >> COUNTRY UZ >> COUNTRY VA >> COUNTRY VC >> COUNTRY VE >> COUNTRY VG >> COUNTRY VI >> COUNTRY VN >> COUNTRY VU >> COUNTRY WF >> COUNTRY WS >> COUNTRY YE >> COUNTRY YT >> COUNTRY YU >> COUNTRY ZA >> COUNTRY ZM >> COUNTRY ZW > > -- > Engin Gunduz > RIPE NCC Software Engineering Department > > From dosfrk at intnet.bj Thu Jun 3 13:54:38 2004 From: dosfrk at intnet.bj (dosfrk at intnet.bj) Date: Thu, 3 Jun 2004 12:54:38 +0100 (WAT) Subject: ripe whois database install [NCC#2004060182] In-Reply-To: <20040602133911.GF31796@x47.ripe.net> References: <3107.81.91.225.139.1086114488.squirrel@mail.intnet.bj> <20040602080527.GA23929@x47.ripe.net> <3539.81.91.225.139.1086174835.squirrel@mail.intnet.bj> <20040602133911.GF31796@x47.ripe.net> Message-ID: <3300.81.91.225.140.1086263678.squirrel@mail.intnet.bj> Hi! I finish installing my whois server and run it without error, but how can I create or manage the objects? is it by dbupdate command? do you know a tutorial about this? Regards. > dosfrk, > My best guess is: Your sql password is longer than 8 chars (which is the > upper limit). If so, please set it to a password shorter than or equal > to 8 chars, change it in your config, and retry. Please let me know > of the result. > Regards, > > On 2004-06-02 12:13:55 +0100, dosfrk at intnet.bj wrote: >> Thank Engin! >> These are config.sample files! >> >> regards >> >> > dosfrk, >> > >> > There must be a problem in your configuration files. >> > Could you please send your rip.config.sample and the >> > source.config file that is mentioned in your rip.config.sample >> > to ? >> > Please remember to obfuscate the passwords in them. >> > >> > Regards, >> > >> > On 2004-06-01 19:28:08 +0100, dosfrk at intnet.bj wrote: >> >> Hi, >> >> I've got an error when attempt to run make_db script during >> >> ripe-dbase-3.2.0 installation: >> >> ./make_db -c /usr/local/whoisd/conf/rip.config.sample -s SAMPLE -1 >> >> Error: Non-existent database "SAMPLEDB" referenced !!! >> >> died: +792 ca_sourceLoader.c >> >> ************** ERROR *************** >> >> *** 18:31:02 unknown source SAMPLE >> >> ************************************ >> >> >> >> I made change in my source.sample file : >> >> DATABASE SAMPLEDB >> >> host: localhost >> >> port: 3306 >> >> trx_support: n >> >> user: whois_admin >> >> password: ******** >> >> /DATABASE >> >> >> >> Any ideas? >> >> >> >> Kind regards. >> > >> > -- >> > Engin Gunduz >> > RIPE NCC Software Engineering Department >> > >> > > >> # Copyright (c) 2000 RIPE NCC >> # >> # All Rights Reserved >> # >> # Permission to use, copy, modify, and distribute this software and its >> # documentation for any purpose and without fee is hereby granted, >> # provided that the above copyright notice appear in all copies and that >> # both that copyright notice and this permission notice appear in >> # supporting documentation, and that the name of the author not be >> # used in advertising or publicity pertaining to distribution of the >> # software without specific, written prior permission. >> # >> # THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, >> INCLUDING >> # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT >> SHALL >> # AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR >> ANY >> # DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, >> WHETHER IN >> # AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING >> OUT OF >> # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. >> >> # Example sources.config >> >> # Any line that begins with a '#' is ignored. >> # Blank lines are also ignored. >> # Comments can only be at the beginning of a line. Currently, they >> # cannot be inside a definition. >> >> # A definition begins with uppercase text. Currently, there are >> # three types of definition object: DATABASE, NRTM (near-real-time >> # mirror) and SOURCE. Each object is identified by a name which comes >> # immediately after the object type and is on the same line. This >> # name is also in uppercase text. >> # >> # Definitions end with / at the beginning of a line. >> >> # Currently, all variables are mandatory. E.g., in the definition >> # of a SOURCE, "nrtm" must be present. Thus, a dummy definition of >> # an NRTM may be necessary. >> # >> >> >> # This is the definition of a MySQL database, >> # with all relevant data. >> # >> # Customise: >> # sqlhost - the hostname of MySQL server >> # 3306 - mysqld port >> # trx_support - does the database support transactions? (values can be >> 'y' or 'n') >> # dbuser - MySQL user name (use make_mysql_user) >> # dbpsw - MySQL user password >> DATABASE SAMPLEDB >> host: localhost >> port: 3306 >> trx_support: n >> user: whois_admin >> password: ****** >> /DATABASE >> >> # You can have more than one definition of a database: >> # Remove comments if you plan to use it >> # >> #DATABASE YOURDB >> #host: yourBox >> #port: 3306 >> #user: you >> #password: yourPswd >> #/DATABASE >> >> >> # This is the definition of a near-real-time mirror client: >> # >> # host: the machine on which the server runs. >> # port: the port number on which the mirror-server listens. >> # delay: the delay (in seconds) between requests to the server for >> updates. >> # protocolVersion: the version number of the NRTM protocol (typically >> 1). >> # >> NRTM SPIEGEL >> host: mirror.server.net >> port: 4444 >> delay: 60 >> protocolVersion: 1 >> /NRTM >> >> # The definition of sources must always be after the definitions >> # of databases and mirrors. However, databases and mirrors can >> # be defined in any order. A source can use any predefined database >> # or mirror. >> # >> >> # Definition of source "TEST" >> # >> # database: It uses the "MYDB" database (defined above). >> # opMode: Operation Mode. Its most frequently-used values are: >> # 0 static snapshot (no updates possible) >> # 2 update server (processes requests from DBupdate) >> # 4 NRTM client. >> # updPort: the update port, i.e. the port on which the RIP server >> listens for >> # updates to this source via dbupdate. >> # canupd: can this database be updated? (y/n) >> # deflook: is this the default look-up source? (y/n) >> # nrtm: the name of the near-real-time mirror used by this database (see >> above). >> # >> SOURCE SAMPLE >> database: SAMPLEDB >> opMode: 2 >> updPort: 43004 >> canupd: y >> deflook: y >> nrtm: SPIEGEL >> /SOURCE >> >> # Definition of source "PRODUCTION" >> # >> # It uses the "YOURDB" database (defined above). >> # Remove comments if you plan to use it >> # >> #SOURCE PRODUCTION >> #database: YOURDB >> #opMode: 2 >> #updPort: 123456 >> #canupd: y >> #deflook: y >> #nrtm: SPIEGEL >> #/SOURCE >> # Copyright (c) 2000 RIPE NCC >> # >> # All Rights Reserved >> # >> # Permission to use, copy, modify, and distribute this software and its >> # documentation for any purpose and without fee is hereby granted, >> # provided that the above copyright notice appear in all copies and that >> # both that copyright notice and this permission notice appear in >> # supporting documentation, and that the name of the author not be >> # used in advertising or publicity pertaining to distribution of the >> # software without specific, written prior permission. >> # >> # THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, >> INCLUDING >> # ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT >> SHALL >> # AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR >> ANY >> # DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, >> WHETHER IN >> # AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING >> OUT OF >> # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. >> >> >> ## "Generic" configuration file for RIP. >> ## There are quite a few variables to configure; >> ## however, you can leave part of the variables >> ## if you don't use a part of the software (e.g. dbupdate). >> ## Please don't forget to also modify your $SOURCEFILE. >> >> >> ###################### >> ### >> ### GENERIC VARIABLES >> ### >> ###################### >> >> # >> # The directory where all sorts of lockfiles are kept >> >> LOCKDIR /usr/local/whoisd/var/lock >> >> >> # >> # The directory where all sorts of temporary files >> # are kept. >> # >> # make sure that this directory is owned by the 'updating process' >> # user and cannot be written by other users >> >> TMPDIR /usr/local/whoisd/var/tmp >> >> # >> # Where is the RIPADMIN database >> # Syntax: >> # RIPADMIN >> MySQL_Host,MySQL_Port,MySQL_User,MySQL_Password,MySQL_RIPADMIN_DB >> >> RIPADMIN sqlhost,3306,dbuser,dbpsw,RIPADMIN >> >> # >> # Location of the file containing the SOURCE variables >> >> SOURCEFILE /usr/local/whoisd/conf/sources.config.sample >> >> >> ###################### >> ### >> ### LOGFILE DEFINITIONS >> ### >> ###################### >> >> ## These variables indicate base filenames; >> ## the subdirectories have to be created manually beforehand. >> >> ## >> ## Query log >> ## >> >> QRYLOG /usr/local/whoisd/log/qry/qrylog >> >> ## >> ## Error logs >> ## >> >> # >> # All dbupdate errors (only needed if you use dbupdate) >> >> DBUPERR /usr/local/whoisd/log/dbuperr/dbuperrlog >> >> # >> # All whois_rip errors >> >> ALLRIPERR /usr/local/whoisd/log/riperr/riperrlog >> >> # >> # Audit log: security-related messages >> >> RIPAUDIT /usr/local/whoisd/log/audit/auditlog >> >> # >> # Mirroring log >> >> RIPMIRLOG /usr/local/whoisd/log/mirror/mirrorlog >> >> # >> # Server log: all administration messages (startup, shutdown, etc) >> # and errors >> >> RIPSVRLOG /usr/local/whoisd/log/svr/svrlog >> >> # >> # SQL errors >> >> SQLOG /usr/local/whoisd/log/sql/sqlog >> >> # >> # All update transactions are logged here >> >> RIPUPDLOG /usr/local/whoisd/log/ripupd/ripupdlog >> >> >> ## >> ## Update logs >> ## You need them only if you use dbupdate >> ## >> >> # >> # The file where all update requests are logged >> # It must be rotated externally if needed >> >> UPDLOG /usr/local/whoisd/log/upd/updlog >> >> # >> # The file where all acknowledgements are logged >> # It must be rotated externally if needed >> >> ACKLOG /usr/local/whoisd/log/ack/acklog >> >> # >> # The file where all notifications are logged >> # It must be rotated externally if needed >> >> NOTIFLOG /usr/local/whoisd/log/notif/notiflog >> >> # >> # The file where all forwardings are logged >> # It must be rotated externally if needed >> >> FORWLOG /usr/local/whoisd/log/forw/forwlog >> >> ###################### >> ### >> ### WHOISD VARIABLES >> ### >> ###################### >> >> # >> # KEEPOPEN [not implemented yet] >> # Keep connection open for at most KEEPOPEN seconds for >> # network updates & whoisd '-k' keep connection open option >> >> KEEPOPEN 180 >> >> # >> # Port for the whois server >> >> SVWHOIS_PORT 43001 >> >> # >> # Port for the config interface >> >> SVCONFIG_PORT 43002 >> >> # >> # Port for the mirroring server >> >> SVMIRROR_PORT 43003 >> >> >> ########### >> ## >> ## Files >> ## >> >> # >> # Location of the help file printed in response >> # to "whois help" queries >> >> PW_HELP_FILE /usr/local/whoisd/doc/WHOIS-HELP >> >> >> ########### >> ## >> ## Access control >> ## >> >> ## >> ## In short, access control works in the following way: >> ## the more you query, the more your "ACL points" grow, >> ## until at a certain point you are blocked. >> ## First temporarily, then permanently. >> ## For temporary blocks, your points decay in time. >> ## These variables configure the decay time. >> >> ## (You probably don't want to change these variables). >> >> # >> # Interval of the decay (in seconds) >> >> AC_DECAY_INTERVAL 600 >> >> # >> # Halflife of the decay (in seconds) >> >> AC_DECAY_HALFLIFE 43200 >> >> # >> # auto save of access tree >> >> AC_AUTO_SAVE 1 >> >> # >> # Startup loading of access tree data stored on persistence >> >> AC_LOAD 1 >> >> # >> # Interval of making persistence (in seconds) >> >> AC_SAVE_INTERVAL 1200 >> >> >> ########### >> ## >> ## Response texts >> ## >> >> ## The only things you need to change here are the >> ## pointers to your own URLs and specific site-related information. >> >> # >> # Banner. This text comes out before the query is answered. >> >> PW_BANNER % This is the MyDB Whois server. >> >> # >> # Standard response header >> >> PW_RESP_HEADER % Rights restricted by copyright. >> PW_RESP_HEADER % See http://www.mydb.net/db/copyright.html >> >> # >> # Access control limit reached >> >> PW_FMT_LIMIT_REACHED %%ERROR:202: access control limit reached for %s >> PW_FMT_LIMIT_REACHED %% >> PW_FMT_LIMIT_REACHED %% You have reached the limit of returned contact >> information objects. >> PW_FMT_LIMIT_REACHED %% This connection will be terminated now. >> PW_FMT_LIMIT_REACHED %% Continued attempts to return excessive amounts >> of contact >> PW_FMT_LIMIT_REACHED %% information will result in permanent denial of >> service. >> PW_FMT_LIMIT_REACHED %% Please do not try to use CONTACT information in >> PW_FMT_LIMIT_REACHED %% My Database for non-operational purposes. >> PW_FMT_LIMIT_REACHED %% Refer to http://www.mydb.net/db/copyright.html >> for more information. >> >> # >> # Access denied permanently >> >> PW_FMT_ACL_PERMDENY %%ERROR:201: access denied for %s >> PW_FMT_ACL_PERMDENY %% >> PW_FMT_ACL_PERMDENY %% Sorry, access from your host has been permanently >> denied >> PW_FMT_ACL_PERMDENY %% because of a repeated abusive behaviour. >> PW_FMT_ACL_PERMDENY %% Please contact for unblocking. >> >> # >> # Too many connections from the host >> >> PW_FMT_ACL_CONNDENY %%ERROR:208: connection refused for %s >> PW_FMT_ACL_CONNDENY %% >> PW_FMT_ACL_CONNDENY %% Sorry, your connection is refused. >> PW_FMT_ACL_CONNDENY %% Too many simultaneous connections from your host. >> >> ## >> ## You don't need to change the following response texts >> ## >> >> # >> # No key supplied in query >> >> PW_ERR_NOKEY %ERROR:106: no search key specified >> PW_ERR_NOKEY % >> PW_ERR_NOKEY % No search key specified >> >> # Line too long >> >> PW_ERR_LINETOOLONG %ERROR:107: input line too long >> PW_ERR_LINETOOLONG % >> PW_ERR_LINETOOLONG % Input exceeds the maximum line length. >> >> # >> # For data retrieved with the "-K" flag >> >> PW_K_FILTER % Note: this output has been filtered. >> PW_K_FILTER % Only primary keys will be visible. >> PW_K_FILTER % Contact information will not be shown >> >> # >> # User is not authorised to pass IP addresses with "-V" flag >> >> PW_FMT_ACL_ADDRPASS %%ERROR:203: address passing not allowed for %s >> PW_FMT_ACL_ADDRPASS %% >> PW_FMT_ACL_ADDRPASS %% Sorry, you are not allowed to pass addresses on >> the query line . >> PW_FMT_ACL_ADDRPASS %% Please contact us for such permission. For the >> moment, continuing >> PW_FMT_ACL_ADDRPASS %% this will cause permanent denial of access. >> >> # >> # No object found >> >> PW_NOTFOUND %ERROR:101: no entries found >> PW_NOTFOUND % >> PW_NOTFOUND % No entries found in the selected source(s). >> >> # >> # The connection is administratively or abnormally closed >> >> PW_CONNCLOSED %ERROR:301: connection has been closed >> PW_CONNCLOSED % >> PW_CONNCLOSED % The connection has been closed. >> >> # >> # Unknown attribute in query >> >> QC_FMT_BADATTR %%ERROR:104: unknown attribute >> QC_FMT_BADATTR %% >> QC_FMT_BADATTR %% "%s" is not a known attribute. >> >> # >> # The attribute specified is not inverse searchable >> >> QC_FMT_ATTRNOTINV %%ERROR:105: attribute is not searchable >> QC_FMT_ATTRNOTINV %% >> QC_FMT_ATTRNOTINV %% "%s" is not an inverse searchable attribute. >> >> # Illegal character in query >> >> QC_BADINPUT %ERROR:108: bad character in input >> QC_BADINPUT % >> QC_BADINPUT % An invalid character was passed in the query. Allowed >> QC_BADINPUT % characters are letters, numbers, and these: -_:+=.,@/?'. >> >> # >> # There is no such source >> >> QC_FMT_BADSOURCE %%ERROR:102: unknown source >> QC_FMT_BADSOURCE %% >> QC_FMT_BADSOURCE %% "%s" is not a known source. >> QC_FMT_BADSOURCE %% Use "-q sources" to list known sources. >> >> >> # >> # There is no such object type >> >> QC_FMT_BADOBJTYPE %%ERROR:103: unknown object type >> QC_FMT_BADOBJTYPE %% >> QC_FMT_BADOBJTYPE %% "%s" is not a known object type. >> QC_FMT_BADOBJTYPE %% Use "-q types" to list known object types. >> >> # >> # Multiple "-V" flags were used to pass IP addresses >> >> QC_DUPPROXYIPFLAG %ERROR:205: multiple addresses passed by proxy >> QC_DUPPROXYIPFLAG % >> QC_DUPPROXYIPFLAG % More than one -V flag passed the address of a >> client. >> QC_DUPPROXYIPFLAG % This is an error in the proxy server. Please >> contact >> QC_DUPPROXYIPFLAG % the administrator of the server and report this >> error. >> >> # >> # Duplicate IP flags >> QC_FMT_DUPIPFLAG %%WARNING:901: duplicate IP flags passed >> QC_FMT_DUPIPFLAG %% >> QC_FMT_DUPIPFLAG %% More than one IP flag (-l, -L, -m, -M, -x, or -c) >> passed to the server. >> QC_FMT_DUPIPFLAG %% Only "-%s" will be used for this query. >> >> # >> # Useless IP flags >> >> QC_USELESSIPFLAG %WARNING:902: useless IP flag passed >> QC_USELESSIPFLAG % >> QC_USELESSIPFLAG % An IP flag (-l, -L, -m, -M, -x, or -c) used without >> an IP key. >> >> # >> # Useless no-referral flag >> >> QC_USELESSNOREFFLAG %WARNING:904: useless no-referral flag passed >> QC_USELESSNOREFFLAG % >> QC_USELESSNOREFFLAG % The -R flag used for a non-domain key. >> >> # >> # Fixed lookup >> >> QC_FMT_FIXEDLOOKUP %%WARNING:905: fixed lookup key >> QC_FMT_FIXEDLOOKUP %% >> QC_FMT_FIXEDLOOKUP %% The key "%s" has been changed to "%s" for lookup. >> >> >> >> ## >> ## Referral texts >> ## (You probably don't want to change them) >> ## >> >> # >> # Referral timeout (in seconds) >> >> REFERRALTIMEOUT 15 >> >> # >> # Referral timeout error >> >> QI_REF_TMOUT %ERROR:302: referral timeout >> QI_REF_TMOUT % >> QI_REF_TMOUT % Referral timeout >> >> # >> # Maximum referral lines allowed >> >> REFERRALMAXLINES 250 >> >> # >> # Maximum referral lines exceeded message >> >> QI_REF_OVERMAXLIN %ERROR:204: maximum referral lines exceeded >> QI_REF_OVERMAXLIN % >> QI_REF_OVERMAXLIN % Referral reply line limit exceeded >> >> # >> # No referral host >> >> QI_REF_BADHOST %ERROR:303: no referral host >> QI_REF_BADHOST % >> QI_REF_BADHOST % Referral host not found >> >> # >> # Host not responding >> >> QI_REF_HOSTNOTTRESP %ERROR:304: referral host not responding >> QI_REF_HOSTNOTTRESP % >> QI_REF_HOSTNOTTRESP % Referral host not responding >> >> # >> # Referral header >> >> QI_FMT_REFHEADER %% The object shown below is NOT in the %s database. >> QI_FMT_REFHEADER %% It has been obtained by querying a remote server: >> QI_FMT_REFHEADER %% (%s) at port %d. >> QI_FMT_REFHEADER %% To see the object stored in the %s database >> QI_FMT_REFHEADER %% use the -R flag in your query >> QI_FMT_REFHEADER %% >> QI_FMT_REFHEADER %%REFERRAL START >> >> # >> # Referral trailer >> >> QI_REFTRAILER %%REFERRAL END >> >> >> >> >> ###################### >> ### >> ### DBUPDATE VARIABLES >> ### >> ###################### >> >> ## >> ## You don't need to change *anything* below this point >> ## if you are not using dbupdate! >> ## >> >> >> ########### >> ## >> ## Sources >> ## >> >> # >> # The update source. The format is: >> # >> # (NOTE....this line is split on spaces and commas >> # so make sure the format is matched exactly.) >> # >> # UPDSOURCE SRCname DB-details whois_rip-host,QRY-port,UPD-port >> # >> # where >> # >> # DB-details = MySQL_Host,MySQL_Port,MySQL_User,MySQL_Password,MySQL_DB >> >> UPDSOURCE SAMPLE sqlhost,3306,dbuser,dbpsw,SAMPLEDB >> whois.mydb.net,43001,43004 >> >> >> ########### >> ## >> ## Auth Methods >> ## >> >> # valid authentication methods accepted by dbupdate >> >> AUTHMETHOD NONE >> AUTHMETHOD CRYPT-PW >> AUTHMETHOD MD5-PW >> AUTHMETHOD PGPKEY >> >> >> ########### >> ## >> ## Settings >> ## >> >> # >> # Run database sw in test mode? >> # If set, the mntner and as-block creation requests are >> # automatically processed and not sent to HUMAILBOX >> >> TESTMODE 0 >> >> # >> # Crypted password to override all security for updates >> # >> # Example usage: >> # >> # object: My Object >> # [...] >> # source: MYSRC >> # override: Reason_for_overriding_all_security Password >> # >> # [ This sample crypted password correspond to the word "password" ] >> >> OVERRIDECRYPTEDPW 1F.5OTsRVjwLo >> >> # >> # ALLOCMNT >> # List of maintainers which can create an inetnum object >> # with status ALLOCATED (one per line or space separated list >> # or combination of the above) >> >> ALLOCMNT MY-OWN-MNT >> >> ########### >> ## >> ## Files >> ## >> >> # ack and notif message templates >> ACKTEMPLATE /usr/local/whoisd/conf/ack_template >> NOTIFTEMPLATE /usr/local/whoisd/conf/notif_template >> FRWDTEMPLATE /usr/local/whoisd/conf/frwd_template >> FORWCREATETEMPLATE /usr/local/whoisd/conf/forw_create_template >> >> >> # >> # UPDATELOCK [not implemented yet] >> # Name of the lockfile for stopping updates >> # It will be located in LOCKDIR >> # Just the existence of this file will block all updates >> >> UPDATELOCK STOPUPDATES >> >> # >> # The directory where the GPG process stores >> # the server's public keyring. >> >> PGPPATH /usr/local/whoisd/.gnupg >> >> >> ########### >> ## >> ## Commands >> ## >> >> # >> # GPGCMD >> # Full pathname of your gpg executable >> >> GPGCMD /usr/bin/gpg >> >> # >> # MAILCMD is the command into which a composed e-mail is given as >> standard >> # input, to be send as mail. The message piped into this command has ALL >> # the necessary mail header to process the mail: >> # From: >> # To: >> # Subject: >> # The mail command should take the recipients from the actual message. >> # Using sendmail it will be executed as: /usr/lib/sendmail -t < >> "messagefile" >> # (default: /usr/lib/sendmail -t) >> # >> # NOTE: >> # -fmy-dbm makes my-dbm the trusted user that will appear on the >> # envelope. Bounces will go to this address. If you do not specify >> # this, sendmail will send bounces straight back to the automatic >> # mailbox, where it will bounce again, and again, .... >> # User has to be a trusted user, T in sendmail.cf. >> >> MAILCMD /usr/lib/sendmail -fmy-dbm -t >> >> >> ########### >> ## >> ## E-mail settings >> ## >> >> # >> # HUMAILBOX is a human mailbox, used for forwarding >> # special objects. IT MUST NOT BE THE AUTOMATIC MAILBOX!!!! >> >> HUMAILBOX my-dbm at mydb.net >> >> # >> # AUTOBOX is the mailbox used for automatic updates. >> # The users must send mail to this address (and not >> # HUMAILBOX) to get their updates processed. >> >> AUTOBOX auto-dbm at mydb.net >> >> # DEFMAIL is the mailbox used when no mail notifications or >> acknowledgements >> # both as to and from address in various places. >> >> DEFMAIL my-dbm at ripe.net >> >> ########### >> ## >> ## nic suffixes >> ## >> >> NICSUFFIX RIPE >> NICSUFFIX ORG >> NICSUFFIX ARIN >> NICSUFFIX LACNIC >> NICSUFFIX RADB >> NICSUFFIX APNIC >> NICSUFFIX RIPN >> >> >> ########### >> ## >> ## Countries >> ## >> >> ## >> ## A list of valid ISO country codes for inetnum checks >> ## You probably will never have to modify this >> ## >> >> COUNTRY AD >> COUNTRY AE >> COUNTRY AF >> COUNTRY AG >> COUNTRY AI >> COUNTRY AL >> COUNTRY AM >> COUNTRY AN >> COUNTRY AO >> COUNTRY AQ >> COUNTRY AR >> COUNTRY AS >> COUNTRY AT >> COUNTRY AU >> COUNTRY AW >> COUNTRY AZ >> COUNTRY BA >> COUNTRY BB >> COUNTRY BD >> COUNTRY BE >> COUNTRY BF >> COUNTRY BG >> COUNTRY BH >> COUNTRY BI >> COUNTRY BJ >> COUNTRY BM >> COUNTRY BN >> COUNTRY BO >> COUNTRY BR >> COUNTRY BS >> COUNTRY BT >> COUNTRY BV >> COUNTRY BW >> COUNTRY BY >> COUNTRY BZ >> COUNTRY CA >> COUNTRY CC >> COUNTRY CD >> COUNTRY CF >> COUNTRY CG >> COUNTRY CH >> COUNTRY CI >> COUNTRY CK >> COUNTRY CL >> COUNTRY CM >> COUNTRY CN >> COUNTRY CO >> COUNTRY CR >> COUNTRY CU >> COUNTRY CV >> COUNTRY CX >> COUNTRY CY >> COUNTRY CZ >> COUNTRY DE >> COUNTRY DJ >> COUNTRY DK >> COUNTRY DM >> COUNTRY DO >> COUNTRY DZ >> COUNTRY EC >> COUNTRY EE >> COUNTRY EG >> COUNTRY EH >> COUNTRY ER >> COUNTRY ES >> COUNTRY ET >> COUNTRY EU >> COUNTRY FI >> COUNTRY FJ >> COUNTRY FK >> COUNTRY FM >> COUNTRY FO >> COUNTRY FR >> COUNTRY FX >> COUNTRY GA >> COUNTRY GB >> COUNTRY GD >> COUNTRY GE >> COUNTRY GF >> COUNTRY GH >> COUNTRY GI >> COUNTRY GL >> COUNTRY GM >> COUNTRY GN >> COUNTRY GP >> COUNTRY GQ >> COUNTRY GR >> COUNTRY GS >> COUNTRY GT >> COUNTRY GU >> COUNTRY GW >> COUNTRY GY >> COUNTRY HK >> COUNTRY HM >> COUNTRY HN >> COUNTRY HR >> COUNTRY HT >> COUNTRY HU >> COUNTRY ID >> COUNTRY IE >> COUNTRY IL >> COUNTRY IN >> COUNTRY IO >> COUNTRY IQ >> COUNTRY IR >> COUNTRY IS >> COUNTRY IT >> COUNTRY JM >> COUNTRY JO >> COUNTRY JP >> COUNTRY KE >> COUNTRY KG >> COUNTRY KH >> COUNTRY KI >> COUNTRY KM >> COUNTRY KN >> COUNTRY KP >> COUNTRY KR >> COUNTRY KW >> COUNTRY KY >> COUNTRY KZ >> COUNTRY LA >> COUNTRY LB >> COUNTRY LC >> COUNTRY LI >> COUNTRY LK >> COUNTRY LR >> COUNTRY LS >> COUNTRY LT >> COUNTRY LU >> COUNTRY LV >> COUNTRY LY >> COUNTRY MA >> COUNTRY MC >> COUNTRY MD >> COUNTRY MG >> COUNTRY MH >> COUNTRY MK >> COUNTRY ML >> COUNTRY MM >> COUNTRY MN >> COUNTRY MO >> COUNTRY MP >> COUNTRY MQ >> COUNTRY MR >> COUNTRY MS >> COUNTRY MT >> COUNTRY MU >> COUNTRY MV >> COUNTRY MW >> COUNTRY MX >> COUNTRY MY >> COUNTRY MZ >> COUNTRY NA >> COUNTRY NC >> COUNTRY NE >> COUNTRY NF >> COUNTRY NG >> COUNTRY NI >> COUNTRY NL >> COUNTRY NO >> COUNTRY NP >> COUNTRY NR >> COUNTRY NU >> COUNTRY NZ >> COUNTRY OM >> COUNTRY PA >> COUNTRY PE >> COUNTRY PF >> COUNTRY PG >> COUNTRY PH >> COUNTRY PK >> COUNTRY PL >> COUNTRY PM >> COUNTRY PN >> COUNTRY PR >> COUNTRY PS >> COUNTRY PT >> COUNTRY PW >> COUNTRY PY >> COUNTRY QA >> COUNTRY RE >> COUNTRY RO >> COUNTRY RU >> COUNTRY RW >> COUNTRY SA >> COUNTRY SB >> COUNTRY SC >> COUNTRY SD >> COUNTRY SE >> COUNTRY SG >> COUNTRY SH >> COUNTRY SI >> COUNTRY SJ >> COUNTRY SK >> COUNTRY SL >> COUNTRY SM >> COUNTRY SN >> COUNTRY SO >> COUNTRY SR >> COUNTRY ST >> COUNTRY SV >> COUNTRY SY >> COUNTRY SZ >> COUNTRY TC >> COUNTRY TD >> COUNTRY TF >> COUNTRY TG >> COUNTRY TH >> COUNTRY TJ >> COUNTRY TK >> COUNTRY TM >> COUNTRY TN >> COUNTRY TO >> COUNTRY TP >> COUNTRY TR >> COUNTRY TT >> COUNTRY TV >> COUNTRY TW >> COUNTRY TZ >> COUNTRY UA >> COUNTRY UG >> COUNTRY UM >> COUNTRY US >> COUNTRY UY >> COUNTRY UZ >> COUNTRY VA >> COUNTRY VC >> COUNTRY VE >> COUNTRY VG >> COUNTRY VI >> COUNTRY VN >> COUNTRY VU >> COUNTRY WF >> COUNTRY WS >> COUNTRY YE >> COUNTRY YT >> COUNTRY YU >> COUNTRY ZA >> COUNTRY ZM >> COUNTRY ZW > > -- > Engin Gunduz > RIPE NCC Software Engineering Department > > From engin at ripe.net Thu Jun 3 15:09:00 2004 From: engin at ripe.net (Engin Gunduz) Date: Thu, 3 Jun 2004 15:09:00 +0200 Subject: ripe whois database install [NCC#2004060182] In-Reply-To: <3300.81.91.225.140.1086263678.squirrel@mail.intnet.bj> References: <3107.81.91.225.139.1086114488.squirrel@mail.intnet.bj> <20040602080527.GA23929@x47.ripe.net> <3539.81.91.225.139.1086174835.squirrel@mail.intnet.bj> <20040602133911.GF31796@x47.ripe.net> <3300.81.91.225.140.1086263678.squirrel@mail.intnet.bj> Message-ID: <20040603130900.GA26303@x47.ripe.net> On 2004-06-03 12:54:38 +0100, dosfrk at intnet.bj wrote: > Hi! > I finish installing my whois server and run it without error, > but how can I create or manage the objects? > is it by dbupdate command? Yes. Please have a look into INSTALL file in the distribution. The DB Reference Manual might come handy too. Unfortunately there isn't a DB Administration Manual as such. Regards, If you have any more questions, please don't hesitate to contact . Regards, Engin Gunduz ____________________________ RIPE Database Administration. > do you know a tutorial about this? > Regards. > > > > dosfrk, > > My best guess is: Your sql password is longer than 8 chars (which is the > > upper limit). If so, please set it to a password shorter than or equal > > to 8 chars, change it in your config, and retry. Please let me know > > of the result. > > Regards, > > > > On 2004-06-02 12:13:55 +0100, dosfrk at intnet.bj wrote: > >> Thank Engin! > >> These are config.sample files! > >> > >> regards > >> > >> > dosfrk, > >> > > >> > There must be a problem in your configuration files. > >> > Could you please send your rip.config.sample and the > >> > source.config file that is mentioned in your rip.config.sample > >> > to ? > >> > Please remember to obfuscate the passwords in them. > >> > > >> > Regards, > >> > > >> > On 2004-06-01 19:28:08 +0100, dosfrk at intnet.bj wrote: > >> >> Hi, > >> >> I've got an error when attempt to run make_db script during > >> >> ripe-dbase-3.2.0 installation: > >> >> ./make_db -c /usr/local/whoisd/conf/rip.config.sample -s SAMPLE -1 > >> >> Error: Non-existent database "SAMPLEDB" referenced !!! > >> >> died: +792 ca_sourceLoader.c > >> >> ************** ERROR *************** > >> >> *** 18:31:02 unknown source SAMPLE > >> >> ************************************ > >> >> > >> >> I made change in my source.sample file : > >> >> DATABASE SAMPLEDB > >> >> host: localhost > >> >> port: 3306 > >> >> trx_support: n > >> >> user: whois_admin > >> >> password: ******** > >> >> /DATABASE > >> >> > >> >> Any ideas? > >> >> > >> >> Kind regards. > >> > > >> > -- > >> > Engin Gunduz > >> > RIPE NCC Software Engineering Department > >> >