Submitted by mike8 on Sat, 08/21/2010 - 11:33
Yesterday, everything was working fine, but this morning I can't assess any of my sites through FTP. I'm using FileZilla, and it has always worked. I get the same thing on all 5 sites. Just says "Connection Refused by server" if I look in the error log for any of the virtual servers, there is nothing showing. If I check in Virtualmin, it shows the "Proftpd is running. User Names, and Passwords are correct,
I can access all the sites from the Web, and I can access all the Databases, with phpmyadmin, just can't access on FTP. Any Ideas on how to check to see what the problem is?
Michael
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sat, 08/21/2010 - 15:10 Comment #1
Sounds like ProFTPd might not be running. Try restarting it with :
/etc/init.d/proftpd restart
Submitted by mike8 on Sat, 08/21/2010 - 21:50 Comment #2
OK I restarted the server "/etc/init.d/proftpd restart"
but it still says the same thing. "Connection Refused By Server."
Submitted by andreychek on Sat, 08/21/2010 - 21:54 Comment #3
What is the hostname of your server? I can run a connection test on your FTP port.
Also, if you log in as root, what output does the following command give:
netstat -an | grep :21
Submitted by mike8 on Sun, 08/22/2010 - 02:47 Comment #4
If I run the Command "netstat -an | grep :21" in terminal, it does not output anything. The Host Name is "asrservice.com"
I just checked the error log, and there was no setting for error log again Virtualmin, under "Logs and Reports.
So I checked the server, and the "httpd.conf" file had been over written again. There were no updates this time, so I don't know what happened. I restored the original "httpd.conf" and now the error logs are back in Vertualmin. But the ProFTP is still not letting me in. So Now I really don't know whats going on.
I know I had trouble with setting the name Server, and getting my e-mail set up right from the last time I asked for help. But I don't think that had anything to do with the "httpd.conf" file getting over written.
Michael
Submitted by JamieCameron on Sun, 08/22/2010 - 19:50 Comment #5
We could probably debug this further if we had remote access to your system .. see https://www.virtualmin.com/documentation/system/support for details on setting this up.
Submitted by andreychek on Mon, 08/23/2010 - 08:56 Comment #6
Do you have any idea what may have changed between when it was working, and when it stopped?
It looks like some entries were missing from your /etc/hosts file, which is unusual... those would prevent a number of things from working.
I re-added those, restarted ProFTP, and it seems to be correctly listening for requests now.
Submitted by mike8 on Mon, 08/23/2010 - 10:22 Comment #7
No haven't done a thing. It was working fine the other night, I went to bed, got up the next morning, and I could not access any of my websites, and the server wasn't responding like it should, so I shut it down and restarted it. When it came up, everything was working except for ProFTP.
I came across something in the access log for asrservice.com yesterday, that I could not explane.
[Sun Aug 22 18:33:13 2010] [error] [client 203.123.23.146] File does not exist: /home/asrservice/public_html/httpd_conf.zip, referer: http://www.linuxquestions.org/questions/linux-server-73/rewrite-engine-on-wont-load-the-index-php-816696/
I don't know why anyone would be looking for a file that has never existed on that server. Do you think maybe someone hacked in? Might need to change my passwords again.
Thank Jamie for fixing my ProFTP. I use it a lot. Now if I can just get the other things fixed, I'll be a happy camper.
Submitted by andreychek on Mon, 08/23/2010 - 10:29 Comment #8
The "File does not exist" error isn't anything particularly unusual... there's quite a few bots that roam the Internet, randomly looking for exploits and such.
The error you're seeing suggests that it didn't find anything, and just moved on afterwards.
I'll go ahead and mark this task as fixed. If you have any other questions, let us know. Thanks!
Submitted by mike8 on Mon, 08/23/2010 - 12:28 Comment #9
Yes go ahead and mark it FIXED. ProFTP is working fine now. Thanks Jamie..
Submitted by Issues on Mon, 09/06/2010 - 15:20 Comment #10
Automatically closed -- issue fixed for 2 weeks with no activity.