Re: [Evolution] contacts are not back - ev .10 - ximian 2

2001-05-24 Thread Christopher James Lahey

On 23 May 2001 17:42:39 -0400, Fernando Pereira wrote:
 It works for RH 6.2, maybe it's a packaging problem with RH 7.1. What's
 suspicious here is that your file output is quite different from what
 I get
 
 $ file addressbook.db 
 addressbook.db: Berkeley DB 2.X Hash/Little Endian (Version 5, Logical
 sequence number: file - 0, offset - 0, Bucket Size 4096, Overflow Point
 3, Last Freed 0, Max Bucket 5, High Mask 0x7, Low Mask 0x3, Fill Factor
 0, Number of Keys 65)
 
 although the alleged version is the same. My db package is as follows
 
 $ rpm -qa | grep '^db'
 db3-3.1.17-4.6x

I'm almost positive you're using db2.  Version 5 is the db2 version.
  Chris


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/evolution



Re: [Evolution] contacts are not back - ev .10 - ximian 2

2001-05-24 Thread Rupert Heesom

On 24 May 2001 08:21:21 -0400, Fernando Pereira wrote:
 On 24 May 2001 07:01:11 -0400, Christopher James Lahey wrote:
  On 23 May 2001 17:42:39 -0400, Fernando Pereira wrote:
 After some investigation, I think I agree. There's a whole mess of db
 versions and symbolic links to db versions in /lib:
 
 -rwxr-xr-x1 root root   788401 Jan 15 10:49 libdb-2.1.3.so
 -rwxr-xr-x1 root root  1485823 Dec  1 18:02 libdb-3.1.so
 lrwxrwxrwx1 root root   15 Sep 26  2000 libdb.so.2 -
 libdb1-2.1.3.so
 lrwxrwxrwx1 root root   14 Sep 26  2000 libdb.so.3 -
 libdb-2.1.3.so
 -rwxr-xr-x1 root root   221411 Jan 15 10:49 libdb1-2.1.3.so
 lrwxrwxrwx1 root root   15 Sep 26  2000 libdb1.so.2 -
 libdb1-2.1.3.so
 
 and /usr/lib
 
 -rw-r--r--1 root root  3684062 Jan 15 10:49 libdb.a
 lrwxrwxrwx1 root root   20 Sep 26  2000 libdb.so -
 ../../lib/libdb.so.3
 -rw-r--r--1 root root   972154 Jan 15 10:49 libdb1.a
 lrwxrwxrwx1 root root   21 Sep 26  2000 libdb1.so -
 ../../lib/libdb1.so.2
 -rw-r--r--1 root root   977006 Jan 15 10:49 libdb1_p.a
 -rwxr-xr-x1 root root  1760542 Dec  1 18:02 libdb_cxx-3.1.so
 -rw-r--r--1 root root  3702978 Jan 15 10:49 libdb_p.a
 
 As you can see, /usr/lib/libdb.so links to a version 2 binary. 

What library file names is Evo SUPPOSED to use with the current library
version??   My lib directories are not as complicated, but are also
spread between /lib and /usr/lib.  /usr/lib was in my /etc/ld.so.conf,
/lib was not.  I added /lib into /etc/ld.so.conf, but that didn't help.
My lib directories -

[root@localhost lib]# ls -l /usr/lib/libdb*
-r--r--r--1 root root  7163034 Aug 30  2000
/usr/lib/libdb-3.1.a
-rw-r--r--1 root root  625 Aug 30  2000
/usr/lib/libdb-3.1.la
lrwxrwxrwx1 root root   12 May 24 07:12
/usr/lib/libdb-3.1.so - libdb.so.old
lrwxrwxrwx1 root root   11 May 22 10:24
/usr/lib/libdb.so.2 - libdb1.so.2
lrwxrwxrwx1 root root   11 May 22 10:24
/usr/lib/libdb.so.3 - libdb2.so.3
-rwxr-xr-x1 root root  1516058 May 24 07:01
/usr/lib/libdb.so.old
-rw-r--r--1 root root   779678 Aug 17  2000
/usr/lib/libdb1.a
lrwxrwxrwx1 root root   11 May 22 10:21
/usr/lib/libdb1.so - libdb1.so.2
-rwxr-xr-x1 root root60752 May 22 10:24
/usr/lib/libdb1.so.2
-rw-r--r--1 root root  3203846 May 22 10:23
/usr/lib/libdb2.a
lrwxrwxrwx1 root root   11 May 22 10:22
/usr/lib/libdb2.so - libdb2.so.3
-rwxr-xr-x1 root root   282064 May 22 10:24
/usr/lib/libdb2.so.3
-rw-r--r--1 root root  649 Aug 30  2000
/usr/lib/libdb_tcl-3.1.la
-rwxr-xr-x1 root root  1733838 May 22 10:23
/usr/lib/libdb_tcl-3.1.so
lrwxrwxrwx1 root root   16 May 22 10:23
/usr/lib/libdb_tcl.so - libdb_tcl-3.1.so

[root@localhost /lib]# ls -l /lib/libdb*
-rwxr-xr-x1 root root  1516058 May 22 10:47
/lib/libdb-3.1.so
lrwxrwxrwx1 root root   12 May 22 10:47 /lib/libdb.so -
libdb-3.1.so


How any of this ever works is a mystery.

