Default install of varnish cannot start
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
~ >
Confirmed results of duplicate bug. When installing the package libc6-dev, it works right away
~ >sudo apt-get install libc6-dev dk.archive. ubuntu. com feisty/main linux-libc-dev 2.6.20-15.27 [664kB] dk.archive. ubuntu. com feisty/main libc6-dev 2.5-0ubuntu14 [3018kB] libc-dev_ 2.6.20- 15.27_i386. deb) ... dev_2.5- 0ubuntu14_ i386.deb) ...
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://
Get:2 http://
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-
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-
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...