LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-08-2004, 09:34 AM   #1
DutchBoy
LQ Newbie
 
Registered: Jan 2004
Location: Tokyo
Distribution: Redhat 9
Posts: 5

Rep: Reputation: 0
Question squid fully qualified hostname


I am running RH9 and have my hostname set to SAM. I have it set in my network and hosts and lmhosts as SAM as well. Whenever I try to run squid I get the following error message:

Aborted $SQUID -z -F -D 2>/dev/null

The service configuration status is as follows:

parseConfigFile:line 1967 unrecognized 'SAM'
FATAL:Could not determine fully qualified hostname. Please set 'visible_hostname'

my linux box is running as the PDC for the domain home. I have added .home to the squid.conf file in the visible_hostname section as

SAM.home

the result doesn't change.

I have run the hostname command from the terminal but it only gives me SAM as the result.

If there is another way to get the FQH or get squid to work properly.
 
Old 09-08-2004, 09:56 PM   #2
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
not sure if it matters, but try changing SAM to a lowercase sam. check if that works.
 
Old 09-08-2004, 11:17 PM   #3
angrybeaver
Member
 
Registered: Aug 2004
Location: .au
Distribution: debian, BSD
Posts: 104

Rep: Reputation: 16
do you really need to set the hostname in the config? squid uses whatever the gethostname() function returns by default.

if '/bin/hostname -f' doesn't work properly, you're better off fixing your /etc/hosts file.

what does line 1967 say exactly?

Last edited by angrybeaver; 09-08-2004 at 11:20 PM.
 
  


Reply


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
squid FATAL: Could not determine fully qualified hostname. Please set 'visible_hostn tarakthakor Linux - Networking 5 12-04-2010 06:29 AM
hostname and fully qualified domain name setup help strimp099 Linux - Networking 7 01-14-2005 11:07 PM
sending with exim: need fully-qualified hostname otoomet Linux - Networking 1 01-06-2005 03:55 PM
Fully qualified hostname gubak Linux - Newbie 8 07-24-2004 12:56 AM
need fully qualified hostname before log-in - how? BrianK Linux - Networking 7 03-12-2002 07:21 PM


All times are GMT -5. The time now is 01:45 AM.

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