Proftp not working after update on Ubuntu 8.04

Scormen

Verified User
Joined
Jan 26, 2008
Messages
56
Hi all,

I have updated (apt-get dist-upgrade) my Ubuntu 8.04 DA-server.
Everything went well... except... proftp.

Since the update, it seems all the ftp accounts are gone. I can't find errors in the log files. I have rebuilded proftp already via the directadmin/scripts and the directadmin/custombuild files.

But still nothing. All the :/usr/local/directadmin/data/users/[users]/ftp.passwd files are empty.

When I trie to connect via FileZilla, it says this:
22:41:30 Status: Connecting to ***.***.***.***:21...
22:41:30 Status: Connection established, waiting for welcome message...
22:41:40 Response: 220 ProFTPD 1.3.1 Server (ProFTPD Default Installation) [***.***.***.***]
22:41:40 Command: USER testuser
22:41:40 Response: 331 Password required for testuser
22:41:40 Command: PASS ********
22:41:40 Response: 530 Login incorrect.
22:41:40 Error: Could not connect to server

Login incorrect... But I'm sure the password is correct. This is the error on all accounts on the server.

Any idea that I can do or where I can have a look?

Thanks for your time,
Kris
 
Last edited:
Hello,

Debian installed a different proftpd version.

Type:
Code:
cd /usr/local/directadmin/scripts
./proftpd.sh
to reinstall ours.

your /etc/proftpd.conf should look like /usr/local/directadmin/data/templates/proftpd.conf, with the exception of the |SERVER_IP| token (which should show your IP)

It's likely just using a wrong proftpd.conf that came with the other binaries. So reinstalling ours will have things point back to ours stuff.
Note that /etc/proftpd.passwd is where most accounts live for shared IPs.

John
 
Thanks for your answer, but I had still the problems.
Due to more problems on a Ubuntu box, I have decided to reinstall the whole server and start over with Debian 4.0 and everything works fine now!

But, thanks again.

Kris
 
Ubuntu 9.04 Server Edition works with DA

I am using UBuntu 9.04 Server Edition and DA works fine until now.
To make proftpd works then you need to:
  1. mkdir -p /var/run/proftpd/
  2. mkdir -p /var/lock/subsys/
  3. /etc/init/d/proftpd start

Note: I am using the current version when I write this pots: DA 1.336 version
 
i got the same problems guys ...

I've tryied many time to reinstal proftpd by DA script directory, but it doesn't work...

I'm using Debian OS ... any suggestion?

I have copyed proftpd.conf by /usr/local/directadmin/data/templates/proftpd.conf to /etc/proftpd/proftpd.conf and restarted the service, but it doens't still work ....

Help please :)
 
Last edited:
Please write the error message you got.

I just re-install DA on Ubuntu 9.10 Server Edition.

The proftpd won't work, with this error:
"Starting proftpd: - Fatal: ScoreboardFile: : unable to use '/var/run/proftpd/proftpd.scoreboardfile': No such file or directory on line 13 of '/etc/proftpd.conf'"

To fix this issue:
1. Edit /etc/proftpd.conf
2. Edit or add this line if not exists:
PidFile /var/run/proftpd.pid
ScoreboardFile /var/run/proftpd/proftpd.scoreboardfile
3. Create folder /var/run/proftpd/
4. # /etc/init.d/proftpd start
Starting proftpd:
5. Done!

Ubuntu 9.10 + DA = Solid Hosting!
 
You probably have the deb package installed as well as the source + a combination of the wrong config file loading and the wrong init script

backup /etc/proftpd.* to /tmp

apt-get remove proftpd

dpkg -P proftpd to purge the configuration.

cd /usr/local/directadmin/custombuild

./build proftpd

cp proftpd_debian /etc/init.d/proftpd
chmod +x /etc/init.d/proftpd

kill any current proftpd process running

/etc/init.d/proftpd start

In future when updating the operating system with apt make sure you dont just select everything, ignore upgrading proftpd.
 
After a ./build all in custombuild... and some problem to restart computer, I have the same problem.

Impossible for users tu use FTP. But no problem for admin...

I use the command write in the beginning of this post

Code:
cd /usr/local/directadmin/scripts
./proftpd.sh

And it's perfect ! It works !

Thanks !

I am on debian etch
 
I have discovered a new small problem after my update !

.htaccess are not listed !

I verify, and in /etc/proftpd/proftpd.conf, I have this :

ListOptions -a

Is there anything else to modify ?
 
Back
Top