Re: Intermittent Disaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2007-12-31 at 15:42 -0800, Dave Stevens wrote:
> [root@localhost ~]# tail /var/log/squid/squid.out
> Squid Cache (Version 2.6.STABLE16): Terminated abnormally.
> CPU Usage: 0.010 seconds = 0.003 user + 0.007 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 9
> FATAL: Could not determine fully qualified hostname.  Please 
> set 'visible_hostname'
> 
> Squid Cache (Version 2.6.STABLE16): Terminated abnormally.
> CPU Usage: 0.009 seconds = 0.004 user + 0.005 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> 
> and then Firefox can't get out with page requests. I reset it so it
> works ok, but where would I set the visible hostname? 

I seem to recall that if you had your networking set up properly in the
first place, Squid could work out what your hostname is for itself.
Though you could specifically set it in the Squid configuration file
(necessary for machine with several hostnames, and you didn't want to
use the default).

Brute force approach:  Open the squid configuration file in an editor,
and search through it for "name", read the comments nearby.  You'll find
the place where you can set it soon enough.

But is your hosts file set up correctly?  You should have something
like:

127.0.0.1  localhost.localdomain  localhost
192.168.1.2  mymachine.example.com  mymachine

Where the second line is written to be applicable to your machine,
rather than my example (using your IP, your fully-qualified domain, and
your hostname).  The first line should, generally, be left as I've shown
it, and not adorned with local machine names, as well.

Though, if like me, you use a DNS server, you don't have to do anything
with your hosts file, just ensure your DNS server is configured
correctly.

-- 
(This computer runs FC7, my others run FC4, FC5 & FC6, in case that's
 important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux