LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-19-2004, 03:19 AM   #1
petitcolin
LQ Newbie
 
Registered: Oct 2003
Location: Toulouse (France, 31)
Distribution: Mandrake 9.0
Posts: 4

Rep: Reputation: 0
squid cache initialization


I'm trying to setup a squid proxy on a eight-win-hosts network linked to the internet through a Linux (mdk9.0) server (dhcp, samba, iptables, etc).
I'm using webmin. When I opened the squid module, I was advised to initialize the cache, which I did. I get this answer :

-------------------------------------------------------------------------------------------------------
Initialisation du cache de Squid à l'aide de la commande squid -f /etc/squid/squid.conf -z ..


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

Squid Cache (Version 2.4.STABLE7): Terminated abnormally.
CPU Usage: 0.040 seconds = 0.010 user + 0.030 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 327
-------------------------------------------------------------------------------------------------------

I read in /etc/squid/squid.conf that the 'visible_hostname' is set to 'none' by default, and is not really necessary. Should I set it with my network's domain name ?

I read on a thread that DHCP will not give the proxy info to my hosts. Is that true ? (I'm using ISC DHCP)

Thanks
 
Old 01-22-2004, 04:48 AM   #2
petitcolin
LQ Newbie
 
Registered: Oct 2003
Location: Toulouse (France, 31)
Distribution: Mandrake 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
Fixed it. I had to set 'visible_hostname' in squid.conf
The thing is, $HOSTNAME and $DOMAINNAME are defined in /etc/sysconfig/network, but only $HOSTNAME seems to be defined ('echo $DOMAINNAME' echoes nothing).
It's strange, now as long as it works, I don't care !!
 
  


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
squid cache issue !! hitesh_linux Linux - Enterprise 16 04-23-2007 03:01 AM
Squid Cache I think it is AJones Linux - Security 1 07-03-2005 06:50 AM
squid cache problem hasnain Linux - Networking 1 01-18-2005 02:17 PM
squid cache error woods Linux - Networking 3 10-29-2004 02:05 PM
Squid Cache Tcp_miss RickyJaff Linux - Networking 2 02-24-2004 09:21 AM

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

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