Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] PVFS Problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
purplelama
n00b
n00b


Joined: 18 May 2006
Posts: 5
Location: Stoke-on-Trent, England

PostPosted: Thu Nov 05, 2009 12:19 pm    Post subject: [SOLVED] PVFS Problems Reply with quote

Hi
I'm trying to get pvfs2 up and running, it installs ok but when I try to create the fs I get these errors: -

Code:

naan / # pvfs2-server --mkfs /etc/pvfs/pvfs2-fs.conf
[S 11/05 03:00] PVFS2 Server on node naan version 2.7.1 starting...
[E 11/05 03:00] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory allocation flag on key DBT
[E 11/05 03:00] error in dspace create (db_p->get failed).
[E 11/05 03:00] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory allocation flag on key DBT
[E 11/05 03:00] error in dspace create (db_p->get failed).
[E 11/05 03:00] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory allocation flag on key DBT
[E 11/05 03:00] error in dspace create (db_p->get failed).
[E 11/05 03:00] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory allocation flag on key DBT
[E 11/05 03:00] error in dspace create (db_p->get failed).
[D 11/05 03:00] PVFS2 Server: storage space created. Exiting.


And when I try to start the server I get this : -

Code:

naan / # pvfs2-server -d /etc/pvfs/pvfs2-fs.conf
[S 11/05 03:04] PVFS2 Server on node naan version 2.7.1 starting...
[E 11/05 03:04] Error: handle 0 is invalid (out of bounds)
[E 11/05 03:04] Error adding handle range 3-2305843009213693953,4611686018427387905-6917529027641081855 to filesystem pvfs2-fs
[E 11/05 03:04] Error: Could not initialize server interfaces; aborting.
[E 11/05 03:04] Error: Could not initialize server; aborting.


Now a quick search on the web reveiled that pvfs2 does not support db-4.7 which is what pvfs is compiled against on this system.
Code:

naan / # ldd /usr/sbin/pvfs2-server
        linux-gate.so.1 =>  (0xb7f80000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7e28000)
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7de1000)
        libdb-4.7.so => /usr/lib/libdb-4.7.so (0xb7c8a000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7c72000)
        librt.so.1 => /lib/librt.so.1 (0xb7c69000)
        libc.so.6 => /lib/libc.so.6 (0xb7b26000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7b21000)
        /lib/ld-linux.so.2 (0xb7f81000)


So
Has anybody had experience with pvfs on Gentoo ?
Has anybody got it working ?
Is it possible to compile pvfs against a supported version of db?
Any hints suggestions?

Cheers
Andy


Last edited by purplelama on Tue Nov 10, 2009 12:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
purplelama
n00b
n00b


Joined: 18 May 2006
Posts: 5
Location: Stoke-on-Trent, England

PostPosted: Tue Nov 10, 2009 12:48 pm    Post subject: Reply with quote

OK So I sorted it out, I unmerged the current 4.7 version of the db and then emerged the required version. Probably not the best way to do it :oops:

Code:

emerge --unmerge =sys-libs/db-4.7*
emerge =sys-libs/db-4.6*


I now have pvfs working.

Any hints from ebuild experts as to how the ebuild should be modified so that pvfs is compiled against 4.6 are welcome.
but for now I'm happy :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum