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. |
it tells you right there in the error what you need to do:
Quote:
|
Could u give example?
|
I'm getting the same error and do have my hostname setup. I also tried localhost
Any ideas? |
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/ |
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, |
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".
|
That is correct I have that directive in my conf file, and I still get the error. Its very odd.
|
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.
|
All times are GMT -5. The time now is 06:48 PM. |