Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I restart squid web proxy service, I receive the following errors. What are these errors?

/etc/init.d/squid restart

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

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart squid
restart: Rejected send message, 1 matched rules; type="method_call", sender=":1.64" (uid=1000 pid=2979 comm="restart) 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"))

Has anybody else encountered this problem?

share|improve this question

1 Answer 1

execute

service squid restart

as said in the message:

Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the restart(8) utility, e.g. restart squid

It's more easy to remember in fact :-P

share|improve this answer
    
+1 right ... not an error just a friendly notice –  user8290 Jan 27 '11 at 18:05
    
As you said,I was restarted the service.But,I am receiving same error. –  MAxcoder Jan 28 '11 at 6:16
    
Did you execute using sudo ? –  Luciano Facchinelli Jan 28 '11 at 12:36
    
yes, I execute using sudo. –  MAxcoder Jan 28 '11 at 15:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.