PDA

View Full Version : FTP just stopped working for no reason? Login failure?


LittleBrother
2004-08-27, 11:18 AM
Well I worked on my server all day yesterday just to find that SAFE MODE was the problem with PHP. So I added one file called "safemode" to fix it. I also had support log in during that. That is the only minor changes I made.

Starting yesterday evening though my FTP client stopped being able to login. Login failure. WHAT???

So I rebooted this morning and the same thing. I can log into my control panel (ENSIM) with zero problems using that same account. So I know the user/pass is correct.

I also double triple checked my username xxxx@mydomain.com and password and ftp.xxxxxxx.com and all is correct.

WTF??? Anyone know of any bugs or glitches in FTP that will do this or block logins?

Oh yeah I had two profiles in my WS-FTP client and both could logon to my sub-site they both fail. BUT my root/admin username gets me in no problem of course I am trying to get into the site and NOT the root which brings me into /home/adminusername

Thanks,
Doug

LittleBrother
2004-08-27, 11:57 AM
P.S. Here is logging in from a command line

FAILS
C:\>ftp ftp.acousticplayermagazine.com
Connected to acousticplayermagazine.com.
220 ProFTPD FTP Server ready.
User (acousticplayermagazine.com:(none)): apmadm@acousticplayermagazine.com
331 Password required for apmadm@acousticplayermagazine.com.
Password:
530 Login incorrect.
Login failed.
ftp>

WORKS
C:\>ftp ftp.acousticplayermagazine.com
Connected to acousticplayermagazine.com.
220 ProFTPD FTP Server ready.
User (acousticplayermagazine.com:(none)): dsjones
331 Password required for djones.
Password:
230 User djones logged in.
ftp> pwd
257 "/home/dsjones" is current directory.
ftp>

LittleBrother
2004-08-27, 12:26 PM
The saga continues. So I went in and disabled FTP for that site (my only site) and then reenabled it and got an error it could not write to /home/virtual/site4/fst/home/username directory not found. So I logged into root and found that dir and sure enough all the other users were there but not the one that admins my site. Keep in mind you CANNOT delete this user you can only rename it. So now I know I did NOT cause this. I created a folder with the name of the adminaccount then reenabled FTP for the site in Ensim and whallah I got files written to that folder.

FTP still doesn't work. I have had more trouble with this server setup than anything I have ever tried. I have setup Linux and Plesk a dozen times. I am very very discouraged. If anyone has some ideas I now cant even upload files to my domain and we are suppose to go online next week.

Email continues to be flakey on/off and I still have 2-3 issues remaining. Any ideas on this problem ?

Thanks for your time and help!
DJ

LittleBrother
2004-08-27, 14:52 PM
Update, I backed up the whole site and recreated it and restored. Now if I can figure out how to chown the html tree back to my username I will be in business.

Evidentally a directory did get trashed under the site's /home folder and I figured how how it happened.

SINCE these servers allow ftp users to come it at a higher level than I think they should someone posted then deleted files in the home folder they should NOT have been able to. The username folder got clobbered as a result.

Oh well live and learn...

I apologize for the senseless posts...

Soul
2004-08-27, 16:19 PM
Originally posted by LittleBrother
Update, I backed up the whole site and recreated it and restored. Now if I can figure out how to chown the html tree back to my username I will be in business.

Evidentally a directory did get trashed under the site's /home folder and I figured how how it happened.

SINCE these servers allow ftp users to come it at a higher level than I think they should someone posted then deleted files in the home folder they should NOT have been able to. The username folder got clobbered as a result.

Oh well live and learn...

I apologize for the senseless posts...

chown theuser.thegroup -r /the/html/directory