blade-vm hwoarang # /etc/init.d/squid restart * Stopping squid ... squid: ERROR: Could not send signal 15 to process 2489: (1) Operation not permitted * Squid shutdown failed, probably service is already down. [ ok ] * Starting squid ... Even running /etc/init.d/squid stop does not work. The process is still running
Anything funny when you run squid -X -k shutdown on your console? Also please check your cache_effective_user directive in squid.conf and check which user id your Squid process is running under.
(In reply to comment #1) > Anything funny when you run squid -X -k shutdown on your console? > > Also please check your cache_effective_user directive in squid.conf and > check which user id your Squid process is running under. When running -X -k shutdown I get this ... 2013/01/23 21:59:49.514| Setting CA certificate locations. 2013/01/23 21:59:49.514| Not requiring any client certificates 2013/01/23 21:59:49.514| leave_suid: PID 16106 called 2013/01/23 21:59:49.514| leave_suid: PID 16106 giving up root, becoming 'nobody' 2013/01/23 21:59:49.514| command-line -X overrides: ALL,1 squid: ERROR: Could not send signal 15 to process 2489: (1) Operation not permitted cache_effective_user is set to "nobody" and squid is running as root (using the init script)
Fixed by swithing the cache_effective_user from "nobody" to "squid". It should have been a permission problem on my side.