LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   [SQUID] FATAL: Could not determine fully qualified host name. (http://www.linuxquestions.org/questions/linux-server-73/%5Bsquid%5D-fatal-could-not-determine-fully-qualified-host-name-628987/)

mehboob_urrehman 03-18-2008 02:27 PM

[SQUID] FATAL: Could not determine fully qualified host name.
 
I have squid installed on RH9 , I have configured the squid.conf file to contain an entry
visible_hostname 'dumbterminal'

but when I try to start squid I get the error!!!

----------------
#squid -z
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

Squid Cache (Version 2.5.STABLE1): Terminated abnormally.
CPU Usage: 0.020 seconds = 0.020 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 389
Aborted
#
-----------------

is there a problem with the configuration of is it another obscure but in RH9.

win32sux 03-18-2008 03:16 PM

Quote:

Originally Posted by mehboob_urrehman (Post 3092915)
visible_hostname 'dumbterminal'

Have you tried without those quotation marks?

mehboob_urrehman 03-19-2008 03:34 AM

yes I have,
I have tried all of these...

"dumbterminal" ; it is my hostname
dumbterminal
'dumbterminal'

dumbterminal.somedomain.com ; with an entry in hosts file
"dumbterminal.somedomain.com"
'dumbterminal.somedomain.com'



but still it gives the same error!!

win32sux 03-19-2008 10:02 AM

There's no need for it to be in your hosts file.

Can you post your whole squid.conf so we can have a look?
Code:

cat /etc/squid.conf | grep -v ^# | grep -v ^$
Also, you might wanna consider upgrading to a non-ancient version of Squid, in case this is a bug.


All times are GMT -5. The time now is 02:35 AM.