LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Squid error even before starting (https://www.linuxquestions.org/questions/linux-networking-3/squid-error-even-before-starting-117724/)

Crasherz 11-19-2003 04:11 AM

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'

RajaRC 11-19-2003 07:04 AM

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..

Crasherz 11-19-2003 03:42 PM

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?

RajaRC 11-19-2003 11:25 PM

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.

nowonmai 11-20-2003 09:31 AM

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.

Crasherz 11-20-2003 03:52 PM

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.

RajaRC 11-21-2003 12:05 AM

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?

Crasherz 11-21-2003 12:14 AM

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....

nowonmai 11-21-2003 03:56 AM

Quote:

Originally posted by RajaRC
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?

try setting visible_hostname to test.local


All times are GMT -5. The time now is 10:48 PM.