Squid error even before starting
Squid is being started by the initialisation files but has this error. The host is redhat4 on the fbn network. Does it require a network name like fbn.com?? All other networking runs fine, the host that I want to run squid on has modem access to the Internet which it happily shares with several other computers, no problems. I just wanted to run squid to speed access to commonly accessed sites. As yet I have done no configuration of squid, it has default settings as per redhat v9.
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname' |
I have faced a similar problem like this. This problem is related to RedHat v9 only.
If you upgrade from Redhat v7.3 to Redhat v9 then it works fine. If your upgarde from Redhat v8 to Redhat v9 then the same error occurs, even I have tried doing a fresh installation still the problem persists. What i have done is Re-Install Redhat v7.3 and then upgarded it to v9. Hope this helps.. |
No really...I don't want to have to take such a dramatic step. There must be someting in the configuration or other files to fix this silly issue. Does anyone else run squid on redhat 9 from a fresh install?
|
yes i think so but even after doing a fresh installation and upgrading squid to - squid-2.5.STABLE4 it didn't solved.
I hope there is some way out. Since i had to downgrade my live server and then upgrade. |
edit /etc/squid/squid.conf and look for the visible_hostname setting. Uncomment it and put a fully qualified hostname in it and away you go.
|
Big Thankyou
Done and running.....Doesn't need a FQDN just the name of the host (I don't run a FQDN) I thought there had to be an easier way than playing a round robin install game.
|
my /etc/hosts file reflects -
ip-address test note: test is the hostname of my system. so in my case i have uncommented it and put the test in the squid.conf file, but it didn't worked. is my configuration wrong? |
Where the line (1958th line in the squid.conf file in mine) started TAG: xxxxxx
I removed the TAG : so now the 1958 line looks like visible_hostname redhat4 MY host name is redhat4 It worked fine.... |
Quote:
|
All times are GMT -5. The time now is 10:48 PM. |