Error initial script SQUID

Bug #53481 reported by Juan Angulo Moreno
4
Affects Status Importance Assigned to Milestone
squid (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: squid

OS: Ubuntu Server Dapper Drake 6.06
Kernel:

Error: Initial script Squid (/etc/init.d/squid):

user@proxy:~# sudo aptitude install squid
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Reading extended state information
Initializing package states... Hecho
Building tag database... Hecho
The following NEW packages will be automatically installed:
  openssl squid-common ssl-cert
The following packages have been kept back:
  linux-image-server
The following NEW packages will be installed:
  openssl squid squid-common ssl-cert
0 packages upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 1944kB of archives. After unpacking 8643kB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Hecho
Get:1 http://ve.archive.ubuntu.com dapper/main squid-common 2.5.12-4ubuntu2 [203kB]
Get:2 http://ve.archive.ubuntu.com dapper/main openssl 0.9.8a-7build1 [975kB]
Get:3 http://ve.archive.ubuntu.com dapper/main ssl-cert 1.0.13 [9526B]
Get:4 http://ve.archive.ubuntu.com dapper/main squid 2.5.12-4ubuntu2 [756kB]
Fetched 1944kB in 1m58s (16,4kB/s)
Preconfigurando paquetes ...
Seleccionando el paquete squid-common previamente no seleccionado.
(Leyendo la base de datos ...
13633 ficheros y directorios instalados actualmente.)
Desempaquetando squid-common (de .../squid-common_2.5.12-4ubuntu2_all.deb) ...
Seleccionando el paquete openssl previamente no seleccionado.
Desempaquetando openssl (de .../openssl_0.9.8a-7build1_i386.deb) ...
Seleccionando el paquete ssl-cert previamente no seleccionado.
Desempaquetando ssl-cert (de .../ssl-cert_1.0.13_all.deb) ...
Seleccionando el paquete squid previamente no seleccionado.
Desempaquetando squid (de .../squid_2.5.12-4ubuntu2_i386.deb) ...
Configurando squid-common (2.5.12-4ubuntu2) ...
Configurando openssl (0.9.8a-7build1) ...

Configurando ssl-cert (1.0.13) ...

Configurando squid (2.5.12-4ubuntu2) ...
Creating squid spool directory structure
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

Squid Cache (Version 2.5.STABLE12): Terminated abnormally.
CPU Usage: 0.010 seconds = 0.010 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
/var/lib/dpkg/info/squid.postinst: line 114: 4501 Aborted /usr/sbin/squid -z
 * Starting Squid HTTP proxy squid * Creating squid spool directory structure
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

Squid Cache (Version 2.5.STABLE12): Terminated abnormally.
CPU Usage: 0.010 seconds = 0.010 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
/etc/init.d/squid: line 64: 4534 Aborted $DAEMON -z
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'

Squid Cache (Version 2.5.STABLE12): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
/etc/init.d/squid: line 64: 4536 Aborted

Revision history for this message
YuGiOhJCJ (yugiohjcj) wrote :

I have the same bug on Ubuntu 7.10 gutsy.
To resolve the problem, you just need to set the visible_hostname tag in the /etc/squid/squid.conf :

For example :
visible_hostname ubuntu

So we just need to update the package .deb with a new squid.conf config file. It seems to be easy.
Can someone try to do this?
Thanx.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.