squid error

6 replies [Last post]
GMail
User offline. Last seen 1 year 5 weeks ago. Offline
Joined: 07/02/2009
 
Dear all,
 
when i m start squid service below getting error.
 
[root@proxy ~]# /etc/init.d/squid restart

Stopping squid:                                            [FAILED]

init_cache_dir /var/spool/squid... /etc/init.d/squid: line 62:  5666 Aborted                 $SQUID -z -F -D >> /var/log/squid/squid.out 2>&1

Starting squid: /etc/init.d/squid: line 42:  5667 Aborted                 $SQUID $SQUID_OPTS >> /var/log/squid/squid.out 2>&1

                                                           [FAILED]

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com
To post to this group, send email to VGLUG@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

Manish Soni
User offline. Last seen 40 years 36 weeks ago. Offline
Joined: 11/12/2009

Dear All,
 
    I am getting squid error as below. Please help the same. Thanks in Advance.
 
# service squid restart

Stopping squid: [FAILED]

init_cache_dir /var/spool/squid... /etc/init.d/squid: line 62: 31730 Aborted $SQUID -z -F -D >> /var/log/squid/squid.out 2>&1

Starting squid: /etc/init.d/squid: line 42: 31731 Aborted $SQUID $SQUID_OPTS >> /var/log/squid/squid.out 2>&1

[FAILED]
 
Manish Soni
RHCE.

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com
To post to this group, send email to VGLUG@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

nirmalpathak
User offline. Last seen 1 week 2 days ago. Offline
Joined: 05/09/2008

On 21 July 2010 12:14, Manish Soni wrote:
> Dear All,
>
>     I am getting squid error as below. Please help the same. Thanks in
> Advance.
>
> # service squid restart
>
> Stopping squid: [FAILED]
>
> init_cache_dir /var/spool/squid... /etc/init.d/squid: line 62: 31730 Aborted
> $SQUID -z -F -D >> /var/log/squid/squid.out 2>&1
>
> Starting squid: /etc/init.d/squid: line 42: 31731 Aborted $SQUID $SQUID_OPTS
>>> /var/log/squid/squid.out 2>&1
>
> [FAILED]
>

Add follwoing line in /etc/squid/squid.conf

visible_hostname YOUR-HOSTNAME

> Manish Soni
> RHCE.
>

Have FuN!
--
Nirmal D Pathak.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What I want is freedom, not life, nor pleasure, nor good!
FOSS gives that.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com
To post to this group, send email to VGLUG@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

Regards,

Nirmal D Pathak.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I was born free!
No Gates and Windows can restrict my Freedom!!

Enjoy Linux!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Manish Soni
User offline. Last seen 40 years 36 weeks ago. Offline
Joined: 11/12/2009

Dear Friend,

Thank you very much.

It is working successfully.

Thanks

Manish Soni
RHCE

On Jul 21, 11:55 am, Nirmal Pathak wrote:
> On 21 July 2010 12:14, Manish Soni wrote:
>
>
>
>
>
> > Dear All,
>
> >     I am getting squid error as below. Please help the same. Thanks in
> > Advance.
>
> > # service squid restart
>
> > Stopping squid: [FAILED]
>
> > init_cache_dir /var/spool/squid... /etc/init.d/squid: line 62: 31730 Aborted
> > $SQUID -z -F -D >> /var/log/squid/squid.out 2>&1
>
> > Starting squid: /etc/init.d/squid: line 42: 31731 Aborted $SQUID $SQUID_OPTS
> >>> /var/log/squid/squid.out 2>&1
>
> > [FAILED]
>
> Add follwoing line in /etc/squid/squid.conf
>
>   visible_hostname YOUR-HOSTNAME
>
> > Manish Soni
> > RHCE.
>
> Have FuN!
> --
> Nirmal D Pathak.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> What I want is freedom, not life, nor pleasure, nor good!
> FOSS gives that.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- Hide quoted text -
>
> - Show quoted text -

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com
To post to this group, send email to VGLUG@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG

tejasbarot
User offline. Last seen 1 week 3 days ago. Offline
Joined: 06/24/2008

Hello,


On Sat, Feb 6, 2010 at 3:18 PM, Chetan..Panchal <prem4u.2005@gmail.com> wrote:

 
Dear all,
 
when i m start squid service below getting error.

[root@proxy ~]# /etc/init.d/squid restart

Stopping squid:                                            [FAILED]

init_cache_dir /var/spool/squid... /etc/init.d/squid: line 62:  5666 Aborted                 $SQUID -z -F -D >> /var/log/squid/squid.out 2>&1

Starting squid: /etc/init.d/squid: line 42:  5667 Aborted                 $SQUID $SQUID_OPTS >> /var/log/squid/squid.out 2>&1

                                                           [FAILED]



