RE: [squid-users] Squid won't execute from command line

From: Geoff Varney <geoff.varney@dont-contact.us>
Date: Mon, 13 Jun 2005 15:43:28 -0700

Thanks, but same thing there.

There must be something fundamentally wrong with Squid. I am certain I have
been able to see some feedback at the command line when running STABLE9.

Anyway, it does seem to run, but now I have a problem with using a cache_dir
other than the default.

I have a separate SCSI drive (/dev/sdb) which I have mounted as:
/dev/sdb1 /mnt/cache.

I have set the owner and group to squid and I am getting "permission denied"
in cache.log trying to start it. OK, cache directories aren't created, so I
do squid -z and get NOTHING at all, just back to prompt. Doesn't tell me
there that permission is denied, but it must be.....

I had this issue once before but I am unable to replicate the fix. I know
it was suggested to me that mount points take root as owner so it needs to
be changed to squid and squid. Somehow I resolved this last time but I am
having no luck this time.

I have manually mounted the cache_dir so far, but can you set owner of EXT3
mount point in fstab? I don't know if that will make a difference right now
as I have set this and am getting denied anyway.

Any ideas on what I can do here? Do I need to blow Squid away and start
over?

Thanks for your help.

Geoff

______________________________
Geoff Varney
Network Support Specialist
Educational Service District 112
Ridgefield School District
360-619-1405
geoff.varney@esd112.org

-----Original Message-----
From: Kashif Ali Bukhari [mailto:kbukhari@gmail.com]
Sent: Friday, June 10, 2005 10:19 PM
To: Andreas Pettersson
Cc: squid-users@squid-cache.org; geoff.varney@esd112.org
Subject: Re: [squid-users] Squid won't execute from command line

try run
 squid -NCd10
it will show u result

On 6/11/05, Andreas Pettersson <andpet@telia.com> wrote:
> You are not supposed to get much feedback in the console when running
squid.
> Check cache.log for more details instead.
>
> /Andreas
>
>
> Geoff Varney wrote:
>
> >Hi,
> >
> >I'm still pretty new at Linux so this may make sense to some of you.
> >
> >
> >
> >I had Redhat FC3 running with Squid for testing but it was not set up as
> >well as it should have been. I wanted the disks used differently, etc.
So
> >I reinstalled FC3 (K12LTSP 4.2.0). Now I am working on getting Squid set
up
> >and I can't get ANY response from it at the command line. Therefore I
can't
> >even create the cache_dir.
> >
> >
> >
> >When I type "/usr/sbin/squid" with anything, -z, -v, etc I get NOTHING,
just
> >back to the command prompt. It does try to start if I type "service
squid
> >start", but it fails, of course. When I change the cache_dir to the
default
> >in squid.conf, it starts from the command line by typing "squid", but I
> >still don't get anything from command line commands. Reconfigure seems
to
> >be effective from command line, but no output, etc.
> >
> >
> >
> >I don't know where to even look for a cause to this. Maybe I have some
> >basic configuration issue I need to fix?
> >
> >
> >
> >Thanks,
> >
> >Geoff
> >
> >
> >
> >
>
>

-- 
Syed Kashif Ali Bukhari
Network Associate Asia Net
Cell :- +92-345-4244813 , +92-300-4295604
Ph +92-42-111-111-202 Fax +92-42-5840905
MSN:- kbukhari@msn.com ; kashif.bukhari@asia.net.pk
http://asia.net.pk , http://asiatec.biz
---
[This E-mail scanned for viruses by Declude Virus]
Received on Mon Jun 13 2005 - 16:44:59 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:02 MDT