Re: How can i start squid at boot time ?

From: Assi Akafou Eric Désiré <assie@dont-contact.us>
Date: Thu, 27 Apr 2000 10:10:53 +0100

Hi williams,

Thanks you very much, it works now. I created the group squid and
add root and then i edit .../squid.conf by adding effective_user squid.
I have appreciate your help and my thanks goes to all the list member for
this attention.

PEACE.

Eric..

Tom Williams wrote:

> Ok. I understand. What you need to do is make sure the "squid" userid
> and "root" are in the SAME group. You can look in "/etc/group" to see the
> group definitions. At the end of a definition, you might see a list of
> userids.
>
> The easiest thing would be to make a groupd called "squid" and make sure
> "root" and "squid" are members of that group. Then make sure the file
> permissions on the squid directories are rwxrwxr-x (i.e. chmod 775 xxx) to
> allow members of the squid group full access. Once the "squid" group is
> created, you can edit "/etc/group" to add root to the group. I can send
> you a samle of my "/etc/group" file.
>
> DO NOT CREATE "/etc/group" yourself. Read system administration doc on
> creating groups.
>
> Once "root" and "squid" are in the same group, squid should start at boot
> time. Also, you will need to make sure the "effective_user" (or something
> like that) is set in the squid.conf file. This is the userid Squid will use
> to access the cache and stuff.
>
> Please keep in mind that I'm not there with you, so it's hard for me to
> know EXACTLY what you're doing. If the above doesn't work, I'll send
> instructions on how I built Squid and got it working on my machine.
>
> Peace......
>
> Tom
>
> P.S. Attached is my "/etc/group" file. Notice the entry for "squid"...
> P.P.S. You can use the "man group" command to learn about the "/etc/group"
> file.
>
> (See attached file: group)
>
> Assi Akafou Eric D?sir? <assie@globeaccess.net> on 04/26/2000 01:55:13 AM
>
> To: Tom Williams/HQ/dssi
> cc:
> Subject: Re: How can i start squid at boot time ?
>
> I've just tried to follows your instructions but i have
> the same problems: squid process exiting due to repeated faillure.
> To be more explixit before instaling squid. I create a user squid
> (/usr/local/squid)
> under this directory and as user squid i compile and run squid process.
> As a result i can't run squid process as root and any other user.
> regards,
>
> Tom Williams wrote:
> > This is how I start mine in my /etc/rc.d/rc.local file:
> >
> > # Start the Squid proxy.....
> > /usr/local/bin/squid -s
> >
> > I don't use RunCache or any of that stuff. This is simple and it works.
> > Make sure your Squid directories have the proper file permissions to
> allow
> > Squid to start upon system boot.
> >
> > Let me know if you have any questions.
> >
> > Peace....
> >
> > Tom
> >
> > P.S. There seem to be LOTS of responses to your question so maybe you
> > could use my approach as the least elegant last resort.
> >
> > Assi Akafou Eric D?sir? <assie@globeaccess.net> on 04/25/2000 01:33:01 PM
> >
> > To: Tom Williams/HQ/dssi
> > cc:
> > Subject: Re: How can i start squid at boot time ?
> >
> > I tried it by adding this lines in /etc/rc.d/rc.local:
> > if [ /usr/local/squid/bin/RunCache ]; then
> > . /usr/local/squid/bin/RunCache
> > fi
> > The log message indicates that squid process exit
> > due to repeated failure.
> > Please help !!!!
> >
> > Tom Williams wrote:
> > > On my system, I added the squid command to my /etc/rc.d/rc.local file.
> > > Then squid starts when the machine reboots. I'm running RedHat 6.0 w/
> a
> > > custom 2.2.14 kernel.
> > >
> > > Peace......
> > >
> > > Tom
> > >
> > > Assi Akafou Eric D?sir? <assie@globeaccess.net> on 04/25/2000 01:18:09
> AM
> > >
> > > To: squid-users@ircache.net
> > > cc: (bcc: Tom Williams/HQ/dssi)
> > > Subject: How can i start squid at boot time ?
> > >
> > > Hi there,
> > > Please does anyone knows how do i get SQUID.2.2.STABLE runs when my
> > > redhat 6.0 boots. I followed instructions in howtos but nothing works.
> > > Any help will be appreciate.
> > > Best Regards,
> > >
> > > begin:vcard
> > > n:Assi;Eric D?sir?
> > > tel;cell:(225)05050073
> > > tel;fax:(225)20320024
> > > tel;home:Abidjan
> > > tel;work:Access Telecom
> > > x-mozilla-html:FALSE
> > > url:www.globeaccess.net
> > > org:Access Telecom;Network dpt
> > > adr:;;01 BP 8583 Abidjan 01;Abidjan;;8583;C?te d'Ivoire
> > > version:2.1
> > > email;internet:assie@globeaccess.net
> > > title:Network engineer
> > > fn:Eric D?sir? Assi
> > > end:vcard
> >
> > begin:vcard
> > n:Assi;Eric D?sir?
> > tel;cell:(225)05050073
> > tel;fax:(225)20320024
> > tel;home:Abidjan
> > tel;work:Access Telecom
> > x-mozilla-html:FALSE
> > url:www.globeaccess.net
> > org:Access Telecom;Network dpt
> > adr:;;01 BP 8583 Abidjan 01;Abidjan;;8583;C?te d'Ivoire
> > version:2.1
> > email;internet:assie@globeaccess.net
> > title:Network engineer
> > fn:Eric D?sir? Assi
> > end:vcard
>
> begin:vcard
> n:Assi;Eric D?sir?
> tel;cell:(225)05050073
> tel;fax:(225)20320024
> tel;home:Abidjan
> tel;work:Access Telecom
> x-mozilla-html:FALSE
> url:www.globeaccess.net
> org:Access Telecom;Network dpt
> adr:;;01 BP 8583 Abidjan 01;Abidjan;;8583;C?te d'Ivoire
> version:2.1
> email;internet:assie@globeaccess.net
> title:Network engineer
> fn:Eric D?sir? Assi
> end:vcard
>
> ------------------------------------------------------------------------
> Name: group
> group Type: unspecified type (application/octet-stream)
> Encoding: base64

Received on Thu Apr 27 2000 - 04:14:31 MDT

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