[Pvfs2-users] connection refused during PVFS client configuration

Kevin Harms harms at alcf.anl.gov
Thu Feb 5 13:58:58 EST 2009


   The problem is the fact that the initial storage space was not  
created so your server isn't running. You should be able to see this  
in the log.

   Ubuntu 8.10 has bdb 4.7 by default but it has packages for the 4.6  
version as well. (Something like apt-get install libdb-4.6-dev)  
Rebuild you server with bdb 4.6 and those errors while creating the  
storage space should go away. Alternatively you could get the latest  
version of PVFS out of CVS which supports bdb 4.7. Just as an FYI, the  
kernel module will not build with 2.7.1 and Ubuntu 8.10 either.

kevin

On Feb 5, 2009, at 11:45 AM, ÍôµÏ wrote:

> Hi,
> I am a PVFS novice. I compile and install PVFS as the pvfs-quick- 
> start-guide introduced. I installed MPICH2 with pvfs2 support in / 
> usr/local and it can run either in root or ordinary account, I  
> install PVFS2 in /root/pvfs-install. I configure meta-server ,  data- 
> server and client all in my laptop. Everything works right until I  
> configure the client.  The command and responses are like below:
>
> root at WANGDI:~/pvfs-install# ./sbin/pvfs2-server /etc/pvfs2-fs.conf -f
> [S 02/05 11:44] PVFS2 Server on node WANGDI version 2.7.1 starting...
> [E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory  
> allocation flag on key DBT
> [E 02/05 11:44] error in dspace create (db_p->get failed).
> [E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory  
> allocation flag on key DBT
> [E 02/05 11:44] error in dspace create (db_p->get failed).
> [E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory  
> allocation flag on key DBT
> [E 02/05 11:44] error in dspace create (db_p->get failed).
> [E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory  
> allocation flag on key DBT
> [E 02/05 11:44] error in dspace create (db_p->get failed).
> [D 02/05 11:44] PVFS2 Server: storage space created. Exiting.
> root at WANGDI:~/pvfs-install# ./sbin/pvfs2-server /etc/pvfs2-fs.conf
> [S 02/05 11:31] PVFS2 Server on node WANGDI version 2.7.1 starting...
> root at WANGDI:~/pvfs-install# ./bin/pvfs2-ping -m /mnt/pvfs2
>
> (1) Parsing tab file...
>
> (2) Initializing system interface...
>
> (3) Initializing each file system found in tab file: /etc/pvfs2tab...
>
>    PVFS2 servers: tcp://WANGDI:3334
>    Storage name: pvfs2-fs
>    Local mount point: /mnt/pvfs2
> [E 10:23:23.222381] msgpair failed, will retry: Connection refused
> [E 10:23:25.231811] msgpair failed, will retry: Connection refused
> [E 10:23:27.241490] msgpair failed, will retry: Connection refused
> [E 10:23:29.242790] msgpair failed, will retry: Connection refused
> [E 10:23:31.250513] msgpair failed, will retry: Connection refused
> [E 10:23:33.259621] msgpair failed, will retry: Connection refused
> [E 10:23:33.259697] *** msgpairarray_completion_fn: msgpair to  
> server [UNKNOWN] failed: Connection refused
> [E 10:23:33.259729] *** Out of retries.
>    /mnt/pvfs2: FAILURE!
>
> Failure: could not initialze at least one of the target file systems.
>
> (4) Searching for /mnt/pvfs2 in pvfstab...
> [E 10:23:33.259818] Error: /mnt/pvfs2/ resides on a PVFS2 file  
> system that has not yet been initialized.
> Failure: could not find filesystem for /mnt/pvfs2 in pvfs2tab /etc/ 
> pvfs2tab
> Entry 0: /mnt/pvfs2
> root at WANGDI:~/pvfs-install/bin#
>
> I check /tmp/pvfs2-server.log
>
> /tmp/pvfs2-server.log
>
> [D 02/05 10:15] PVFS2 Server version 2.7.1 starting.
> [E 02/05 10:15] Error: handle 0 is invalid (out of bounds)
> [E 02/05 10:15] Error adding handle range  
> 3-4611686018427387904,4611686018427387905-9223372036854775806 to  
> filesystem pvfs2-fs
> [E 02/05 10:15] Error: Could not initialize server interfaces;  
> aborting.
> [E 02/05 10:15] Error: Could not initialize server; aborting.
>
> I do not understand how this problem occurred and where the handle 0  
> comes  from.
>
> my configuration file are like below:
> /etc/pvfs2tab
> tcp://WANGDI:3334/pvfs2-fs /mnt/pvfs2 pvfs2 defaults,noauto 0 0
>
> /etc/pvfs2-fs.conf
>
> <Defaults>
>     UnexpectedRequests 50
>     EventLogging none
>     LogStamp datetime
>     BMIModules bmi_tcp
>     FlowModules flowproto_multiqueue
>     PerfUpdateInterval 1000
>     ServerJobBMITimeoutSecs 30
>     ServerJobFlowTimeoutSecs 30
>     ClientJobBMITimeoutSecs 300
>     ClientJobFlowTimeoutSecs 300
>     ClientRetryLimit 5
>     ClientRetryDelayMilliSecs 2000
>
>     StorageSpace /pvfs2-storage-space
>     LogFile /tmp/pvfs2-server.log
> </Defaults>
>
> <Aliases>
>     Alias WANGDI tcp://WANGDI:3334
> </Aliases>
>
> <Filesystem>
>     Name pvfs2-fs
>     ID 1169388222
>     RootHandle 1048576
>     <MetaHandleRanges>
>         Range WANGDI 3-4611686018427387904
>     </MetaHandleRanges>
>     <DataHandleRanges>
>         Range WANGDI 4611686018427387905-9223372036854775806
>     </DataHandleRanges>
>     <StorageHints>
>         TroveSyncMeta yes
>         TroveSyncData no
>     </StorageHints>
> </Filesystem>
>
>
> also I install ubuntu 8.10 desktop edition
> root at WANGDI:~/pvfs-install# uname -r
> 2.6.27-11-generic
>
> Appreciate your responses.
>
>
> ºÃÍæºØ¿¨µÈÄã·¢£¬ÓÊÏäºØ¿¨È«ÐÂÉÏÏߣ¡ 
> _______________________________________________
> Pvfs2-users mailing list
> Pvfs2-users at beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users




More information about the Pvfs2-users mailing list