FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

 
 
LinkBack Thread Tools
 
Old 04-25-2011, 04:13 PM
Diego Woitasen
 
Default Error using db2ldif to backup NetscapeRoot

Hi,*I'm using db2ldiff to backup all my databases (139). It works fine for all databases but NetscapeRoot.The ldiff is written but there is an weird output when I run the command:
*/opt/dirsrv/lib/dirsrv/slapd-mreldc03/db2ldif -n NetscapeRoot -a /tmp/xx
Exported ldif file: /tmp/xxldiffile: /tmp/xx[25/Apr/2011:13:02:12 -0300] ldif2dbm - _get_and_add_parent_rdns: Failed to position at ID 170[25/Apr/2011:13:02:12 -0300] - ldbm2ldif: Failed to get dn of ID 170
[25/Apr/2011:13:02:12 -0300] ldif2dbm - _get_and_add_parent_rdns: Failed to position at ID 170[25/Apr/2011:13:02:12 -0300] - ldbm2ldif: Failed to get dn of ID 171[25/Apr/2011:13:02:12 -0300] ldif2dbm - _get_and_add_parent_rdns: Failed to position at ID 170
[25/Apr/2011:13:02:12 -0300] - ldbm2ldif: Failed to get dn of ID 172[25/Apr/2011:13:02:12 -0300] ldif2dbm - _get_and_add_parent_rdns: Failed to position at ID 170...
.[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get dn of ID 337[25/Apr/2011:13:11:28 -0300] ldif2dbm - _get_and_add_parent_rdns: Failed to position at ID 294[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get dn of ID 325
[25/Apr/2011:13:11:28 -0300] ldif2dbm - _get_and_add_parent_rdns: Failed to position at ID 294[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get dn of ID 353[25/Apr/2011:13:11:28 -0300] ldif2dbm - _get_and_add_parent_rdns: Failed to position at ID 294
[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get dn of ID 353[25/Apr/2011:13:11:28 -0300] - export NetscapeRoot: Processed 267 entries (100%).[25/Apr/2011:13:11:28 -0300] - All database threads now stopped


Shall I worry about that lines?
Regards,*Diego
--
Diego Woitasen


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 04-25-2011, 04:19 PM
Rich Megginson
 
Default Error using db2ldif to backup NetscapeRoot

On 04/25/2011 10:13 AM, Diego Woitasen wrote:
Hi,
*I'm using db2ldiff to backup all my databases (139). It
works fine for all databases but NetscapeRoot.The ldiff is
written but there is an weird output when I run the command:




*/opt/dirsrv/lib/dirsrv/slapd-mreldc03/db2ldif -n
NetscapeRoot -a /tmp/xx
Exported ldif file: /tmp/xx
ldiffile: /tmp/xx
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 170
[25/Apr/2011:13:02:12 -0300] - ldbm2ldif: Failed to get dn
of ID 170
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 170
[25/Apr/2011:13:02:12 -0300] - ldbm2ldif: Failed to get dn
of ID 171
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 170
[25/Apr/2011:13:02:12 -0300] - ldbm2ldif: Failed to get dn
of ID 172
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 170
.
.
.

.

[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get
dn of ID 337
[25/Apr/2011:13:11:28 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 294
[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get
dn of ID 325
[25/Apr/2011:13:11:28 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 294
[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get
dn of ID 353
[25/Apr/2011:13:11:28 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 294
[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get
dn of ID 353
[25/Apr/2011:13:11:28 -0300] - export NetscapeRoot:
Processed 267 entries (100%).
[25/Apr/2011:13:11:28 -0300] - All database threads now
stopped







Shall I worry about that lines?


389-ds-base version?* If not 1.2.8.2, can you try with 1.2.8.2?






Regards,
*Diego


--

Diego Woitasen




--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users





--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 04-25-2011, 04:26 PM
Diego Woitasen
 
Default Error using db2ldif to backup NetscapeRoot

On Mon, Apr 25, 2011 at 1:19 PM, Rich Megginson <rmeggins@redhat.com> wrote:








On 04/25/2011 10:13 AM, Diego Woitasen wrote:
Hi,
*I'm using db2ldiff to backup all my databases (139). It
works fine for all databases but NetscapeRoot.The ldiff is
written but there is an weird output when I run the command:




*/opt/dirsrv/lib/dirsrv/slapd-mreldc03/db2ldif -n
NetscapeRoot -a /tmp/xx
Exported ldif file: /tmp/xx
ldiffile: /tmp/xx
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 170
[25/Apr/2011:13:02:12 -0300] - ldbm2ldif: Failed to get dn
of ID 170
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 170
[25/Apr/2011:13:02:12 -0300] - ldbm2ldif: Failed to get dn
of ID 171
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 170
[25/Apr/2011:13:02:12 -0300] - ldbm2ldif: Failed to get dn
of ID 172
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 170
.
.
.

.

[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get
dn of ID 337
[25/Apr/2011:13:11:28 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 294
[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get
dn of ID 325
[25/Apr/2011:13:11:28 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 294
[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get
dn of ID 353
[25/Apr/2011:13:11:28 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 294
[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get
dn of ID 353
[25/Apr/2011:13:11:28 -0300] - export NetscapeRoot:
Processed 267 entries (100%).
[25/Apr/2011:13:11:28 -0300] - All database threads now
stopped







Shall I worry about that lines?


389-ds-base version?* If not 1.2.8.2, can you try with 1.2.8.2?






Regards,
*Diego


--

Diego Woitasen



--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users






/opt/dirsrv/sbin/ns-slapd --version389 Project389-Directory/1.2.8.2 B2011.105.012

--
Diego Woitasen


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 04-25-2011, 04:27 PM
Diego Woitasen
 
Default Error using db2ldif to backup NetscapeRoot

On Mon, Apr 25, 2011 at 1:26 PM, Diego Woitasen <diego@woitasen.com.ar> wrote:



On Mon, Apr 25, 2011 at 1:19 PM, Rich Megginson <rmeggins@redhat.com> wrote:









On 04/25/2011 10:13 AM, Diego Woitasen wrote:
Hi,
*I'm using db2ldiff to backup all my databases (139). It
works fine for all databases but NetscapeRoot.The ldiff is
written but there is an weird output when I run the command:




*/opt/dirsrv/lib/dirsrv/slapd-mreldc03/db2ldif -n
NetscapeRoot -a /tmp/xx
Exported ldif file: /tmp/xx
ldiffile: /tmp/xx
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 170
[25/Apr/2011:13:02:12 -0300] - ldbm2ldif: Failed to get dn
of ID 170
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 170
[25/Apr/2011:13:02:12 -0300] - ldbm2ldif: Failed to get dn
of ID 171
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 170
[25/Apr/2011:13:02:12 -0300] - ldbm2ldif: Failed to get dn
of ID 172
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 170
.
.
.

.

[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get
dn of ID 337
[25/Apr/2011:13:11:28 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 294
[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get
dn of ID 325
[25/Apr/2011:13:11:28 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 294
[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get
dn of ID 353
[25/Apr/2011:13:11:28 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to position at ID 294
[25/Apr/2011:13:11:28 -0300] - ldbm2ldif: Failed to get
dn of ID 353
[25/Apr/2011:13:11:28 -0300] - export NetscapeRoot:
Processed 267 entries (100%).
[25/Apr/2011:13:11:28 -0300] - All database threads now
stopped







Shall I worry about that lines?


389-ds-base version?* If not 1.2.8.2, can you try with 1.2.8.2?






Regards,
*Diego


--

Diego Woitasen



--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users






/opt/dirsrv/sbin/ns-slapd --version389 Project389-Directory/1.2.8.2 B2011.105.012


--
Diego Woitasen




I don't know if this is important or not but database was created with a previus version, 1.2.7.5 I think. I don't remember exactly, but is 1.2.5.7 or newer.



--
Diego Woitasen


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 04-25-2011, 04:27 PM
Rich Megginson
 
Default Error using db2ldif to backup NetscapeRoot

On 04/25/2011 10:27 AM, Diego Woitasen wrote:




On Mon, Apr 25, 2011 at 1:26 PM, Diego
Woitasen <diego@woitasen.com.ar>
wrote:







On Mon, Apr 25, 2011 at 1:19 PM,
Rich Megginson <rmeggins@redhat.com>
wrote:




On 04/25/2011 10:13 AM, Diego Woitasen
wrote:
Hi,
*I'm using db2ldiff to backup all my
databases (139). It works fine for all
databases but NetscapeRoot.The ldiff is
written but there is an weird output when I
run the command:




*/opt/dirsrv/lib/dirsrv/slapd-mreldc03/db2ldif
-n NetscapeRoot -a /tmp/xx
Exported ldif file: /tmp/xx
ldiffile: /tmp/xx
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to
position at ID 170
[25/Apr/2011:13:02:12 -0300] -
ldbm2ldif: Failed to get dn of ID 170
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to
position at ID 170
[25/Apr/2011:13:02:12 -0300] -
ldbm2ldif: Failed to get dn of ID 171
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to
position at ID 170
[25/Apr/2011:13:02:12 -0300] -
ldbm2ldif: Failed to get dn of ID 172
[25/Apr/2011:13:02:12 -0300] ldif2dbm -
_get_and_add_parent_rdns: Failed to
position at ID 170
.
.
.
.

[25/Apr/2011:13:11:28 -0300] -
ldbm2ldif: Failed to get dn of ID 337
[25/Apr/2011:13:11:28 -0300] ldif2dbm
- _get_and_add_parent_rdns: Failed to
position at ID 294
[25/Apr/2011:13:11:28 -0300] -
ldbm2ldif: Failed to get dn of ID 325
[25/Apr/2011:13:11:28 -0300] ldif2dbm
- _get_and_add_parent_rdns: Failed to
position at ID 294
[25/Apr/2011:13:11:28 -0300] -
ldbm2ldif: Failed to get dn of ID 353
[25/Apr/2011:13:11:28 -0300] ldif2dbm
- _get_and_add_parent_rdns: Failed to
position at ID 294
[25/Apr/2011:13:11:28 -0300] -
ldbm2ldif: Failed to get dn of ID 353
[25/Apr/2011:13:11:28 -0300] - export
NetscapeRoot: Processed 267 entries
(100%).
[25/Apr/2011:13:11:28 -0300] - All
database threads now stopped







Shall I worry about that lines?




389-ds-base version?* If not 1.2.8.2, can you try
with 1.2.8.2?






Regards,
*Diego


--

Diego Woitasen



--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users











/opt/dirsrv/sbin/ns-slapd --version
389 Project
389-Directory/1.2.8.2
B2011.105.012






--

Diego Woitasen







I don't know if this is important or not but database was
created with a previus version, 1.2.7.5 I think. I don't
remember exactly, but is 1.2.5.7 or newer.

You build your own packages from source, correct?* Try running
setup-ds.pl -u.










--

Diego Woitasen







--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 04-25-2011, 04:30 PM
Noriko Hosoi
 
Default Error using db2ldif to backup NetscapeRoot

On 04/25/2011 09:27 AM, Diego Woitasen wrote:




On Mon, Apr 25, 2011 at 1:26 PM, Diego
Woitasen <diego@woitasen.com.ar>
wrote:







On Mon, Apr 25, 2011 at 1:19 PM,
Rich Megginson <rmeggins@redhat.com>
wrote:




On 04/25/2011 10:13 AM, Diego Woitasen
wrote:
Hi,
*[...]






Shall I worry about that lines?




389-ds-base version?* If not 1.2.8.2, can you try
with 1.2.8.2?






Regards,
*Diego


--

Diego Woitasen



--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users











/opt/dirsrv/sbin/ns-slapd --version
389 Project
389-Directory/1.2.8.2
B2011.105.012






--

Diego Woitasen







I don't know if this is important or not but database was
created with a previus version, 1.2.7.5 I think. I don't
remember exactly, but is 1.2.5.7 or newer.

Could you share the output of this command line with us?

# dbscan -f
/var/lib/dirsrv/slapd-YOURID/db/NetscapeRoot/id2entry.db4


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 04-25-2011, 04:43 PM
Diego Woitasen
 
Default Error using db2ldif to backup NetscapeRoot

2011/4/25 Noriko Hosoi <nhosoi@redhat.com>







On 04/25/2011 09:27 AM, Diego Woitasen wrote:




On Mon, Apr 25, 2011 at 1:26 PM, Diego
Woitasen <diego@woitasen.com.ar>
wrote:







On Mon, Apr 25, 2011 at 1:19 PM,
Rich Megginson <rmeggins@redhat.com>
wrote:




On 04/25/2011 10:13 AM, Diego Woitasen
wrote:
Hi,
�[...]






Shall I worry about that lines?




389-ds-base version?� If not 1.2.8.2, can you try
with 1.2.8.2?






Regards,
�Diego


--

Diego Woitasen



--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users











/opt/dirsrv/sbin/ns-slapd --version
389 Project
389-Directory/1.2.8.2
B2011.105.012






--

Diego Woitasen







I don't know if this is important or not but database was
created with a previus version, 1.2.7.5 I think. I don't
remember exactly, but is 1.2.5.7 or newer.

Could you share the output of this command line with us?

# dbscan -f
/var/lib/dirsrv/slapd-YOURID/db/NetscapeRoot/id2entry.db4



--

389 users mailing list

389-users@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/389-users

The output is in�http://www.woitasen.com.ar/dbscan.out�(430K). Let me know if you forget to rename important information.

I haven't ran "db-setup.pl -u" yet. I have an error with a Perl module that I'm trying to fix now. (Can't locate auto/Mozilla/LDAP/API/prldap_inst.al).

Regards,�Diego
--
Diego Woitasen


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 04-25-2011, 04:43 PM
Rich Megginson
 
Default Error using db2ldif to backup NetscapeRoot

On 04/25/2011 10:43 AM, Diego Woitasen wrote:




2011/4/25 Noriko Hosoi <nhosoi@redhat.com>



On 04/25/2011 09:27 AM, Diego Woitasen
wrote:





On Mon, Apr 25, 2011 at 1:26 PM, Diego
Woitasen <diego@woitasen.com.ar>
wrote:









On Mon, Apr 25, 2011 at 1:19 PM,
Rich Megginson <rmeggins@redhat.com>
wrote:






On 04/25/2011 10:13 AM,
Diego Woitasen wrote:
Hi,
*[...]







Shall I worry about that
lines?





389-ds-base version?* If
not 1.2.8.2, can you try with 1.2.8.2?






Regards,
*Diego


--

Diego Woitasen



--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users













/opt/dirsrv/sbin/ns-slapd --version
389 Project
389-Directory/1.2.8.2
B2011.105.012






--

Diego Woitasen








I don't know if this is important or not but
database was created with a previus version, 1.2.7.5 I
think. I don't remember exactly, but is 1.2.5.7 or
newer.


Could you share the output of this command line with us?

# dbscan -f
/var/lib/dirsrv/slapd-YOURID/db/NetscapeRoot/id2entry.db4


--

389 users mailing list

389-users@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/389-users






The output is in*http://www.woitasen.com.ar/dbscan.out*(430K).
Let me know if you forget to rename important information.




I haven't ran "db-setup.pl -u" yet. I have an
error with a Perl module that I'm trying to fix now. (Can't
locate auto/Mozilla/LDAP/API/prldap_inst.al).

That's the perldap (perl-Mozilla-LDAP) package.





Regards,
*Diego



--

Diego Woitasen




--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users





--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 

Thread Tools




All times are GMT. The time now is 03:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org