LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-29-2006, 04:23 AM   #1
r_emu
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Rep: Reputation: 0
Squid Error?


FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.5.STABLE1-20030121): Terminated abnormally.
CPU Usage: 0.020 second = 0.010 user + 0.010 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 356
Aborted (core dumped)
I got this err message, how i fix it? Please help me fix it.
 
Old 07-29-2006, 04:27 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it tells you right there in the error what you need to do:
Quote:
Please set 'visible_hostname'
what are you expecting us to add to that?
 
Old 07-31-2006, 02:46 AM   #3
r_emu
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Could u give example?
 
Old 08-08-2006, 07:23 PM   #4
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Rep: Reputation: 30
I'm getting the same error and do have my hostname setup. I also tried localhost

Any ideas?
 
Old 08-08-2006, 08:42 PM   #5
runnerfrog
Member
 
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
Put a little effort on it, please, guys. acid_kewpie has all the right in the world.
cat /etc/hostname --look at the name
cat /etc/sysconfig/network --look at the name
Open squid.conf, uncomment this line and modify to look like this:
visible_hostname [the.name.you.look.before]
Please, before asking, read just a little bit of this, friend: http://www.squid-cache.org/Doc/Users-Guide/
 
Old 08-09-2006, 12:53 PM   #6
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Rep: Reputation: 30
I have it configured right:

[root@squid etc]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=squid
GATEWAY=192.168.10.40
[root@squid etc]# hostname
squid
[root@squid etc]#


Still get the error.

Thanks,
 
Old 08-09-2006, 01:55 PM   #7
runnerfrog
Member
 
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
So then, MikeeX, as I said before, you should have the line "visible_hostname squid" on your squid.conf file. ¿do you? When you have it, just in case, do "squid -z", then "/etc/init.d/squid reload".
 
Old 08-09-2006, 04:50 PM   #8
MikeeX
Member
 
Registered: Mar 2002
Distribution: Ubuntu 6.10
Posts: 165

Rep: Reputation: 30
That is correct I have that directive in my conf file, and I still get the error. Its very odd.
 
Old 08-09-2006, 06:05 PM   #9
runnerfrog
Member
 
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
It's not very odd; my mistake, I thought you knew or your "squid" hostname was an example: you have to change your hostname in /etc/hostname and /etc/sysconfig/network to anything but "squid", take off the squid word because that gives the same error too. The line must be uncommented (without the "#" before the line, excuse my stupidity). If that works, tag the thread as solved, please.

Last edited by runnerfrog; 08-09-2006 at 06:08 PM.
 
  


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
squid error cranium2004 Linux - Networking 1 10-27-2004 04:25 AM
Squid Error kemplej Linux - Software 1 12-17-2003 07:22 PM
Squid Error bally Linux - Networking 2 10-23-2003 04:15 AM
Squid error Buttercups Linux - Newbie 4 10-22-2002 11:58 PM
squid error... anoop_chandran Linux - Networking 0 11-27-2001 06:47 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration