LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 01-24-2008, 03:19 AM   #1
linaru
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Rep: Reputation: 0
Unhappy squid fails to start on RHEL 5 server


Hello,
regards to all.
i've been unable to start squid on the server. i used 'system-config-services' and also the direct
'system squid start' command. the error message that is thrown up is-

init_cache_dir /var/spool/squid... /etc/init.d/squid: line 54: 4384 Aborted $SQUID -z -F -D >>/var/log/squid/squid.out 2>&1
Starting squid: /etc/init.d/squid: line 53: 4385 Aborted $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1


i inspected the /var/log/squid/squid.out file and found the following message on several lines-

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

this has baffled me no end. can anyone instruct me on how to get squid up and going in this case?
 
Old 01-24-2008, 08:47 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
If Squid doesn't not get a value returned by gethostname(), it looks up its visible_hostname setting for the name of the host it is running on. You can either set the visible_hostname value in squid.conf or alter your /etc/hosts file to include the box's hostname and IP address.
 
  


Reply

Tags
squid


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
X Server fails to Start arindom Suse/Novell 5 10-25-2007 03:17 AM
x server fails to start. jkdas12 Linux - Newbie 1 07-21-2007 02:13 AM
Server fails to start after softraid extension browny_amiga Linux - Server 2 03-13-2007 04:40 AM
squid fails to start on RHEL4 dsids Linux - Software 0 11-23-2006 01:42 AM
Sound server fails to start! Nilangshu Linux - Hardware 1 09-24-2006 09:13 PM


All times are GMT -5. The time now is 05:44 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration