PDA

View Full Version : FTP doens't work


Solvik
11th August 2007, 01:27
Hi,

I recently installed ISPConfig, I think it's that I need.. But when I tryed to connect to the FTP, that didn't work.

The FTP is actived on the plan.

I created an user (administrator) web1_myname, with my password, when I try to log on, FileZilla give me that error: 530 Login incorrect.
So the login doesn't work.

Same things when I try to connect on http://IP:81/mailuser/ for example.
> Erreur: Password error: Login failed.

I don't understand.

Thanks in advance for your help !

Regards,

edge
11th August 2007, 01:49
Did you enable the Administrator option for that user?
It's under ISP Manager > the-domain > User & Email > the_user_name. (you will need to enable the "Administrator" part.

Also note that the login is the Username as shown in the User & Email part. (webNR_name)

Solvik
11th August 2007, 12:38
Yes I did that. web1_solvik is administrator..

falko
11th August 2007, 13:11
What's the output of grep web1_solvik /etc/passwd?
Any errors in your logs? Which distribution do you use?

Solvik
11th August 2007, 14:14
web1_solvik:x:10001:10001:Solvik BLUM:/home/www/web1:/bin/bash

I use Debian 3.1

Aug 11 13:12:46 localhost proftpd[16855]: - FTP session opened.
Aug 11 13:12:48 localhost proftpd[16855]: - PAM(web1_solvik): Authentication failure.
Aug 11 13:12:48 localhost proftpd[16855]: - FTP session closed.

Solvik
11th August 2007, 20:32
When I try to use web-ftp, it says an error:

Impossible to connect with web1_solvik

(translation of my french error message :))

hendry
12th August 2007, 09:57
Do you have your servername right in your hosts file?

Solvik
12th August 2007, 11:59
~# cat /etc/hostname
sd-10593

thats is the problem ? Do I need to change that ? :s

EDIT: modified, that's work :)

falko
12th August 2007, 14:56
Are you absolutely sure you're using the correct password? Please set a new one in ISPConfig and try again.

jsalihi
14th August 2007, 12:01
I have the same problem:

I use Debian Etch

The user web2_joewan is administrator an the password is correct.

ProFTPD Log:
Aug 14 10:53:27 ns26307.ovh.net proftpd[22722] localhost.localdomain (localhost.localdomain[127.0.0.1]): mod_delay/0.5: delaying for 42 usecs
Aug 14 10:53:27 ns26307.ovh.net proftpd[22722] localhost.localdomain (localhost.localdomain[127.0.0.1]): USER web2_joewan (Login failed): Invalid shell: '/dev/null'
Aug 14 10:53:27 ns26307.ovh.net proftpd[22722] localhost.localdomain (localhost.localdomain[127.0.0.1]): mod_delay/0.5: delaying for 2809575 usecs
Aug 14 10:53:30 ns26307.ovh.net proftpd[22722] localhost.localdomain (localhost.localdomain[127.0.0.1]): FTP session closed.

grep web2_joewan /etc/passwd
web2_joewan:x:10001:10002:Joewan:/var/www/web2:/dev/null

But i can login to mailuser

falko
15th August 2007, 19:36
web2_joewan:x:10001:10002:Joewan:/var/www/web2:/dev/null
You must enable FTP for that web site in ISPConfig. If users have /dev/null as shell, it means that FTP isn't enabled for that web site.