[squid-users] Could not determine fully qualified hostname 

To:   squid-users@squid-cache.org
Date: Tue, 30 Nov 2004

http://www.squid-cache.org/mail-archive/squid-users/200411/0799.html

> Squid Cache (Version 2.5.STABLE5): Terminated abnormally.
> /etc/init.d/squid: line 175: 21702 Abortado
> start-stop-daemon --q uiet --start --pidfile $PIDFILE --exec $DAEMON
> -- $SQUID_ARGS </dev/null

You have two choices. Set a hostname on the box (type "hostname squid.my.domain" at the command prompt, or I'm sure ubuntu has a utility to do so via GUI) or specify a hostname in the squid.conf file using the "visible_hostname" directive. It would probably be best to set the hostname on the box.

Chris Robertson

[squid-users] Could not determine fully qualified hostname 

/etc/init.d/squid start
Starting Squid HTTP proxy: squid
FATAL: Could not determine fully qualified hostname.  Please set 'visible_hostname'
Squid Cache (Version 2.5.STABLE14): Terminated abnormally.
/etc/init.d/squid: line 64:  5813 Aborted                 start-stop-daemon --quiet --start --pidfile $PIDFILE --chuid $CHUID --exec $DAEMON -- $SQUID_ARGS </dev/null
 failed!
$ hostname
cxmr
% hostname cxmr.dyndns.org
$ hostname
cxmr.dyndns.org
% /etc/init.d/squid start
Starting Squid HTTP proxy: squid.
$ cat /etc/hostname
cxmr
% echo cxmr.dyndns.org > /etc/hostname

documented on: 2006.08.13