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