LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-07-2003, 04:10 AM   #1
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
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
 
Old 06-07-2003, 04:44 PM   #2
mazzo
Member
 
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat from 4 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux, and lots of raspberry pi
Posts: 142

Rep: Reputation: 15
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
 
Old 06-08-2003, 04:00 AM   #3
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Original Poster
Rep: Reputation: 50
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.
 
Old 06-08-2003, 04:15 AM   #4
mazzo
Member
 
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat from 4 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux, and lots of raspberry pi
Posts: 142

Rep: Reputation: 15
Smile

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat 9 installation CD doesnt boot please help LambdaMOO Linux - Newbie 1 06-07-2005 04:59 AM
Squid - rotate doesnt work Wormi Linux - Networking 1 06-04-2005 04:06 PM
Success with squid on red hat 9 azraelder LinuxQuestions.org Member Success Stories 0 07-31-2004 10:06 PM
Problem: red hat 9 server doesnt turn on anymore.. Im desperate!! carolPrt Linux - General 1 04-22-2004 02:40 PM
Red Hat doesnt detect my NIC OrganicX Linux - Networking 18 03-24-2003 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration