Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-30-2005, 01:08 AM
|
#1
|
Member
Registered: Aug 2005
Distribution: Arch Linux
Posts: 291
Rep:
|
'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.
|
|
|
10-30-2005, 04:31 AM
|
#2
|
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284
Rep:
|
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.
|
10-31-2005, 01:26 AM
|
#3
|
Member
Registered: Aug 2005
Distribution: Arch Linux
Posts: 291
Original Poster
Rep:
|
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.
|
04-21-2011, 11:26 PM
|
#4
|
LQ Newbie
Registered: Apr 2011
Posts: 1
Rep:
|
[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...
|
|
|
09-28-2011, 04:25 AM
|
#5
|
LQ Newbie
Registered: Apr 2009
Location: Sukkur, Sindh
Distribution: Ubuntu 8.10
Posts: 5
Rep:
|
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,
|
|
|
06-04-2014, 12:33 AM
|
#6
|
LQ Newbie
Registered: May 2014
Posts: 3
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|