LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-15-2004, 10:05 AM   #1
villajohn
LQ Newbie
 
Registered: Apr 2004
Location: venezuela
Posts: 7

Rep: Reputation: 0
Squid Configuration (Visible Hostname)


Squid Configuration (visible_hostname)

Hi,

I am trying to configure squid on Red Hat. When I start to run the Squid appear on the screen the following meesage:

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

Squid Cache (Version 2.5.STABLE4): Terminated abnormally.
CPU Usage: 0.020 seconds = 0.020 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 252
Aborted


I don't Know what can I do

thanks

john
 
Old 04-15-2004, 11:06 AM   #2
qqlinuxquestion
LQ Newbie
 
Registered: Apr 2004
Distribution: redhat, debian
Posts: 6

Rep: Reputation: 0
i got this error sometime ago.... i think you should change your hostname to "xxx.com" then try to run squid -z before starting squid....
 
Old 04-15-2004, 11:32 AM   #3
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Rep: Reputation: 46
This error happens frequently on RH machines from my experience. Simply set VISIBLE_HOSTNAME=
to the full hostname of your machine in your squid.conf and you should be set to go. I think it is caused by the automatic determination of the hostname failing.
 
Old 08-19-2008, 01:46 PM   #4
knightjp
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
I installed Ubuntu server 8.04 and installed squid

I entered a visible_hostname in the squid.conf file, but still squid will not start up stating the same problem as above.

Any ideas???
 
Old 02-22-2009, 05:41 AM   #5
Shepp
LQ Newbie
 
Registered: Feb 2009
Posts: 7

Rep: Reputation: 0
Question Same

Hi, i am getting my own server up and running, using the new Ubuntu, i have installed apache2 and PHP5 and MySQL, then Squid. I have bin through all the documentation on the apache2 website and it tells you how to set up Squid, it said to set up visible_hostname, so i did. then it said i had to run the command: sudo /etc/init.d/squid restart

but then it said:

Aborted
FATAL: Could not determine fully Qualified hostname. Please set `visible_hostname`.
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage 0.028 seconds = 0.012 user + 0.016 sys
Maximum Resident Size: 0KB
Page faults with physical i/o: 0
Aborted
fail

I have set the visible hostname but to enable it i need to restart Squid, but to restart Squid, it needs to be already set. I dont get this at all. lol.

Any One Know??

Every where i have looked, like on here, everyone is having exactly the same problem.

Thanks

Luke.
 
Old 02-22-2009, 09:04 AM   #6
Shepp
LQ Newbie
 
Registered: Feb 2009
Posts: 7

Rep: Reputation: 0
i have a visable host name, which is:
visible_hostname Server1


but the bad parts are that the `visable_hostname` bit is actually part of the name and i cant get rid of it, and it still wont work
 
Old 02-23-2009, 05:36 AM   #7
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 49
check this thread:
http://www.linuxquestions.org/questi...blem-705559/#2
usually, have to set your fqdn hostname in /etc/sysconfig/network
 
Old 02-25-2009, 12:20 PM   #8
Shepp
LQ Newbie
 
Registered: Feb 2009
Posts: 7

Rep: Reputation: 0
Thanx Chitambira. it is working fine now. squid will start without an error.
 
  


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
Hostname Configuration strimp099 Linux - Networking 1 12-28-2004 02:48 AM
acl with hostname in squid proxy jomy Linux - Networking 1 11-20-2004 08:26 AM
squid fully qualified hostname DutchBoy Linux - Software 2 09-08-2004 10:17 PM
Squid - how to save the hostname in the log Dfdf Linux - Networking 0 07-19-2003 12:23 PM
RH 9, Netz und DNS Config, Fehler "set visible hostname" j.kopitzke Linux - Newbie 0 06-18-2003 11:31 PM


All times are GMT -5. The time now is 03:54 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