Squid startup

From: Jason Wilson <jasonw@dont-contact.us>
Date: Fri, 9 Oct 1998 11:20:51 -0500

I installed squid and set the configuration file. I then try to run it and
this is what I get as a response. I am using the script from the install
guide at http://www.bcs.zp.ua/en/manuals/squid/FAQ/FAQ-2.html:

        #!/bin/sh
        C=/usr/local/squid
        PATH=/usr/bin:$C/bin
        TZ=PST8PDT
        export PATH TZ

        notify="root"
        cd $C
        umask 022
        sleep 10
        while [ -f /tmp/nosquid ]; do
                sleep 1
        done
        /usr/bin/tail -20 $C/logs/cache.log \
                | Mail -s "Squid restart on `hostname` at `date`" $notify
        exec bin/squid -CYs

and this is the response I get

./squid.sh: sleep: command not found
/usr/bin/tail: /usr/local/squid/logs/cache.log: no such file or directory
Null message body; hope that's ok

It seemed fine otherwise (as far as I could see). I ran the check

% client http://www.netscape.com/ > test

and it just sits there and I get nothing.

Any ideas???

Thanks a million
Received on Fri Oct 09 1998 - 09:23:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:24 MST