Public bug reported:

Binary package hint: squid-deb-proxy

Wanting to restart squid-deb-proxy on my Ubuntu 10.04 LTS server, if I
use the init script I am able to stop/start but not restart. I get
notified I should use "service" rather than the init script but that
doesn't work.

a...@ubuntuserver:~$ sudo /etc/init.d/squid-deb-proxy restart
[sudo] password for alan: 
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service squid-deb-proxy 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-deb-proxy
restart: Job failed to restart

a...@ubuntuserver:~$ sudo service squid-deb-proxy restart
restart: Unknown instance: 
a...@ubuntuserver:~$ 

a...@ubuntuserver:~$ ps -ef | grep squid
root      1192     1  0 Dec30 ?        00:00:00 /usr/sbin/squid
proxy     1194  1192  0 Dec30 ?        00:00:05 (squid)
alan      9177  9025  0 10:15 pts/0    00:00:00 grep --color=auto squid
a...@ubuntuserver:~$ sudo service squid-deb-proxy stop
stop: Unknown instance: 
a...@ubuntuserver:~$ sudo /etc/init.d/squid-deb-proxy stop
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service squid-deb-proxy stop

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

a...@ubuntuserver:~$ sudo /etc/init.d/squid-deb-proxy start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service squid-deb-proxy start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start squid-deb-proxy
squid-deb-proxy start/running, process 9197

a...@ubuntuserver:~$ ps -ef | grep squid
root      1192     1  0 Dec30 ?        00:00:00 /usr/sbin/squid
proxy     1194  1192  0 Dec30 ?        00:00:05 (squid)
root      9197     1  0 10:15 ?        00:00:00 squid -f 
/etc/squid-deb-proxy/squid-deb-proxy.conf
proxy     9199  9197  0 10:15 ?        00:00:00 (squid) -f 
/etc/squid-deb-proxy/squid-deb-proxy.conf
alan      9202  9025  0 10:15 pts/0    00:00:00 grep --color=auto squid

*boggle*

** Affects: squid-deb-proxy (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/695937

Title:
  Starting/stopping/restarting squid-deb-proxy is not clear

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to