Varnish won't start

Erik Wickstrom erik at erikwickstrom.com
Mon Mar 15 06:38:12 CET 2010


Hi,

I just installed varnish via apt on Ubuntu 9.10.  When I try to start it,
nothing happens.  If I turn debugging on, I get this error:

root at varnish-1:~# /usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -T
localhost:6082 -f /etc/varnish/default.vcl -s
file,/var/lib/varnish/server/varnish_storage.bin,1G -d -d
storage_file: filename: /var/lib/varnish/server/varnish_storage.bin size
1024 MB.
Using old SHMFILE
Debugging mode, enter "start" to start child
start
Assert error in start_child(), mgt_child.c line 300:
  Condition(open("/dev/null", O_RDONLY) == STDIN_FILENO) not true.
  errno = 13 (Permission denied)
child (19962) Started
Pushing vcls failed: CLI communication error
root at varnish-1:~# uname -a
Linux varnish-1 2.6.18-128.2.1.el5.028stab064.8 #1 SMP Fri Nov 6 12:26:59
MSK 2009 i686 GNU/Linux
root at varnish-1:~#

I can't even start it as root.  Same error.

Thanks for your help!
Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20100314/ad4c6541/attachment-0003.html>


More information about the varnish-misc mailing list