Hail everyone
I'm using Red Hat 8 and Squid 2.5Stable3
I've experienced a problem with startup script for squid. When I use the command
service squid start I get
env: /etc/init.d/squid: No such file or directory
If I try to run using ./squid ...
: bad interpreter: No such file or directory
During the system startup, the follow message appear
squid: execvp: No such file or directory
I have been searching for answers, but unfortunatelly I couldn't found some.
Any tip are welcome
Thanks
Marcelo Koehler
Here is the startup script I'm using ( I put the comment lines needed for chkconfig)
#!/bin/sh
#
# Basic startup script for Squid
#
case "$1" in
start)
echo "Starting Squid"
/usr/local/squid/bin/RunCache > /dev/null 2>&1 &
;;
stop)
echo "Shutting down Squid"
/usr/bin/killall -q RunCache
/usr/local/squid/bin/squid -k shutdown
;;
restart)
echo "Restarting Squid"
/usr/local/squid/bin/squid -k reconfigure
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
Received on Thu Jan 29 2004 - 10:15:40 MST
This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:09 MST