Solution which provided by Nilesh sir will work perfectly and a right way to solve your error. That solution is recommended.


You can also solve that error by another way also.

Look at below to solve this error in Another way :-


You can also try to adding your ip into your hosts file and that may solve your problem.

###########

vim /etc/hosts

Add Entry something like this.

<your-ip-address>    yourhostname.yourdomain.com


############

Restart your squid service.

Hope this helps you.
 

--

Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.

You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".

To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com

To post to this group, send email to VGLUG@googlegroups.com

For more options, visit this group at http://groups.google.com/group/VGLUG




--
Thanks & Regards,

Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
http://blog.ask4itsolutions.com
                 
"Mind is never a problem; mindset is." - Shri Narendra Modi

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com
To post to this group, send email to VGLUG@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG




--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
http://barot.wordpress.com
"Computer are like air conditioners: They stop working when you

tejasbarot
User offline. Last seen 1 week 3 days ago. Offline
Joined: 06/24/2008




On Sat, Feb 6, 2010 at 10:11 PM, Tejas Barot <networking.dept@gmail.com> wrote:

Hello,


On Sat, Feb 6, 2010 at 3:18 PM, Chetan..Panchal <prem4u.2005@gmail.com> wrote:

 
Dear all,
 
when i m start squid service below getting error.

[root@proxy ~]# /etc/init.d/squid restart

Stopping squid:                                            [FAILED]

init_cache_dir /var/spool/squid... /etc/init.d/squid: line 62:  5666 Aborted                 $SQUID -z -F -D >> /var/log/squid/squid.out 2>&1

Starting squid: /etc/init.d/squid: line 42:  5667 Aborted                 $SQUID $SQUID_OPTS >> /var/log/squid/squid.out 2>&1

                                                           [FAILED]



Solution which provided by Nilesh sir will work perfectly and a right way to solve your error. That solution is recommended.


You can also solve that error by another way also.

Look at below to solve this error in Another way :-


You can also try to adding your ip into your hosts file and that may solve your problem.

###########

vim /etc/hosts

Add Entry something like this.

<your-ip-address>    yourhostname.yourdomain.com


Sorry i am correcting my mistake

Add entry something like this.

<your-ip-address>    yourhostname.yourdomain.com yourhostname




 


############

Restart your squid service.

Hope this helps you.
 

--

Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.

You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".

To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com

To post to this group, send email to VGLUG@googlegroups.com

For more options, visit this group at http://groups.google.com/group/VGLUG




--

Thanks & Regards,

Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
http://blog.ask4itsolutions.com
                 
"Mind is never a problem; mindset is." - Shri Narendra Modi




--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
http://blog.ask4itsolutions.com

                 
"Mind is never a problem; mindset is." - Shri Narendra Modi

--
Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
You received this message because you are subscribed to the "Vibrant GNU/Linux User Group".
To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com
To post to this group, send email to VGLUG@googlegroups.com
For more options, visit this group at http://groups.google.com/group/VGLUG




--
Thanks & Regards,
Tejas Barot
Linux Administrator,
Red Hat Certified Engineer,
http://barot.wordpress.com
"Computer are like air conditioners: They stop working when you

nilesh
User offline. Last seen 15 weeks 6 days ago. Offline
Joined: 05/16/2008

HI,

On Feb 6, 2:48 pm, "Chetan..Panchal"

wrote: > Dear all, > > when i m start squid service below getting error. > > [root@proxy ~]# /etc/init.d/squid restart > > Stopping squid:                                            [FAILED] > > init_cache_dir /var/spool/squid... /etc/init.d/squid: line 62:  5666 > Aborted > $SQUID -z -F -D >> /var/log/squid/squid.out 2>&1 > > Starting squid: /etc/init.d/squid: line 42:  5667 Aborted >    $SQUID > $SQUID_OPTS >> /var/log/squid/squid.out 2>&1 > >                                                            [FAILED] Edit one parameters ( reffer the section visible_hostname ) #visible_hostname # TAG: visible_hostname # If you want to present a special hostname in error messages, etc, # define this. Otherwise, the return value of gethostname() # will be used. If you have multiple caches in a cluster and # get errors about IP-forwarding you must set them to have individual # names with this setting. ### add line something like below visible_hostname test.com -------- Thanks and Regards. Nilesh J. Vaghela www.electromech.info -- Please read http://www.catb.org/~esr/faqs/smart-questions.html before posting. You received this message because you are subscribed to the "Vibrant GNU/Linux User Group". To stop receiving emails from this group, mail to VGLUG-unsubscribe@googlegroups.com To post to this group, send email to VGLUG@googlegroups.com For more options, visit this group at http://groups.google.com/group/VGLUG
web counter