linux libs from what I've learned work through the library
registration file /etc/ld.so.conf.  If you want libraries used, list
the directory in there, and run ldconfig (like lilo is run after
messing with the /boot directory.



-- 
regs
rupert


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/evolution



Re: [Evolution] contacts are not back - ev .10 - ximian 2

2001-05-24 Thread Christopher James Lahey

On 23 May 2001 16:27:10 -0500, John Sundberg wrote:
 
 Redhat 7.1
 evolution .10 - 2 (from Redcarpet today)
 
 [jdsundberg@bear Contacts]$ file addressbook.db 
 addressbook.db: Berkeley DB (Hash, version 5, native byte-order)
 
 [jdsundberg@bear Contacts]$ db_dump185 addressbook.db 
 db_dump185: addressbook.db: Invalid argument
 
 [jdsundberg@bear Contacts]$ db_dump addressbook.db 
 db_dump: addressbook.db: hash version 5 requires a version upgrade
 db_dump: open: addressbook.db: DB_OLDVERSION: Database requires a 
 version upgrade
 
 If I try and create a new Contact - I can fill out the form
 but nothing appears to be created in the the addressbook.db

You have a db2 version database.  RH7 packages use db3.

These instructions will only work on RH7.x:

In your contacts directory run:
killev
cp addressbook.db addressbook.db.bkup
db_upgrade addressbook.db

Try again.  Once you're satisfied that it's working again, you can
delete the backup at your leisure.

Thanks,
Chris


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/evolution



Re: [Evolution] contacts are not back - ev .10 - ximian 2

2001-05-24 Thread Christopher James Lahey

On 23 May 2001 22:01:20 -0400, Rupert Heesom wrote:
 Hi!
 
 I've just upgraded my Evo to evolution-0.10-ximian.2 hoping to get my
 addressbook back, but still no addressbook.

What distro are you on?

Thanks,
Chris


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/evolution



[Evolution] contacts are not back - ev .10 - ximian 2

2001-05-23 Thread John Sundberg


Redhat 7.1
evolution .10 - 2 (from Redcarpet today)

[jdsundberg@bear Contacts]$ file addressbook.db 
addressbook.db: Berkeley DB (Hash, version 5, native byte-order)

[jdsundberg@bear Contacts]$ db_dump185 addressbook.db 
db_dump185: addressbook.db: Invalid argument

[jdsundberg@bear Contacts]$ db_dump addressbook.db 
db_dump: addressbook.db: hash version 5 requires a version upgrade
db_dump: open: addressbook.db: DB_OLDVERSION: Database requires a 
version upgrade

If I try and create a new Contact - I can fill out the form
but nothing appears to be created in the the addressbook.db

Any ideas?

-John


-- 
John Sundberg
Kinetic Data, Inc.
404 Snelling Ave. S.
St. Paul, MN 55105
Work: 651 695 8566
Fax: 651 695 8577


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/evolution



Re: [Evolution] contacts are not back - ev .10 - ximian 2

2001-05-23 Thread Fernando Pereira

It works for RH 6.2, maybe it's a packaging problem with RH 7.1. What's
suspicious here is that your file output is quite different from what
I get

$ file addressbook.db 
addressbook.db: Berkeley DB 2.X Hash/Little Endian (Version 5, Logical
sequence number: file - 0, offset - 0, Bucket Size 4096, Overflow Point
3, Last Freed 0, Max Bucket 5, High Mask 0x7, Low Mask 0x3, Fill Factor
0, Number of Keys 65)

although the alleged version is the same. My db package is as follows

$ rpm -qa | grep '^db'
db3-3.1.17-4.6x

Have you checked yours?

-- F


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/evolution



Re: [Evolution] contacts are not back - ev .10 - ximian 2

2001-05-23 Thread Rupert Heesom

Hi!

I've just upgraded my Evo to evolution-0.10-ximian.2 hoping to get my
addressbook back, but still no addressbook.

My file addressbook.db looks similar to yours -

[rupert@localhost Contacts]$ file addressbook.db
addressbook.db: Berkeley DB 2.X Hash/Little Endian (Version 5, Logical
sequence number: file - 0, offset - 0, Bucket Size 4096, Overflow Point
2, Last Freed 0, Max Bucket 3, High Mask 0x3, Low Mask 0x1, Fill Factor
14, Number of Keys 0)


However, having a look at this thread, your db version is newer than
mine.  When I ask for db versions, I get the following -

[rupert@localhost Contacts]$ rpm -qa | grep '^db' 
db3-3.1.14-6
db2-2.4.14-4
db2-devel-2.4.14-4
db1-1.85-4
db1-devel-1.85-4
db3-devel-3.1.14-6
db3-utils-3.1.14-6

First of all, it looks like I've got far too many versions.  I need to
dump some of them somehow.  Next, my db3 version is 3.1.14, not your
3.1.17.  How do I go about updating this stuff???

On 23 May 2001 17:42:39 -0400, Fernando Pereira wrote:
 $ file addressbook.db 
 addressbook.db: Berkeley DB 2.X Hash/Little Endian (Version 5, Logical
 sequence number: file - 0, offset - 0, Bucket Size 4096, Overflow Point
 3, Last Freed 0, Max Bucket 5, High Mask 0x7, Low Mask 0x3, Fill Factor
 0, Number of Keys 65)
 
 although the alleged version is the same. My db package is as follows
 
 $ rpm -qa | grep '^db'
 db3-3.1.17-4.6x

-- 
regs
rupert


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/evolution