Default install of varnish cannot start

Bug #107470 reported by Morten Siebuhr
4
Affects Status Importance Assigned to Milestone
varnish (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: varnish

When installing varnish, it cannot start by default. I suspect the default configuration file is not correctly set up

sudo apt-get install varnish

...

Setting up varnish (1.0.2-2) ...
Starting HTTPd accelerator: /usr/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
pclose=256
Internal error: GCC returned 0x0100
invoke-rc.d: initscript varnish, action "start" failed.
dpkg: error processing varnish (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 varnish
E: Sub-process /usr/bin/dpkg returned an error code (1)
~ >sudo /etc/init.d/varnish start
Starting HTTPd accelerator: /usr/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
pclose=256
Internal error: GCC returned 0x0100
~ >

Revision history for this message
Morten Siebuhr (msiebuhr) wrote :

Confirmed results of duplicate bug. When installing the package libc6-dev, it works right away

~ >sudo apt-get install libc6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  linux-libc-dev
Suggested packages:
  glibc-doc manpages-dev
The following NEW packages will be installed:
  libc6-dev linux-libc-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 3682kB of archives.
After unpacking 16,4MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://dk.archive.ubuntu.com feisty/main linux-libc-dev 2.6.20-15.27 [664kB]
Get:2 http://dk.archive.ubuntu.com feisty/main libc6-dev 2.5-0ubuntu14 [3018kB]
Fetched 3682kB in 10s (351kB/s)
Selecting previously deselected package linux-libc-dev.
(Reading database ... 16664 files and directories currently installed.)
Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.20-15.27_i386.deb) ...
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.5-0ubuntu14_i386.deb) ...
Setting up varnish (1.0.2-2) ...
Starting HTTPd accelerator: pclose=0
Creating new SHMFILE
varnish.

Setting up linux-libc-dev (2.6.20-15.27) ...
Setting up libc6-dev (2.5-0ubuntu14) ...
~ >

Note that I'm by no means into deb-packages, and my patch may be off by some amount...

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.