Thanks for your help. Please help me to add the inetnum object.

i have created the following

RR1-SAMPLE, RR2-SAMPLE - person objects created
SAMPLE-MNT - mntner object created

I have the inetnum object input file like below
---------------
cat /usr/local/src/nic/ipcheck.input
inetnum:        10.11.12.0 - 10.11.12.255
netname:        NIC-NETWORK
descr:          THIS IS TESTING RANGE
country:        IN
admin-c:        RR1-SAMPLE
tech-c:         RR2-SAMPLE
status:         ASSIGNED PA
remarks:        This network should never be routed outside an enterprise
notify:         raja@nic.in
mnt-by:         SAMPLE-MNT
mnt-lower:         SAMPLE-MNT
mnt-routes:         SAMPLE-MNT
password:       redhat123
source:         SAMPLE
changed:        raja@nic.in     20070109
------------

i checked the range available by

whois -p 43001 -h knagalin.linux2all.net 10.11.12.0 - 10.11.12.255
[Querying knagalin.linux2all.net]
[knagalin.linux2all.net]
% This is the NIC Whois server.

% Note: this output has been filtered.

% Information related to '0.0.0.0 - 255.255.255.255'

inetnum:        0.0.0.0
+  -
+
  255.255.255.255
netname:
+
 WHOLE-IPV4
+
descr:          The Whole IPv4
country:        NL
remarks:        Country is really worldwide
+
admin-c:        RDBM-SAMPLE # admin contact
tech-c:         RDBM-SAMPLE # tech contact
status:         ALLOCATED PI
mnt-by:         TEST-DBM-MNT
source:         SAMPLE # Filtered

I try to add in my whois server database

[root@knagalin whoisd]# ./bin/dbupdate -c ./conf/rip.config.sample -f /usr/local/src/nic/ipcheck.input

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:         1
  Modify:         0
  Delete:         0
  Syntax Errors:  0


DETAILED EXPLANATION:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The following object(s) were found to have ERRORS:
---
Create FAILED: [inetnum] 10.11.12.0 - 10.11.12.255
***Info: Syntax check passed

inetnum:         10.11.12.0 - 10.11.12.255
netname:         NIC-NETWORK
descr:           THIS IS TESTING RANGE
country:         IN
admin-c:         RR1-SAMPLE
tech-c:          RR2-SAMPLE
status:          ASSIGNED PA
remarks:         This network should never be routed outside an enterprise
notify:                 raja@nic.in
mnt-by:          SAMPLE-MNT
mnt-lower:          SAMPLE-MNT
mnt-routes:          SAMPLE-MNT
source:          SAMPLE
changed:        raja@nic.in     20070109

Please tell me where i am making mistake, Please help me to add the inetnum object in my whoisd server database.

Waiting for your reply.

regards
Karthikeyan.N




On 1/9/07, RIPE Database Manager <ripe-dbm@ripe.net > wrote:
Dear Karthikeyan.N

As I pointed out to you yesterday it will be a good idea to read the

RIPE Database User Manual: Getting Started
http://www.ripe.net/ripe/docs/db-start.html

This clearly explains how to create objects in the RIPE Database and how to
query for them. It was written to help new users to get started.

The answer to your specific problem below is the '# Filtered' comment on
the "source:" line. The update program will not accept updates with filtered
query output.

You may also want to check your database naming as you have used nic-hdls
like AA1-TEST with a source of SAMPLE. Maybe these should both be either
TEST or SAMPLE.

--
Regards,
Denis Walker

RIPE Database Administration


On Tue, 9 Jan 2007 10:44:19 +0530, Linux Baby wrote:
* hi,
*      Can you give me one example for dbupdate command to
* create/delete/update
* objects using commandline/webinterface.
*
* regards
* Karthikeyan.N