LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   squid on red hat 9.0 doesnt work (https://www.linuxquestions.org/questions/linux-networking-3/squid-on-red-hat-9-0-doesnt-work-64164/)

maxut 06-07-2003 04:10 AM

squid on red hat 9.0 doesnt work
 
i installed red hat 9.0 with squid
but squid doesnt work. it says



squid is stopped
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

Squid Cache (Version 2.5.STABLE1): Terminated abnormally.
CPU Usage: 0.010 seconds = 0.000 user + 0.010 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 391
/etc/init.d/squid: line 162: 25819 Aborted $SQUID -k check



any one can help me to fix it.

thanx

mazzo 06-07-2003 04:44 PM

Hi

I have had the same problem. Currently I am trying to sort out my hostname which is causing squid to fail (for me). Perhaps that might be the case for you too.

I too am using RH9 so what I did - which has worked for me - was to edit squid.conf and change the following for
TAG: visible hostname

visible_hostname www.yourdomain.com

Do this with squid shutdown or do a reconfigure (squid -k reconfigure)

This presumes that you have a domain name. I don't know what you should do if you haven't or whether it will upset anything else. Perhaps someone else can answer that. Maybe you could use www.yourname.yourisp.com

From my (limited) understanding of this, it is used by squid for messaging. If there is a page that cannot be reached for example, squid will issue a warning to the user. It will say it is from squid at your domain.


Best of luck. Can't guarantee it will work and so if it doesn't - undo the change and ask again.

If anyone can shed light on why squid can't pick up the hostname - I would be interested too as I think it is the root of my problems with fetchmail/sendmail

maxut 06-08-2003 04:00 AM

thans. i gave up rh9. i installed rh8. it works fine. but i will try to run squid on rh9 later.

thanks for your advice..

if u have problems about mail servers, u may try qmail. there is installer for qmail. it works on rh8 well. u may download it at http://obua.org its name is qinstall. it doesnt work on rh9.

mazzo 06-08-2003 04:15 AM

Your welcome.

I'm going to keep going with RH9 - until I pull out all my hair !

I will have a look at qmail. Problem is I have invested so much time into sendmail and have used it for the last 5 years - so I SHOULD be able to get it to work, however in reality it is somewhat different !

Best of luck.:)


All times are GMT -5. The time now is 03:02 PM.