LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-30-2005, 01:08 AM   #1
logicalfuzz
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 291

Rep: Reputation: 48
'service squid start' gives error


i started learning squid and after only a few changes in squid.conf file, i tried to start the squid service with "service squid start'. here's the error that i get.
Code:
[root@saturn squid]# service squid start
init_cache_dir /var/spool/squid... /etc/init.d/squid: line 54:  4195 Aborted                 $SQUID -z -F -D >>/var/log/squid/squid.out 2>&1
Starting squid: /etc/init.d/squid: line 53:  4196 Aborted                 $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1
                                                           [FAILED]
is there something to be done before starting the squid service? pls guide.
 
Old 10-30-2005, 04:31 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
I'd guess something isn't quite right in your config file. I don't know any tool to parse the squid config file for errors like you can with Samba or Apache, but if you go into the config file and adjust the debug level, then try starting Squid, it should give you a little more info as to where it's failing.
 
1 members found this post helpful.
Old 10-31-2005, 01:26 AM   #3
logicalfuzz
Member
 
Registered: Aug 2005
Distribution: Arch Linux
Posts: 291

Original Poster
Rep: Reputation: 48
ok.. i had to install RHEL4 AS. so the previous problem did not need to be solved. but this time without any configuring (of squid.conf file) i tried to check the status of squid service with 'service squid status' . the error this time is..
Code:
[root@saturn ~]# service squid status
squid is stopped
FATAL: Could not determine fully qualified hostname.  Please set 'visible_hostname'

Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 0.021 seconds = 0.013 user + 0.008 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 2
/etc/init.d/squid: line 121:  3225 Aborted                 $SQUID -k check
[root@saturn ~]#
inside squid.conf i aded the line
Code:
visible_hostname saturn
so what i now see is
Code:
[root@saturn ~]# service squid status
squid is stopped
squid: ERROR: No running copy
[root@saturn ~]#
what does this last line mean?
 
1 members found this post helpful.
Old 04-21-2011, 11:26 PM   #4
yoglu_mhtr
LQ Newbie
 
Registered: Apr 2011
Posts: 1

Rep: Reputation: 0
Thumbs up

[root@saturn ~]# service squid status
squid is stopped
squid: ERROR: No running copy

the last means squid service is not running...
Code:
service squid start
Starting squid: . [ OK ]

It shud start squid service & then check squid status, it shud be working

[root@dsl ~]# service squid status
squid (pid 4351) is running...

I was same issue,but with adding "visible_hostname" in "squid.conf" file & starting squid service. It worked...
 
Old 09-28-2011, 04:25 AM   #5
mushtaque_asghar
LQ Newbie
 
Registered: Apr 2009
Location: Sukkur, Sindh
Distribution: Ubuntu 8.10
Posts: 5

Rep: Reputation: 0
Lightbulb Re: service squid start' gives error

Dear All,

As for as my experience is concerned, this problem is resolved by changing the ownership of concerned folders and files.

Regards,
 
Old 06-04-2014, 12:33 AM   #6
hammad-aziz
LQ Newbie
 
Registered: May 2014
Posts: 3

Rep: Reputation: Disabled
SQUID Reload error

Hello,

this happen because of changing the Host IP address....
what you need to just restart the linux server it will update the IP setting in the init.d file.........



Regrds
hammad Aziz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't "service squid start" , and chkconfig squid on not working Niceman2005 Linux - Software 0 11-10-2004 08:18 PM
how squid service be start/restart in slackware LinuxLover Slackware 5 10-22-2004 07:16 AM
Error when start service after remove LDAP blackyzero Linux - Networking 0 09-29-2004 11:02 PM
Can't start Squid service. stan georgen Linux - Software 1 11-11-2003 02:25 PM
Proftpd Service Start ERROR!! poisonousmist Linux - Newbie 2 10-14-2003 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration