Thank you for your information. That&#39;s really helpful.<br>
<br>
This time I try both 3334 port. OpenSUSE-desktop is OK this time, but the server on suse64 can not be started.<br>
<br>
on both machine, I ran <br>
# netstat -tan | grep 3334<br>
<br>
I got <br>
{tcp&nbsp; 0&nbsp; 0 <a href="http://0.0.0.0:3334">0.0.0.0:3334</a>&nbsp; 0.0.0.0:*&nbsp;&nbsp; LISTEN<br>
}<br>
on both.<br>
<br>
And the /tmp/pvfs2-server.log on suse64, on which can not start the server, showed:<br>
{PVFS2 Server version 2.7.0 starting.<br>
[E 01/23 13:44] Error: BMI_sockio_bind_sock: Address already in use<br>
[E 01/23 13:44] Error: tcp_server_init() failure.<br>
[E 01/23 13:44] Error: BMI_initialize: Address already in use<br>
[E 01/23 13:44] Error: Could not initialize server interfaces; aborting.<br>
[E 01/23 13:44] Error: Could not initialize server; aborting.<br>
}<br>
<br>
Does it mean, I can not assign port 3334 to both of them? Or, maybe starting the servers on both machines exactly at the same time will help?<br>
<br>
<br>
On Wed, 2008-01-23 at 10:10 -0500, Phil Carns wrote:
<blockquote type="CITE">
<pre><font color="#000000">Hi,</font><br><br><font color="#000000">When you run your netstat check to see if anything is using port 9000, </font><br><font color="#000000">you should probably run it with these arguments:</font>
<br><br><font color="#000000">        netstat -tan | grep 9000</font><br><br><font color="#000000">The &quot;-n&quot; part of the netstat command line is important to make sure that </font><br><font color="#000000">you get numerical port numbers rather than symbolic names for them.  The 
</font><br><font color="#000000">&quot;-t&quot; makes it only show tcp ports, which are the only ones that matter </font><br><font color="#000000">to PVFS.</font><br><br><font color="#000000">IANA indicates that port 9000 could possibly be used by something called 
</font><br><font color="#000000">&quot;cslistener&quot;.  If opensuse happens to include that in their </font><br><font color="#000000">/etc/services file then you would see &lt;host&gt;:cslistener rather than </font><br>
<font color="#000000">&lt;host&gt;:9000 when checking netstat without the &quot;-n&quot; argument, and the </font><br><font color="#000000">grep would miss it.</font><br><br><font color="#000000"><a href="http://www.iana.org/assignments/port-numbers">
http://www.iana.org/assignments/port-numbers</a></font><br><br><font color="#000000">-Phil</font><br><br><font color="#000000">Scully wrote:</font><br><font color="#000000">&gt; Sorry, both nodes use port 9000</font><br><font color="#000000">
&gt; </font><br><font color="#000000">&gt; On Tue, 2008-01-22 at 16:19 -0500, Scully wrote:</font><br><font color="#000000">&gt;&gt; Hi,</font><br><font color="#000000">&gt;&gt; I am trying to setup a PVFS2 system in two nodes, suse64(x86_64) and 
</font><br><font color="#000000">&gt;&gt; OpenSUSE-desktop(i386), each has a io server and meta server.  Both of </font><br><font color="#000000">&gt;&gt; them are using kernel: 2.6.16.53-0.8. Both use port 3334.</font><br>
<font color="#000000">&gt;&gt;</font><br><font color="#000000">&gt;&gt; The server can start correctly on suse64, but on OpenSUSE-desktop, </font><br><font color="#000000">&gt;&gt; it&#39;s another story.</font><br><font color="#000000">
&gt;&gt; It looks ok when I run:</font><br><font color="#000000">&gt;&gt; {</font><br><font color="#000000">&gt;&gt; OpenSUSE-desktop:/usr/local/bin #/etc/init.d/pvfs2-server start</font><br><font color="#000000">&gt;&gt; Starting PVFS2 server: [S 01/22 15:44] PVFS2 Server on node 
</font><br><font color="#000000">&gt;&gt; OpenSUSE-desktop version 2.7.0 starting...</font><br><font color="#000000">&gt;&gt; }</font><br><font color="#000000">&gt;&gt; But when I check the log, I get</font><br><font color="#000000">
&gt;&gt; {</font><br><font color="#000000">&gt;&gt; OpenSUSE-desktop:/usr/local/bin # cat /tmp/pvfs2-server.log</font><br><font color="#000000">&gt;&gt; [D 01/22 15:44] PVFS2 Server version 2.7.0 starting.</font><br><font color="#000000">
&gt;&gt; [E 01/22 15:44] Error: BMI_sockio_bind_sock: Address already in use</font><br><font color="#000000">&gt;&gt; [E 01/22 15:44] Error: tcp_server_init() failure.</font><br><font color="#000000">&gt;&gt; [E 01/22 15:44] Error: BMI_initialize: Address already in use
</font><br><font color="#000000">&gt;&gt; [E 01/22 15:44] Error: Could not initialize server interfaces; aborting.</font><br><font color="#000000">&gt;&gt; [E 01/22 15:44] Error: Could not initialize server; aborting.</font>
<br><font color="#000000">&gt;&gt; }</font><br><font color="#000000">&gt;&gt; I think port 9000 is available:</font><br><font color="#000000">&gt;&gt; {</font><br><font color="#000000">&gt;&gt; OpenSUSE-desktop:/usr/local/bin # netstat | grep 9000
</font><br><font color="#000000">&gt;&gt; OpenSUSE-desktop:/usr/local/bin #        </font><br><font color="#000000">&gt;&gt; }</font><br><font color="#000000">&gt;&gt; When I set a new port to the server in the /etc/pvfs2-
fs.conf, say </font><br><font color="#000000">&gt;&gt; 9001, there is no problem to start the server. But, next time, I have </font><br><font color="#000000">&gt;&gt; to use another port. I guess pvfs2 doesn&#39;t work this way.
</font><br><font color="#000000">&gt;&gt;</font><br><font color="#000000">&gt;&gt; When stopping a server and re-setup a new one, I do:</font><br><font color="#000000">&gt;&gt; {</font><br><font color="#000000">&gt;&gt; #/etc/init.d/pvfs2-server stop
</font><br><font color="#000000">&gt;&gt; #/usr/local/sbin/pvfs2-server /etc/pvfs2-fs.conf -r</font><br><font color="#000000">&gt;&gt; If above instruction can not delete the storage space, I do it manully</font><br><font color="#000000">
&gt;&gt; #rm -fr /pvfs2-storage-space.</font><br><font color="#000000">&gt;&gt; }</font><br><font color="#000000">&gt;&gt; The configure files are the same in both nodes</font><br><font color="#000000">&gt;&gt; {</font><br>
<font color="#000000">&gt;&gt; OpenSUSE-desktop:/usr/local/bin # cat /etc/pvfs2-fs.conf</font><br><font color="#000000">&gt;&gt; &lt;Defaults&gt;</font><br><font color="#000000">&gt;&gt;         UnexpectedRequests 50</font>
<br><font color="#000000">&gt;&gt;         EventLogging none</font><br><font color="#000000">&gt;&gt;         LogStamp datetime</font><br><font color="#000000">&gt;&gt;         BMIModules bmi_tcp</font><br><font color="#000000">
&gt;&gt;         FlowModules flowproto_multiqueue</font><br><font color="#000000">&gt;&gt;         PerfUpdateInterval 1000</font><br><font color="#000000">&gt;&gt;         ServerJobBMITimeoutSecs 30</font><br><font color="#000000">
&gt;&gt;         ServerJobFlowTimeoutSecs 30</font><br><font color="#000000">&gt;&gt;         ClientJobBMITimeoutSecs 300</font><br><font color="#000000">&gt;&gt;         ClientJobFlowTimeoutSecs 300</font><br><font color="#000000">
&gt;&gt;         ClientRetryLimit 5</font><br><font color="#000000">&gt;&gt;         ClientRetryDelayMilliSecs 2000</font><br><font color="#000000">&gt;&gt;</font><br><font color="#000000">&gt;&gt;         StorageSpace /pvfs2-storage-space
</font><br><font color="#000000">&gt;&gt;         LogFile /tmp/pvfs2-server.log</font><br><font color="#000000">&gt;&gt; &lt;/Defaults&gt;</font><br><font color="#000000">&gt;&gt;</font><br><font color="#000000">&gt;&gt; &lt;Aliases&gt;
</font><br><font color="#000000">&gt;&gt;         Alias OpenSUSE-desktop tcp://OpenSUSE-desktop:9000</font><br><font color="#000000">&gt;&gt;         Alias suse64 tcp://suse64:9000</font><br><font color="#000000">&gt;&gt; &lt;/Aliases&gt;
</font><br><font color="#000000">&gt;&gt;</font><br><font color="#000000">&gt;&gt; &lt;Filesystem&gt;</font><br><font color="#000000">&gt;&gt;         Name pvfs2-fs</font><br><font color="#000000">&gt;&gt;         ID 2061359039
</font><br><font color="#000000">&gt;&gt;         RootHandle 1048576</font><br><font color="#000000">&gt;&gt;         &lt;MetaHandleRanges&gt;</font><br><font color="#000000">&gt;&gt;                 Range OpenSUSE-desktop 3-2305843009213693953
</font><br><font color="#000000">&gt;&gt;                 Range suse64 2305843009213693954-4611686018427387904</font><br><font color="#000000">&gt;&gt;         &lt;/MetaHandleRanges&gt;</font><br><font color="#000000">&gt;&gt;         &lt;DataHandleRanges&gt;
</font><br><font color="#000000">&gt;&gt;                 Range OpenSUSE-desktop </font><br><font color="#000000">&gt;&gt; 4611686018427387905-6917529027641081855</font><br><font color="#000000">&gt;&gt;                 Range suse64 6917529027641081856-9223372036854775806
</font><br><font color="#000000">&gt;&gt;         &lt;/DataHandleRanges&gt;</font><br><font color="#000000">&gt;&gt;         &lt;StorageHints&gt;</font><br><font color="#000000">&gt;&gt;                 TroveSyncMeta yes</font>
<br><font color="#000000">&gt;&gt;                 TroveSyncData no</font><br><font color="#000000">&gt;&gt;         &lt;/StorageHints&gt;</font><br><font color="#000000">&gt;&gt; &lt;/Filesystem&gt;</font><br><font color="#000000">
&gt;&gt; }</font><br><font color="#000000">&gt;&gt;</font><br><font color="#000000">&gt;&gt;</font><br><font color="#000000">&gt;&gt; Did I do something wrong? Thanks. </font><br><font color="#000000">&gt; </font><br><font color="#000000">
&gt; ------------------------------------------------------------------------</font><br><font color="#000000">&gt; </font><br><font color="#000000">&gt; _______________________________________________</font><br><font color="#000000">
&gt; Pvfs2-users mailing list</font><br><font color="#000000">&gt; <a href="mailto:Pvfs2-users@beowulf-underground.org">Pvfs2-users@beowulf-underground.org</a></font><br><font color="#000000">&gt; <a href="http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users">
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users</a></font><br><br></pre>
</blockquote>