Re: [squid-users] Squid wont start on slackware

From: Santosh Rani <santoshballey@dont-contact.us>
Date: Wed, 4 Oct 2006 11:52:15 +0530

I am feeling extremely bad to have posted without any details of how
it all happened and to have wasted every reader's time. Here are all
the details :

Operating System: Slackware 10.2
Machine: PIII, 667 MHz

Compile options:

CFLAGS="-O2" ./configure --enable-delay-pools
--enable-removal-policies="lru" --enable-useragent-log --disable-wccp
--disable-wccpv2 --enable-ssl --enable-storeio=diskd,ufs --enable-snmp
--disable-ident-lookups --enable-http-violations
--enable-http-violations i686-slackware-linux make all

It compiled without errors

#make install

With this command squid was installed without any error.

In the squid.conf file, I changed the following:

http_port 8080
visible_hostname cathy.alfa.net

To check the sanity of my configuration of squid.conf,

#/usr/local/squid/sbin/squid -k parse

I got no Error.

Now I gave the follwing command to start squid :

#/usr/local/squid/sbin/squid

It gave me error that 'cache' directory does not exist:
So I created the 'cache' directory

/usr/local/squid/var/cache

I set the permissions on directory 'cache' as follows:
chown root:root cache ( while I was at Directory "/usr/local/squid/var")

I have set the ownership on 'cache' directory' for root since other
folder i.e. in the 'var' directory was also owned by root with the
permission 733

After this I gave the following command to create 'cache'
#/usr/local/squid/sbin/squid -z

The cache directories are created without any error.

Now I retry to start Squid:

#/usr/local/squid/sbin/squid

This time I got no error meaning that Squid should have started.

Now when I want to access Internet through this Machine on which Squid
has been installed. I do not get anything, not even any warning like
"Access Denied" since I have not configured Squid to allow access to
any machine.

What I have Tried?

I tried the following command:

#/usr/local/squid/sbin/squid -k restart

Error: No running copy,

I have checked that there is no startup script in /etc/rc.d

More than this I After this I have googling since then to find a
solution and when I did not any in a foolish manner I posted the
message to squid users. I have earlier successfully run Squid on
FreeBSD. Fedora Core. But I have never got such problem.

Please help.

On 04/10/06, Chris Robertson <crobertson@gci.net> wrote:
> Santosh Rani wrote:
> > I have installed Slackware on one of my P-III machines to serve 12
> > machines.
> > I am not able to start it.
> > How to start ir? Pointers please.
> >
> > Regards
> http://www.reedmedia.net/misc/mail/using-mailing-list.html#asking-questions
>
> Specifically:
>
> * What, exactly, fails?
> * What steps did you attempt to resolve it?
> * What do your log files show?
> * Post details of what went wrong.
> * What error(s) did you get?
> * What steps are you taking to test?
> * Show us exactly what happened.
> * If applicable, what does the software's debugging show?
> * Don't say "it didn't work". Show how it didn't work.
> * Don't make the readers guess.
>
>
> Chris
>
Received on Wed Oct 04 2006 - 00:22:29 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST