proftpd install issue

BrianUK

Verified User
Joined
Feb 4, 2006
Messages
89
Just done a clean install and proftpd was showing as stopped so did

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

and got

Code:
mkdir: cannot create directory `/var/log/proftpd': File exists
dpkg: warning: ignoring request to remove gadmin-proftpd which isn't installed
dpkg: warning: ignoring request to remove gforge-ftp-proftpd which isn't installed
dpkg: warning: ignoring request to remove gproftpd which isn't installed
dpkg: warning: ignoring request to remove proftpd-basic which isn't installed
dpkg: warning: ignoring request to remove proftpd-doc which isn't installed
dpkg: warning: ignoring request to remove proftpd-mod-ldap which isn't installed
dpkg: warning: ignoring request to remove proftpd-mod-mysql which isn't installed
dpkg: warning: ignoring request to remove proftpd-mod-pgsql which isn't installed
dpkg: warning: ignoring request to remove gadmin-proftpd which isn't installed
dpkg: warning: ignoring request to remove gforge-ftp-proftpd which isn't installed
dpkg: warning: ignoring request to remove gproftpd which isn't installed
dpkg: warning: ignoring request to remove proftpd-basic which isn't installed
dpkg: warning: ignoring request to remove proftpd-doc which isn't installed
dpkg: warning: ignoring request to remove proftpd-mod-ldap which isn't installed
dpkg: warning: ignoring request to remove proftpd-mod-mysql which isn't installed
dpkg: warning: ignoring request to remove proftpd-mod-pgsql which isn't installed
dpkg: error processing proftpd-1.3.4d.deb (--install):
 package architecture (i686) does not match system (i386)
Errors were encountered while processing:
 proftpd-1.3.4d.deb
*** proftpd not installed: aborting. ***

ie then tried

Code:
cd /usr/local/directadmin/custombuild
./build clean
./build proftpd

and got

Code:
make[1]: Leaving directory `/usr/local/directadmin/custombuild/proftpd-1.3.5/locale'
 Adding system startup for /etc/init.d/proftpd ...
   /etc/rc0.d/K20proftpd -> ../init.d/proftpd
   /etc/rc1.d/K20proftpd -> ../init.d/proftpd
   /etc/rc6.d/K20proftpd -> ../init.d/proftpd
   /etc/rc2.d/S20proftpd -> ../init.d/proftpd
   /etc/rc3.d/S20proftpd -> ../init.d/proftpd
   /etc/rc4.d/S20proftpd -> ../init.d/proftpd
   /etc/rc5.d/S20proftpd -> ../init.d/proftpd
Done proftpd.
pure-ftpd: no process found
Restarting ProFTPd.
Shutting down proftpd: cat: /var/run/proftpd.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]

Starting proftpd:
touch: cannot touch `/var/lock/subsys/proftpd': No such file or directory
 
Last edited:
fixed it, susbsys directory didn't exist in /var/lock so just recreated rebuilt and all was ok.
 
just came across another similar issue with proftp of fresh install on Debian. Again it wasn't starting properly so did

mkdir /var/lock/subsys/

However when I rebuilt it from custom build this time I got

Starting proftpd: 2015-05-13 19:36:46,279 myserver1.co.uk proftpd[24631]: fatal : ScoreboardFile: : unable to use '/var/run/proftpd/proftpd.scoreboard': No such file or directory on line 13 of '/etc/proftpd.conf'

so i did

mkdir /var/run/proftpd
touch /var/run/proftpd/proftpd.scoreboard

rebuilt again from custom build and this time it worked.

Done proftpd.
pure-ftpd: no process found
Restarting ProFTPd.
Shutting down proftpd: cat: /var/run/proftpd.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]

Starting proftpd:
 
Back
Top