<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Problem solved.&nbsp; Thanks.<br><br><br>--- <b>09年2月6日,周五, Kevin Harms <i>&lt;harms@alcf.anl.gov&gt;</i></b> 写道:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">发件人: Kevin Harms &lt;harms@alcf.anl.gov&gt;<br>主题: Re: [Pvfs2-users] connection refused during PVFS client configuration<br>收件人: otheryou@yahoo.cn<br>抄送: "PVFS user-mailling-list" &lt;pvfs2-users@beowulf-underground.org&gt;<br>日期: 2009,26,周五,2:58上午<br><br><pre>  The problem is the fact that the initial storage space was not created so<br>your server isn't running. You should be able to see this in the log.<br><br>  Ubuntu 8.10 has bdb 4.7 by default but it has packages for the 4.6 version as<br>well. (Something like apt-get install libdb-4.6-dev) Rebuild you server with bdb<br>4.6 and those errors
 while creating the storage space should go away.<br>Alternatively you could get the latest version of PVFS out of CVS which supports<br>bdb 4.7. Just as an FYI, the kernel module will not build with 2.7.1 and Ubuntu<br>8.10 either.<br><br>kevin<br><br>On Feb 5, 2009, at 11:45 AM, 汪迪 wrote:<br><br>&gt; Hi,<br>&gt; I am a PVFS novice. I compile and install PVFS as the<br>pvfs-quick-start-guide introduced. I installed MPICH2 with pvfs2 support in<br>/usr/local and it can run either in root or ordinary account, I install PVFS2 in<br>/root/pvfs-install. I configure meta-server ,  data-server and client all in my<br>laptop. Everything works right until I configure the client.  The command and<br>responses are like below:<br>&gt; <br>&gt; root@WANGDI:~/pvfs-install# ./sbin/pvfs2-server /etc/pvfs2-fs.conf -f<br>&gt; [S 02/05 11:44] PVFS2 Server on node WANGDI version 2.7.1 starting...<br>&gt; [E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates
 memory<br>allocation flag on key DBT<br>&gt; [E 02/05 11:44] error in dspace create (db_p-&gt;get failed).<br>&gt; [E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory<br>allocation flag on key DBT<br>&gt; [E 02/05 11:44] error in dspace create (db_p-&gt;get failed).<br>&gt; [E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory<br>allocation flag on key DBT<br>&gt; [E 02/05 11:44] error in dspace create (db_p-&gt;get failed).<br>&gt; [E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory<br>allocation flag on key DBT<br>&gt; [E 02/05 11:44] error in dspace create (db_p-&gt;get failed).<br>&gt; [D 02/05 11:44] PVFS2 Server: storage space created. Exiting.<br>&gt; root@WANGDI:~/pvfs-install# ./sbin/pvfs2-server /etc/pvfs2-fs.conf<br>&gt; [S 02/05 11:31] PVFS2 Server on node WANGDI version 2.7.1 starting...<br>&gt; root@WANGDI:~/pvfs-install# ./bin/pvfs2-ping -m /mnt/pvfs2<br>&gt; <br>&gt; (1) Parsing tab file...<br>&gt;
 <br>&gt; (2) Initializing system interface...<br>&gt; <br>&gt; (3) Initializing each file system found in tab file: /etc/pvfs2tab...<br>&gt; <br>&gt;    PVFS2 servers: tcp://WANGDI:3334<br>&gt;    Storage name: pvfs2-fs<br>&gt;    Local mount point: /mnt/pvfs2<br>&gt; [E 10:23:23.222381] msgpair failed, will retry: Connection refused<br>&gt; [E 10:23:25.231811] msgpair failed, will retry: Connection refused<br>&gt; [E 10:23:27.241490] msgpair failed, will retry: Connection refused<br>&gt; [E 10:23:29.242790] msgpair failed, will retry: Connection refused<br>&gt; [E 10:23:31.250513] msgpair failed, will retry: Connection refused<br>&gt; [E 10:23:33.259621] msgpair failed, will retry: Connection refused<br>&gt; [E 10:23:33.259697] *** msgpairarray_completion_fn: msgpair to server<br>[UNKNOWN] failed: Connection refused<br>&gt; [E 10:23:33.259729] *** Out of retries.<br>&gt;    /mnt/pvfs2: FAILURE!<br>&gt; <br>&gt; Failure: could not initialze at least one
 of the target file systems.<br>&gt; <br>&gt; (4) Searching for /mnt/pvfs2 in pvfstab...<br>&gt; [E 10:23:33.259818] Error: /mnt/pvfs2/ resides on a PVFS2 file system that<br>has not yet been initialized.<br>&gt; Failure: could not find filesystem for /mnt/pvfs2 in pvfs2tab<br>/etc/pvfs2tab<br>&gt; Entry 0: /mnt/pvfs2<br>&gt; root@WANGDI:~/pvfs-install/bin#<br>&gt; <br>&gt; I check /tmp/pvfs2-server.log<br>&gt; <br>&gt; /tmp/pvfs2-server.log<br>&gt; <br>&gt; [D 02/05 10:15] PVFS2 Server version 2.7.1 starting.<br>&gt; [E 02/05 10:15] Error: handle 0 is invalid (out of bounds)<br>&gt; [E 02/05 10:15] Error adding handle range<br>3-4611686018427387904,4611686018427387905-9223372036854775806 to filesystem<br>pvfs2-fs<br>&gt; [E 02/05 10:15] Error: Could not initialize server interfaces; aborting.<br>&gt; [E 02/05 10:15] Error: Could not initialize server; aborting.<br>&gt; <br>&gt; I do not understand how this problem occurred and where the handle 0
 comes<br> from.<br>&gt; <br>&gt; my configuration file are like below:<br>&gt; /etc/pvfs2tab<br>&gt; tcp://WANGDI:3334/pvfs2-fs /mnt/pvfs2 pvfs2 defaults,noauto 0 0<br>&gt; <br>&gt; /etc/pvfs2-fs.conf<br>&gt; <br>&gt; &lt;Defaults&gt;<br>&gt;     UnexpectedRequests 50<br>&gt;     EventLogging none<br>&gt;     LogStamp datetime<br>&gt;     BMIModules bmi_tcp<br>&gt;     FlowModules flowproto_multiqueue<br>&gt;     PerfUpdateInterval 1000<br>&gt;     ServerJobBMITimeoutSecs 30<br>&gt;     ServerJobFlowTimeoutSecs 30<br>&gt;     ClientJobBMITimeoutSecs 300<br>&gt;     ClientJobFlowTimeoutSecs 300<br>&gt;     ClientRetryLimit 5<br>&gt;     ClientRetryDelayMilliSecs 2000<br>&gt; <br>&gt;     StorageSpace /pvfs2-storage-space<br>&gt;     LogFile /tmp/pvfs2-server.log<br>&gt; &lt;/Defaults&gt;<br>&gt; <br>&gt; &lt;Aliases&gt;<br>&gt;     Alias WANGDI tcp://WANGDI:3334<br>&gt; &lt;/Aliases&gt;<br>&gt; <br>&gt; &lt;Filesystem&gt;<br>&gt;     Name
 pvfs2-fs<br>&gt;     ID 1169388222<br>&gt;     RootHandle 1048576<br>&gt;     &lt;MetaHandleRanges&gt;<br>&gt;         Range WANGDI 3-4611686018427387904<br>&gt;     &lt;/MetaHandleRanges&gt;<br>&gt;     &lt;DataHandleRanges&gt;<br>&gt;         Range WANGDI 4611686018427387905-9223372036854775806<br>&gt;     &lt;/DataHandleRanges&gt;<br>&gt;     &lt;StorageHints&gt;<br>&gt;         TroveSyncMeta yes<br>&gt;         TroveSyncData no<br>&gt;     &lt;/StorageHints&gt;<br>&gt; &lt;/Filesystem&gt;<br>&gt; <br>&gt; <br>&gt; also I install ubuntu 8.10 desktop edition<br>&gt; root@WANGDI:~/pvfs-install# uname -r<br>&gt; 2.6.27-11-generic<br>&gt; <br>&gt; Appreciate your responses.<br>&gt; <br>&gt; <br>&gt;<br>好玩贺卡等你发,邮箱贺卡全新上线!_______________________________________________<br>&gt; Pvfs2-users mailing list<br>&gt; Pvfs2-users@beowulf-underground.org<br>&gt;
 http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users<br><br></pre></blockquote></td></tr></table><br>


      <hr size=1><a href="http://cn.rd.yahoo.com/mail_cn/tagline/card/*http://card.mail.cn.yahoo.com/">  好玩贺卡等你发,邮箱贺卡全新上线!</a>