LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   squid FATAL: Could not determine fully qualified hostname. Please set 'visible_hostn (https://www.linuxquestions.org/questions/linux-networking-3/squid-fatal-could-not-determine-fully-qualified-hostname-please-set-visible_hostn-254274/)

tarakthakor 11-13-2004 04:24 AM

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

bdogg 11-18-2004 09:31 AM

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?

mini_mike 11-18-2004 11:14 AM

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?

mini_mike 11-18-2004 11:19 AM

Oh! I finally got it! I just added the line:

visible_hostname [My HOSTNAME]

without the comment character.

manoj.patil1727 03-25-2010 01:42 AM

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

indian_munnda 12-04-2010 05:29 AM

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.