LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 10-30-2005, 02:08 AM   #1
logicalfuzz
Member
 
Registered: Aug 2005
Distribution: OpenSuse 11.4
Posts: 289

Rep: Reputation: 33
'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, 05:31 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: Tuntutuliak, Alaska
Distribution: OpenSuSE 11.0 / Ubuntu 8.04
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, 02:26 AM   #3
logicalfuzz
Member
 
Registered: Aug 2005
Distribution: OpenSuse 11.4
Posts: 289

Original Poster
Rep: Reputation: 33
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-22-2011, 12:26 AM   #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, 05: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,
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 09:18 PM
how squid service be start/restart in slackware LinuxLover Slackware 5 10-22-2004 08:16 AM
Error when start service after remove LDAP blackyzero Linux - Networking 0 09-30-2004 12:02 AM
Can't start Squid service. stan georgen Linux - Software 1 11-11-2003 03:25 PM
Proftpd Service Start ERROR!! poisonousmist Linux - Newbie 2 10-14-2003 09:34 AM


All times are GMT -5. The time now is 08:06 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration