Hi and thanks in advance for your help.
I am trying to restart a Squid Proxy server
within a C cgi program.
I have added the following:
system("/usr/local/squid/sbin/squid -k reconfigure");
but get this error in the log file when I run the program:
"squid: ERROR: Could not send signal 1 to process 19175: (1) Operation not
permitted"
I have also tried:
system("su squid -c /usr/local/squid/sbin/squid -k reconfigure");
but get this error:
"su: must be run from a terminal"
How should I run the "/usr/local/squid/sbin/squid -k reconfigure" command?
Apache runs as nobody.nobody and Squid runs as squid.users
but the squid executable is chmod to 755.
Any and all help is greatly appreciated.
Chip