problem with ftp account

tza

Verified User
Joined
Jan 8, 2007
Messages
77
hello
in my server
in d.a
i whant to add to user another ftp account to folder

but when i open ftp managment in user directadmin and add [email protected] fo custom folder ,and the root folder of domain, it is not succses and accsess ni succsess in ftp.

all user that i whant open FTP to custom folder is not succsese
what the soloution
thanks
 
the ftp work
but the another account that i said
not work

it is from flash fxp

WinSock 2.0 -- OpenSSL 0.9.8i 15 Sep 2008
[R] Connecting to serverdomain.com[ -> DNS=serverdomain.com
[IP=server ip PORT=21
[R] Connected to serverdomain.com
[R] 220 ProFTPD 1.3.2a Server ready.
[R] USER [email protected]
[R] 331 Password required for [email protected]
[R] PASS (hidden)
[R] 530 Login incorrect.
[R] Connection failed
[R] Delaying for 120 seconds before reconnect attemp
 
Try to restart your ProFTPd. If it does not help, check /etc/proftpd.vhosts.conf. Does it contain your additional FTP accounts information?
 
Directadmin: Admin Level -> File Editor -> Select "/etc/proftpd.vhosts.conf"
SSH:
Code:
less /etc/proftpd.vhosts.conf
 
to peter- not work

and this from the file
the ip0-3 is not owned ip of server, this anothe ip on server


<VirtualHost IP0>
ServerName "ProFTPd"
ExtendedLog /var/log/proftpd/ IP0.bytes
WRITE,READ userlog
AuthUserFile /usr/local/directadmin/data/users/all2home/ftp.passwd

</VirtualHost>
<VirtualHost IP1>
ServerName "ProFTPd"
ExtendedLog /var/log/proftpd/ IP1.bytes WRITE,READ userlog
AuthUserFile /etc/pureftpd.passwd

</VirtualHost>
<VirtualHost IP2>
ServerName "ProFTPd"
ExtendedLog /var/log/proftpd/ IP2
.bytes WRITE,READ userlog
AuthUserFile /usr/local/directadmin/data/users/guyblog/ftp.passwd

</VirtualHost>
<VirtualHost IP.3>
ServerName "ProFTPd"
ExtendedLog /var/log/proftpd/IP.3.bytes WRITE,READ userlog
AuthUserFile /etc/pureftpd.passwd

</VirtualHost>
 
Change lines
Code:
AuthUserFile /etc/pureftpd.passwd
to
Code:
AuthUserFile /etc/proftpd.passwd

and restart ProFTPd


UPD:

Check and update your

/usr/local/directadmin/data/templates/proftpd.vhosts.conf
/usr/local/directadmin/data/templates/custom/proftpd.vhosts.conf

to

Code:
AuthUserFile            |AuthUserFile|

Check all lines with AuthUserFile within, while AuthUserFile can be re-defined in the top of the file.
 
Last edited:
where is :

/usr/local/directadmin/data/templates/proftpd.vhosts.conf
/usr/local/directadmin/data/templates/custom/proftpd.vhosts.conf


it is not in directadmin

how i go and change what you say

thanks
 
i update what you say in the file
AuthUserFile /etc/pureftpd.passwd
to
AuthUserFile /etc/proftpd.passwd

change to this
and it's not help

and i dont no how to do the :

"where is :

/usr/local/directadmin/data/templates/proftpd.vhosts.conf
/usr/local/directadmin/data/templates/custom/proftpd.vhosts.conf


it is not in directadmin

how i go and change what you say

thanks "
 
Did you restart proftpd? Is there any records in /etc/proftpd.passwd?

I believe, somebody tried to install pureftpd with directadmin on your box, and your FTP server is now mis-configured.
 
/usr/local/directadmin/data/templates/proftpd.vhosts.conf
/usr/local/directadmin/data/templates/custom/proftpd.vhosts.conf

are only accessible via ssh, unless you add them to the /usr/local/directadmin/data/templates/edit_files.txt under Admin>Amin Tools>File Manager
 
zEitEr - yes i restard

Peter Laws -
how i add them and where in the file in directadmin
 
You'd better, contact your system administrator or DC technicians in order to reinstall ProFPTd and fix it's configs (or hire someone from this forum)

To add custom files to Directadmin (in order to edit them via web interface), open /usr/local/directadmin/data/templates/edit_files.txt in File Editor and carefully update it. Add lines:

Code:
/usr/local/directadmin/data/templates/proftpd.vhosts.conf=user=diradmin&group=diradmin&permission=644
/usr/local/directadmin/data/templates/custom/proftpd.vhosts.conf=user=diradmin&group=diradmin&permission=644

Save and restart directadmin.


You don't really need to change them, because the problem was not solved with /etc/proftpd.vhosts.conf updating.

Please, answer the question: Is there any records in /etc/proftpd.passwd starting with your custom FTP logins?
 
Last edited:
Back
Top