| Summary: | net-proxy/squid-3.1.22: {restart,stop} init script gives ERROR: Could not send signal 15 to process XXXX: (1) Operation not permitted | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Markos Chandras (RETIRED) <hwoarang> |
| Component: | New packages | Assignee: | Eray Aslan <eras> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | net-proxy+disabled |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Markos Chandras (RETIRED)
2013-01-19 22:35:54 UTC
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. |