Service php5-fpm restart, Error

$ service php5-fpm restart
stop: Rejected send message, 1 matched rules; type=“method_call”, sender=":1.8" (uid=1000 pid=3949 comm=“stop php5-fpm “) 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.9" (uid=1000 pid=3943 comm=“start php5-fpm “) 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 ")

Hi, looks like you are restarting service under user with uid 1000 (some normal user). Try to use “sudo” to restart service.

1 Like