Skip to content

Instantly share code, notes, and snippets.

@vicatcu
Created September 29, 2012 05:09
Show Gist options
  • Save vicatcu/3803235 to your computer and use it in GitHub Desktop.
Save vicatcu/3803235 to your computer and use it in GitHub Desktop.
tftpd command fail
vic@VictorAsus:~$ /etc/init.d/tftpd-hpa restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service tftpd-hpa 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 tftpd-hpa ; start tftpd-hpa. The restart(8) utility is also available.
stop: Rejected send message, 1 matched rules; type="method_call", sender=":1.123" (uid=1000 pid=5383 comm="stop tftpd-hpa ") interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
vic@VictorAsus:~$ service tftpd-hpa restart
stop: Rejected send message, 1 matched rules; type="method_call", sender=":1.131" (uid=1000 pid=6349 comm="stop tftpd-hpa ") interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.132" (uid=1000 pid=6346 comm="start tftpd-hpa ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment