Peter, I had a similar problem on Solaris (with the environmental variables). So the grid ftp daemon is invoked through a shell script (with the inetd.conf pointing at that script, rather than the ftp-server directly).
Regards, Nick semantic% more /space/applications/globus/sbin/globus-gridftp-server.shell #!/bin/sh GLOBUS_LOCATION=/space/applications/globus LD_LIBRARY_PATH=$GLOBUS_LOCATION/lib export GLOBUS_LOCATION export LD_LIBRARY_PATH $GLOBUS_LOCATION/sbin/globus-gridftp-server -I Nicholas J. Kings (Nick) Senior Researcher Next Generation Web Research, BT Group Chief Technology Office > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Charles Bacon > Sent: 25 September 2007 16:15 > To: peter ye > Cc: [email protected] > Subject: Re: [gt-user] ftp server doesn't start correctly > > Does anything show up from xinetd or gridftp in your syslog > when you connect to the gridftp server? What does your > xinetd entry look like? If I had to guess, I'd say > LD_LIBRARY_PATH might not be set correctly for the server > when it's being started automatically. > > > Charles > > On Sep 24, 2007, at 11:40 AM, peter ye wrote: > > > Hi all > > I was trying to start gsfftp server on my machine. > Everything works > > fine but whenever I telnet my localhost at port 2811, the > connect is > > automatically closed. > > > > [EMAIL PROTECTED]:~$ netstat -an | grep 2811 > > tcp 0 0 0.0.0.0:2811 0.0.0.0:* > > > LISTEN > > > > [EMAIL PROTECTED]:~$ telnet localhost 2811 Trying 127.0.0.1... > > Connected to localhost. > > Escape character is '^]'. > > Connection closed by foreign host. > > [EMAIL PROTECTED]:~$ > > > > > > I tried > > > > [EMAIL PROTECTED]:~/.globus$ globus-gridftp-server -s > > Server listening at hilbert:38330 > > > > and it works just fine when I telnet it > > > > [EMAIL PROTECTED]:~$ telnet localhost 38330 > > Trying 127.0.0.1... > > Connected to localhost. > > Escape character is '^]'. > > 220 hilbert GridFTP Server 2.5 (gcc32, 1182369948-63) ready. > > > > > > Does anyone know what is the problem? > > > > Thanks in advance. > > > > Peter Ye > > > > > > > > Ask a question on any topic and get answers from real > people. Go to > > Yahoo! Answers. > > > > Be smarter than spam. See how smart SpamGuard is at giving junk > > email the boot with the All-new Yahoo! Mail > >
