Web Hosting Talk







View Full Version : FTP Server not responding


Omair Haroon
10-30-2001, 04:08 PM
Hello,

It seems that my FTP Server is not responding, though the DNS is working fine :(

When I try connecting to a domain I get this:

STATUS:> Connecting to ftp.domain.com
STATUS:> Connecting to ftp.domain.com (ip = i.p.add.ress)
STATUS:> Socket connected. Waiting for welcome message...

This is where it stucks. No further messages are received. I have restarted the FTP Server from Control Panel as well as restarted the Server, but still no avail.

Any idea what the problem is ?



-Omair

Omair Haroon
10-31-2001, 09:22 AM
anyone knows the solution? please help..
Its Urgent tooo.. FTP is down for all my clients.. :(


-Omair

-Edward-
10-31-2001, 09:56 AM
Ive had this problem.

Turn off FTP .... Reboot the server .... Switch FTP back on .... Restart proftd if that dont work.

Omair Haroon
10-31-2001, 09:58 AM
how do restart the proftpd ?


-Omair

Omair Haroon
10-31-2001, 10:04 AM
BTW, I just shutdown the FTP Server, and rebooted the server. Waiting for the server to be online again. Then I would check on the FTP Server and would let you know the results. :(



-Omair

-Edward-
10-31-2001, 10:06 AM
I don't think you can. The last bit was just an idea. have you tried restarting the server using /sbin/reboot/ ??? sorry i cant be of more help.

-Edward-
10-31-2001, 10:08 AM
Wouldnt this work -

/etc/sbin/proftpd start or reboot make it restart?

Omair Haroon
10-31-2001, 10:25 AM
you can restart the proftpd by

/usr/sbin/proftpd restart

and when I restarted it, it gave me an error.

[root@www /root]# /usr/sbin/proftpd restart
- Fatal: unknown configuration directive '0' on line 475 of '/etc/proftpd.conf'


And here is the link 475 of /etc/proftpd.conf


<Directory /home/sites/site60/ftp/incoming>
Umask 002
<Limit STOR>
AllowAll
</Limit>
0 <Limit READ>
DenyAll
</Limit>
</Directory>



The line with the ZERO (0) in it is line 475. I thought the zero would be there by mistake, but when I removed it I got this error:

www.hostingbetter.com - Fatal: Socket operation on non-socket
www.hostingbetter.com - (Running from command line? Use `ServerType standalone' in config file!)


Any idea why is that happening?



-Omair

Omair Haroon
10-31-2001, 10:31 AM
I have even restored my old Ftp.pm thinking that whether that was creating problem, but no.. It was'nt.


BTW, to restart proftpd it is:

/usr/sbin/proftpd restart

-Edward-
10-31-2001, 10:43 AM
Why don't you call tera-byte? I would if i was having the same problems.

jason_s
10-31-2001, 12:09 PM
just a check...
based on the non-socket error - make sure ftp is listed in your inetd config file. Check your /etc/inetd.conf file for the following line:

ftp stream tcp nowait root /usr/sbin/tcpd in.proftpd

Omair Haroon
10-31-2001, 01:26 PM
I have sent them an e-mail. I am going on their Chat Support right now. Maybe it would be good if you could accompany me over there.


-Omair

Omair Haroon
10-31-2001, 03:11 PM
I had my problem solved.

Actually, when I removed the 0 from line 475 and rebooted the server. It eventually started working.

Thanks for all the help smartbackups provided. I am thankfully to him from deep heart. :P



-Omair