Fwd: [squid-users] Startup script: execvp: No such file or directory

From: <mortbox@dont-contact.us>
Date: Sat, 31 Jan 2004 20:50:28 -0500

i've asked to be removed countless times. here's another message that
i didn't want. it's really not that hard to remove somebody is it...

This is a forwarded message
From: MarceloK <marcelok@psw.com.br>
To: squid-users@squid-cache.org <squid-users@squid-cache.org>
Date: Thursday, January 29, 2004, 11:48:59 AM
Subject: [squid-users] Startup script: execvp: No such file or directory

===8<==============Original message text===============
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

===8<===========End of original message text===========

-- 
Best regards,
 mortbox                            mailto:mortbox@gamebox.net
Received on Sat Jan 31 2004 - 20:02:22 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:11 MST