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
-----Original Message-----
From: Juan Pablo Pincheira [mailto:jpincheira@gmail.com]
Sent: Tuesday, November 30, 2004 5:45 AM
To: squid-users@squid-cache.org
Subject: [squid-users] Re: I'm having problems when squid starts on
ubuntu
Hi. I'm having problems when squid starts on ubuntu, I installed squid
by ubuntu debian package. Here is the installation and program
beginning:
----------------------------------------------------------------------------
root@birth:~ # apt-get install squid
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Se instalarán los siguientes paquetes extras:
squid-common
Paquetes sugeridos:
squidclient squid-cgi logcheck-database resolvconf winbind
Se instalarán los siguientes paquetes NUEVOS:
squid squid-common
0 actualizados, 2 se instalarán, 0 para eliminar y 0 no actualizados.
Necesito descargar 909kB de archivos.
Se utilizarán 5890kB de espacio de disco adicional después de desempaquetar.
¿Desea continuar? [S/n] s
Des:1 http://archive.ubuntu.com warty/main squid-common 2.5.5-6 [184kB]
Des:2 http://archive.ubuntu.com warty/main squid 2.5.5-6 [725kB]
Descargados 909kB en 9s (95,2kB/s)
Preconfiguring packages ...
Seleccionando el paquete squid-common previamente no seleccionado.
(Leyendo la base de datos ...
61305 ficheros y directorios instalados actualmente.)
Desempaquetando squid-common (de .../squid-common_2.5.5-6_all.deb) ...
Seleccionando el paquete squid previamente no seleccionado.
Desempaquetando squid (de .../squid_2.5.5-6_i386.deb) ...
Configurando squid-common (2.5.5-6) ...
Configurando squid (2.5.5-6) ...
Creating squid spool directory structure
FATAL: Could not determine fully qualified hostname. Please set
'visible_hostna me'
Squid Cache (Version 2.5.STABLE5): Terminated abnormally.
CPU Usage: 0.014 seconds = 0.009 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
/var/lib/dpkg/info/squid.postinst: line 181: 21666 Abortado
/usr/ sbin/squid -z
Starting proxy server: Creating squid spool directory structure
FATAL: Could not determine fully qualified hostname. Please set
'visible_hostna me'
Squid Cache (Version 2.5.STABLE5): Terminated abnormally.
CPU Usage: 0.014 seconds = 0.010 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
/etc/init.d/squid: line 175: 21696 Abortado /usr/sbin/squid
-z
FATAL: Could not determine fully qualified hostname. Please set
'visible_hostna me'
Squid Cache (Version 2.5.STABLE5): Terminated abnormally.
CPU Usage: 0.014 seconds = 0.008 user + 0.006 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
/etc/init.d/squid: line 175: 21702 Abortado
start-stop-daemon --q uiet --start --pidfile $PIDFILE --exec $DAEMON
-- $SQUID_ARGS </dev/null
squid.
root@birth:~ #
----------------------------------------------------------------------------
-- I have never had this problem installing squid :( Thanks to all.Received on Tue Nov 30 2004 - 11:00:47 MST
This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:02 MST