[solved] Autostart on Debian Squeeze ?

Please post here if you have problems in using Wing FTP Server.
Post Reply
fred9176
Posts: 23
Joined: Mon Jul 02, 2012 9:29 am

[solved] Autostart on Debian Squeeze ?

Post by fred9176 »

Hello,

I'm trying to setup WingFTP on a Debian Squeeze 64bits.

Everything is working fine, I can manually start the server with /etc/init.d/wftpserver start.

But I would like that the ftp server starts automatically with the server (as Apache or vsftp do for example).

I checked the corresponding boxes in sysv-rc-conf, the symlinks are created in /etc/rcX.d but the server doesn't start at boot. I don't have any trace in /var/log/boot of a potiential error when trying to start the service.

Do you have any idea on how to correct this ?

Thank you,

Fred
Last edited by fred9176 on Tue Jul 03, 2012 2:55 pm, edited 1 time in total.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Autostart on Debian Squeeze ?

Post by FTP »

I think this error is within the INSSERV script, you can check out this article: http://wiki.debian.org/LSBInitScripts/D ... yBasedBoot" rel="nofollow

And maybe you can remove INSSERV to solve this issue:

Code: Select all

sudo apt-get remove insserv
fred9176
Posts: 23
Joined: Mon Jul 02, 2012 9:29 am

Re: Autostart on Debian Squeeze ?

Post by fred9176 »

I finally managed to correct my problem adding LSB fields to the init script. I just copiyed the one from apache.
Post Reply