squid FATAL: Could not determine fully qualified hostname. Please set 'visible_hostn
Pls Refer wheren i am stating squid i am getting below erorr
root@Orion etc]# service squid status squid is stopped FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname' Squid Cache (Version 2.5.STABLE5): Terminated abnormally. CPU Usage: 0.021 seconds = 0.010 user + 0.011 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 12 /etc/init.d/squid: line 162: 28166 Aborted $SQUID -k check [root@Orion etc]# servic squid start -bash: servic: command not found [root@Orion etc]# service squid start Starting squid: /etc/init.d/squid: line 162: 28178 Aborted $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1 FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname' pls let me know what should i do ..... Thanks |
Do just what it says.
In your squid.conf there is an option to set a visible_hostname tag. Just open it up, and search for it in that huge file. You will notice that it's default is "none". Squid is actually doing this because it cannot determine your current hostname. Either you have a problem with the hostname of your box "Orion" which I don't think is the case or your DNS servers that squid is trying to use do not recognize what your hostname should be. You could set the visible_hostname tag, but that might not solve your problem as it's a little deeper than just having a name to display. Which IP address are you binding squid to? and internal one or an external? Is there an entry in your /etc/hosts for that ip address? |
Newbie here w/ the same problem
How do u set "TAG: visible_hostname"? by uncommenting the line and setting the Default to my current HOSTNAME instead of none? |
Oh! I finally got it! I just added the line:
visible_hostname [My HOSTNAME] without the comment character. |
erorr in squid
[QUOTE=tarakthakor;1290435]Pls Refer wheren i am stating squid i am getting below erorr
root@Orion etc]# service squid status squid is stopped FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname' Squid Cache (Version 2.6.STABLE5): Terminated abnormally. CPU Usage: 0.020 seconds = 0.000 user + 0.020 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 /etc/init.d/squid: line 53: 2716 Aborted $SQUID -k check [root@Orion etc]# servic squid start -bash: servic: command not found [root@Orion etc]# service squid start Starting squid: /etc/init.d/squid: line 53:2716 Aborted $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1 FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname' pls let me know what should i do ..... Thanks |
one of my friend was facing this problem......Check the /etc/hosts file if you have made correct entries or not for the corresponding IPs.....
|
All times are GMT -5. The time now is 09:00 PM. |