Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-13-2004, 04:24 AM
|
#1
|
LQ Newbie
Registered: Nov 2004
Location: India
Distribution: Redhat Suse
Posts: 1
Rep:
|
squid FATAL: Could not determine fully qualified hostname. Please set 'visible_hostn
Pls Refer wheren i am stating squid i am getting below erorr
root@Orion etc]# service squid status
squid is stopped
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.5.STABLE5): Terminated abnormally.
CPU Usage: 0.021 seconds = 0.010 user + 0.011 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 12
/etc/init.d/squid: line 162: 28166 Aborted $SQUID -k check
[root@Orion etc]# servic squid start
-bash: servic: command not found
[root@Orion etc]# service squid start
Starting squid: /etc/init.d/squid: line 162: 28178 Aborted $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
pls let me know what should i do .....
Thanks
|
|
|
11-18-2004, 09:31 AM
|
#2
|
Member
Registered: Sep 2004
Location: Salt Lake City, UT
Distribution: Debian Sarge
Posts: 93
Rep:
|
Do just what it says.
In your squid.conf there is an option to set a visible_hostname tag. Just open it up, and search for it in that huge file. You will notice that it's default is "none".
Squid is actually doing this because it cannot determine your current hostname. Either you have a problem with the hostname of your box "Orion" which I don't think is the case or your DNS servers that squid is trying to use do not recognize what your hostname should be.
You could set the visible_hostname tag, but that might not solve your problem as it's a little deeper than just having a name to display.
Which IP address are you binding squid to? and internal one or an external? Is there an entry in your /etc/hosts for that ip address?
|
|
|
11-18-2004, 11:14 AM
|
#3
|
LQ Newbie
Registered: Aug 2004
Location: Manila, Philippines
Distribution: Red Hat 9
Posts: 11
Rep:
|
Newbie here w/ the same problem
How do u set "TAG: visible_hostname"? by uncommenting the line and setting the Default to my current HOSTNAME instead of none?
|
|
|
11-18-2004, 11:19 AM
|
#4
|
LQ Newbie
Registered: Aug 2004
Location: Manila, Philippines
Distribution: Red Hat 9
Posts: 11
Rep:
|
Oh! I finally got it! I just added the line:
visible_hostname [My HOSTNAME]
without the comment character.
|
|
|
03-25-2010, 01:42 AM
|
#5
|
LQ Newbie
Registered: Mar 2010
Posts: 1
Rep:
|
erorr in squid
[QUOTE=tarakthakor;1290435]Pls Refer wheren i am stating squid i am getting below erorr
root@Orion etc]# service squid status
squid is stopped
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE5): Terminated abnormally.
CPU Usage: 0.020 seconds = 0.000 user + 0.020 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
/etc/init.d/squid: line 53: 2716 Aborted $SQUID -k check
[root@Orion etc]# servic squid start
-bash: servic: command not found
[root@Orion etc]# service squid start
Starting squid: /etc/init.d/squid: line 53:2716 Aborted $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
pls let me know what should i do .....
Thanks
|
|
|
12-04-2010, 05:29 AM
|
#6
|
LQ Newbie
Registered: Jul 2010
Posts: 8
Rep:
|
one of my friend was facing this problem......Check the /etc/hosts file if you have made correct entries or not for the corresponding IPs.....
|
|
|
All times are GMT -5. The time now is 01:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|