<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Problem solved. Thanks.<br><br><br>--- <b>09年2月6日,周五, Kevin Harms <i><harms@alcf.anl.gov></i></b> 写道:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">发件人: Kevin Harms <harms@alcf.anl.gov><br>主题: Re: [Pvfs2-users] connection refused during PVFS client configuration<br>收件人: otheryou@yahoo.cn<br>抄送: "PVFS user-mailling-list" <pvfs2-users@beowulf-underground.org><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>> Hi,<br>> 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>> <br>> root@WANGDI:~/pvfs-install# ./sbin/pvfs2-server /etc/pvfs2-fs.conf -f<br>> [S 02/05 11:44] PVFS2 Server on node WANGDI version 2.7.1 starting...<br>> [E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates
memory<br>allocation flag on key DBT<br>> [E 02/05 11:44] error in dspace create (db_p->get failed).<br>> [E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory<br>allocation flag on key DBT<br>> [E 02/05 11:44] error in dspace create (db_p->get failed).<br>> [E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory<br>allocation flag on key DBT<br>> [E 02/05 11:44] error in dspace create (db_p->get failed).<br>> [E 02/05 11:44] TROVE:DBPF:Berkeley DB: DB_THREAD mandates memory<br>allocation flag on key DBT<br>> [E 02/05 11:44] error in dspace create (db_p->get failed).<br>> [D 02/05 11:44] PVFS2 Server: storage space created. Exiting.<br>> root@WANGDI:~/pvfs-install# ./sbin/pvfs2-server /etc/pvfs2-fs.conf<br>> [S 02/05 11:31] PVFS2 Server on node WANGDI version 2.7.1 starting...<br>> root@WANGDI:~/pvfs-install# ./bin/pvfs2-ping -m /mnt/pvfs2<br>> <br>> (1) Parsing tab file...<br>>
<br>> (2) Initializing system interface...<br>> <br>> (3) Initializing each file system found in tab file: /etc/pvfs2tab...<br>> <br>> PVFS2 servers: tcp://WANGDI:3334<br>> Storage name: pvfs2-fs<br>> Local mount point: /mnt/pvfs2<br>> [E 10:23:23.222381] msgpair failed, will retry: Connection refused<br>> [E 10:23:25.231811] msgpair failed, will retry: Connection refused<br>> [E 10:23:27.241490] msgpair failed, will retry: Connection refused<br>> [E 10:23:29.242790] msgpair failed, will retry: Connection refused<br>> [E 10:23:31.250513] msgpair failed, will retry: Connection refused<br>> [E 10:23:33.259621] msgpair failed, will retry: Connection refused<br>> [E 10:23:33.259697] *** msgpairarray_completion_fn: msgpair to server<br>[UNKNOWN] failed: Connection refused<br>> [E 10:23:33.259729] *** Out of retries.<br>> /mnt/pvfs2: FAILURE!<br>> <br>> Failure: could not initialze at least one
of the target file systems.<br>> <br>> (4) Searching for /mnt/pvfs2 in pvfstab...<br>> [E 10:23:33.259818] Error: /mnt/pvfs2/ resides on a PVFS2 file system that<br>has not yet been initialized.<br>> Failure: could not find filesystem for /mnt/pvfs2 in pvfs2tab<br>/etc/pvfs2tab<br>> Entry 0: /mnt/pvfs2<br>> root@WANGDI:~/pvfs-install/bin#<br>> <br>> I check /tmp/pvfs2-server.log<br>> <br>> /tmp/pvfs2-server.log<br>> <br>> [D 02/05 10:15] PVFS2 Server version 2.7.1 starting.<br>> [E 02/05 10:15] Error: handle 0 is invalid (out of bounds)<br>> [E 02/05 10:15] Error adding handle range<br>3-4611686018427387904,4611686018427387905-9223372036854775806 to filesystem<br>pvfs2-fs<br>> [E 02/05 10:15] Error: Could not initialize server interfaces; aborting.<br>> [E 02/05 10:15] Error: Could not initialize server; aborting.<br>> <br>> I do not understand how this problem occurred and where the handle 0
comes<br> from.<br>> <br>> my configuration file are like below:<br>> /etc/pvfs2tab<br>> tcp://WANGDI:3334/pvfs2-fs /mnt/pvfs2 pvfs2 defaults,noauto 0 0<br>> <br>> /etc/pvfs2-fs.conf<br>> <br>> <Defaults><br>> UnexpectedRequests 50<br>> EventLogging none<br>> LogStamp datetime<br>> BMIModules bmi_tcp<br>> FlowModules flowproto_multiqueue<br>> PerfUpdateInterval 1000<br>> ServerJobBMITimeoutSecs 30<br>> ServerJobFlowTimeoutSecs 30<br>> ClientJobBMITimeoutSecs 300<br>> ClientJobFlowTimeoutSecs 300<br>> ClientRetryLimit 5<br>> ClientRetryDelayMilliSecs 2000<br>> <br>> StorageSpace /pvfs2-storage-space<br>> LogFile /tmp/pvfs2-server.log<br>> </Defaults><br>> <br>> <Aliases><br>> Alias WANGDI tcp://WANGDI:3334<br>> </Aliases><br>> <br>> <Filesystem><br>> Name
pvfs2-fs<br>> ID 1169388222<br>> RootHandle 1048576<br>> <MetaHandleRanges><br>> Range WANGDI 3-4611686018427387904<br>> </MetaHandleRanges><br>> <DataHandleRanges><br>> Range WANGDI 4611686018427387905-9223372036854775806<br>> </DataHandleRanges><br>> <StorageHints><br>> TroveSyncMeta yes<br>> TroveSyncData no<br>> </StorageHints><br>> </Filesystem><br>> <br>> <br>> also I install ubuntu 8.10 desktop edition<br>> root@WANGDI:~/pvfs-install# uname -r<br>> 2.6.27-11-generic<br>> <br>> Appreciate your responses.<br>> <br>> <br>><br>好玩贺卡等你发,邮箱贺卡全新上线!_______________________________________________<br>> Pvfs2-users mailing list<br>> Pvfs2-users@beowulf-underground.org<br>>
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>