Bug #49
Squid fails to install
| Status: | Closed | Start: | 01/20/2010 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assigned to: | Andrew Stormont | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | ncp3-beta1 |
Description
When installing Squid on NCP3a4, it fails rather badly because visible_hostname is not yet configured and SMF retries several times to start it before giving up.
jwarnier@srv:~$ sudo apt-get install squid
[sudo] password for jwarnier:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
openssl-blacklist openssl-tools squid-common ssl-cert sunwopenssl-commands
Suggested packages:
ca-certificates openssl-doc logcheck-database resolvconf smbclient squid-cgi
squidclient winbind
The following NEW packages will be installed:
openssl-blacklist openssl-tools squid squid-common ssl-cert
sunwopenssl-commands
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 7996kB of archives.
After this operation, 2406kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://apt.nexenta.org hardy-unstable/main openssl-blacklist 0.3.3+0.4-0nexenta1.9 [6332kB]
Get:2 http://apt.nexenta.org hardy-unstable/main squid-common 2.6.18-1nexenta4 [481kB]
Get:3 http://apt.nexenta.org hardy-unstable/main openssl-tools 0.9.8k-1nexenta1 [544kB]
Get:4 http://apt.nexenta.org hardy-unstable/main sunwopenssl-commands 1:5.11.131 [1708B]
Get:5 http://apt.nexenta.org hardy-unstable/main ssl-cert 1.0.14-0nexenta3.3 [12.5kB]
Get:6 http://apt.nexenta.org hardy-unstable/main squid 2.6.18-1nexenta4 [624kB]
Fetched 7996kB in 23s (341kB/s)
Preconfiguring packages ...
Selecting previously deselected package openssl-blacklist.
(Reading database ... 30494 files and directories currently installed.)
Unpacking openssl-blacklist (from .../openssl-blacklist_0.3.3+0.4-0nexenta1.9_all.deb) ...
Selecting previously deselected package squid-common.
Unpacking squid-common (from .../squid-common_2.6.18-1nexenta4_all.deb) ...
Selecting previously deselected package openssl-tools.
Unpacking openssl-tools (from .../openssl-tools_0.9.8k-1nexenta1_solaris-i386.deb) ...
Selecting previously deselected package sunwopenssl-commands.
Unpacking sunwopenssl-commands (from .../sunwopenssl-commands_1%3a5.11.131_solaris-i386.deb) ...
Selecting previously deselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.14-0nexenta3.3_all.deb) ...
Selecting previously deselected package squid.
Unpacking squid (from .../squid_2.6.18-1nexenta4_solaris-i386.deb) ...
Setting up openssl-blacklist (0.3.3+0.4-0nexenta1.9) ...
Setting up squid-common (2.6.18-1nexenta4) ...
Setting up openssl-tools (0.9.8k-1nexenta1) ...
Setting up sunwopenssl-commands (1:5.11.131) ...
Setting up ssl-cert (1.0.14-0nexenta3.3) ...
UX: groupadd: ssl-cert name should be all lower case or numeric.
Setting up squid (2.6.18-1nexenta4) ...
Creating squid spool directory structure
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage: 0.007 seconds = 0.002 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
/var/lib/dpkg/info/squid.postinst: line 95: 1099 Abort (core dumped) /usr/sbin/squid -z
Restarting Squid HTTP proxy: squid* Creating squid spool directory structure
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.002 user + 0.003 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
/etc/init.d/squid: line 73: 1120 Abort (core dumped) $DAEMON $SQUID_ARGS -z
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
CPU Usage: 0.007 seconds = 0.003 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
/etc/init.d/squid: line 73: 1121 Abort (core dumped) start-stop-daemon --quiet --start --pidfile $PIDFILE --chuid $CHUID --exec $DAEMON -- $SQUID_ARGS < /dev/null
failed!
History
Updated by Dmitry Yusupov about 1 year ago
- Target version set to ncp3-beta1
Updated by Anil Gulecha about 1 year ago
- Assigned to set to Andrew Stormont
Updated by Andrew Stormont about 1 year ago
I've fixed the package (works for me). If that does not fix the problem for you please feel free to reopen the issue.
Thanks, Andy
Updated by Andrew Stormont about 1 year ago
- Status changed from New to Closed