LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Vsftpd service start error (https://www.linuxquestions.org/questions/linux-server-73/vsftpd-service-start-error-927520/)

Arrow2Knee 02-04-2012 02:18 AM

Vsftpd service start error
 
I configured vsftpd for local use using this. When I try to start/restart/stop vsftpd using
Code:

sudo /etc/init.d/vsftpd restart
It says this
Code:

Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service vsftpd restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop vsftpd ; start vsftpd. The restart(8) utility is also available.
vsftpd start/running, process 16881

When I try to use
Code:

service vsftpd restart
like it says, the console says this:
service vsftpd restart
restart: Rejected send message, 1 matched rules; type="method_call", sender=":1.72" (uid=1000 pid=17306 comm="restart vsftpd ") interface="com.ubuntu.Upstart0_6.Job" member="Restart" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")


when I use
Code:

sudo service vsftpd restart
it gives this:
Code:

restart: Unknown instance:

Anyone has an idea?
Thanks already!

Arrow2Knee 02-04-2012 06:25 AM

Nobody?

Arrow2Knee 02-04-2012 07:35 AM

Problem solved while restarting.

hvmmpro 06-22-2012 02:12 AM

code for you:
 
sudo service vsftpd stop
sudo service vsftpd start

acid_kewpie 06-22-2012 02:16 AM

Did you not do what the rest of the message advised?
Quote:

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop vsftpd ; start vsftpd. The restart(8) utility is also available.
Also, by replying to your own thread, you removed it from the "zero posts" search pages, so would have lost visibility. Next time, have faith and leave it with no replies. Although I would have expected a pretty quick response too tbh.


All times are GMT -5. The time now is 12:06 AM.