Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import dump failed #377

Open
jiexian opened this issue May 17, 2016 · 10 comments
Open

Import dump failed #377

jiexian opened this issue May 17, 2016 · 10 comments
Labels

Comments

@jiexian
Copy link

jiexian commented May 17, 2016

I get an error when I try to import ripe.db.tar.gz, like this:

Error in pass 1 in '[role] ROLE-RIPE ROLE Account of NETwork.ORGanization': java.lang.IllegalStateException: Object with type: 11 and pkey: ROLE-RIPE already exists

Did I create a schema with wrong script?

@ozkanpakdil
Copy link

I am having same error.

@timbru timbru added the bug label Oct 26, 2016
@timbru
Copy link

timbru commented Oct 26, 2016

Our apologies for the delay. I have tweaked the notification settings, but for urgent issues please always contact [email protected].

In any case we are now looking into this issue.

@qistoph
Copy link

qistoph commented Oct 23, 2019

Runnig into the same issue, I've found that it might be because of two records that have nic-hdl = ROLE-RIPE:

role:           Placeholder Role Object
address:        RIPE Network Coordination Centre
address:        P.O. Box 10096
address:        1001 EB Amsterdam
address:        The Netherlands
phone:          +31 20 535 4444
e-mail:         [email protected]
admin-c:        DUMY-RIPE
tech-c:         DUMY-RIPE
nic-hdl:        ROLE-RIPE
mnt-by:         RIPE-DBM-MNT
remarks:        **********************************************************
remarks:        * This is a placeholder object to protect personal data.
remarks:        * To view the original object, please query the RIPE
remarks:        * Database at:
remarks:        * http://www.ripe.net/whois
remarks:        **********************************************************
created:        2009-07-24T17:00:00Z
last-modified:  2009-07-24T17:00:00Z
source:         RIPE
role:           ROLE Account of NETwork.ORGanization
address:        Dummy address for ROLE-RIPE
phone:          +31205354444
fax-no:         +31205354444
e-mail:         [email protected]
remarks:        --------------------------------------------
remarks:        trouble:      info: http://www.network.org/
remarks:        trouble:      mail: [email protected]
remarks:        trouble:      abuse: [email protected]
remarks:        --------------------------------------------
abuse-mailbox:  [email protected]
admin-c:        DUMY-RIPE
tech-c:         DUMY-RIPE
nic-hdl:        ROLE-RIPE
notify:         [email protected]
mnt-by:         NETWORK-MNT
remarks:        --------------------------------------------
remarks:        19990903 activate
remarks:        20000516 change
remarks:        20000630 change
remarks:        20010222 change
remarks:        20010806 change
remarks:        20011119 change of description
remarks:        20030319 change Austria
remarks:        20030901 change description
remarks:        20050101 change description
remarks:        20070208 change mails
remarks:        --------------------------------------------
created:        2001-11-19T18:20:53Z
last-modified:  2013-09-02T23:35:05Z
source:         RIPE
remarks:        ****************************
remarks:        * THIS OBJECT IS MODIFIED
remarks:        * Please note that all data that is generally regarded as personal
remarks:        * data has been removed from this object.
remarks:        * To view the original object, please query the RIPE Database at:
remarks:        * http://www.ripe.net/whois
remarks:        ****************************

@qistoph
Copy link

qistoph commented Oct 23, 2019

Another exception occurs when importing the ripe.db.gz:

Missing references: [RS-QNET]

RS-QNET is referred three times, but not defined in the dataset:

# zgrep 'RS-QNET' ripe.db.gz
member-of:      RS-QNET
member-of:      RS-QNET
member-of:      RS-QNET

It seems the ripe.db.gz contains inconsistencies that the whois application is not accepting.

@eshryane
Copy link
Member

Apologies we haven't given this issue our attention, we will investigate shortly.

As a workaround I would recommend you remove the offending duplicate ROLE object (role: ROLE Account of NETwork.ORGanization, nic-hdl: ROLE-RIPE) from the database dump prior to loading it.

@SaltyHash123
Copy link

any updates on the issue?

@m-berto
Copy link

m-berto commented Jun 18, 2021

Hi! Same problem. Any news?

@SaltyHash123
Copy link

seems that they did not fix it. I had to remove it by hand

@m-berto
Copy link

m-berto commented Jun 18, 2021

did you remove it from the ripe.db.gz?

@SaltyHash123
Copy link

yes. I had to unzip the file, remove it using vim and then zip again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants