Skip to main content

Thread: vsftpd issue


hi,

i'm getting following message when install vsftpd on ubuntu(9.10).

update-rc.d: warning: vsftpd stop runlevel arguments (0 1 6) not match lsb default-stop values (1)

mean? i'm unable locate vsftpd.conf file in /etc , i'm unable start vsftpd.

tried removing , reinstalling vsftpd through apt-get , dpkg , got above message times.

please advice.

hi,
"default-stop" in init info section of /etc/init.d/vsftpd defined runlevel "1". other runlevels (0 & 6) in vsftpd has stopped not defined, results in update-rc.d warning.
see: http://wiki.debian.org/lsbinitscripts
code:
default-start: run_level_1 [run_level_2...],default-stop: run_level_1 [run_level_2...] defines run levels script should started (stopped) default. example, if service should run in runlevels 3, 4, , 5 only, specify  "default-start: 3 4 5" , "default-stop: 0 1 2 6".
i did not face issues in starting vsftpd. also, see vsftpd.conf in /etc directory. i'm using ubuntu-9.10 32 bit server , version of vsftpd installed 2.2.0
far application execution concerned, can safely ignore warning.

however, managed fix warning editing /etc/init.d/vsftpd. changed line
code:
# default-stop: 1
to
code:
# default-stop: 0 1 6
now issued following commands:
code:
$ sudo update-rc.d -f vsftpd remove $ sudo update-rc.d vsftpd defaults
the warning doesn't occur anymore. fix current installation of vsftpd , may not survive re-installation/upgrade.

make sure complete uninstall (including configuration files), issue following command:
code:
$ sudo apt-get purge vsftpd
now install vsftpd again.
code:
$ sudo apt-get install vsftpd
a few things @ during/after installation:

  • do see following message after update-rc.d warning
    code:
    starting ftp server: vsftpd                         [ok]
  • the vsftpd.conf file should present default in /etc folder.

hope helps.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] vsftpd issue


Ubuntu

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???