[Varnish] #327: varnishd fails to parse config, reporting "Backend port '"8080"': Name or service not known"

Varnish varnish-bugs at projects.linpro.no
Sun Sep 21 16:19:03 CEST 2008


#327: varnishd fails to parse config, reporting "Backend port '"8080"': Name or
service not known"
------------------------+---------------------------------------------------
 Reporter:  nheinrichs  |       Owner:  phk
     Type:  defect      |      Status:  new
 Priority:  normal      |   Milestone:     
Component:  varnishd    |     Version:  2.0
 Severity:  normal      |    Keywords:     
------------------------+---------------------------------------------------
 I downloaded 2.0 beta 1 from SourceForge and installed on Ubuntu 8.04 per
 instructions on wiki.

 Copied this bit out of ./etc/default.vcl in the build directory and saved
 to /etc/conf.vcl:
 {{{
 backend default {
 .host = "127.0.0.1";
 .port = "8080";
 }
 }}}

 Attempted to run server and get this error every time. I have tried
 "8080", "80", "www", "http" and get the same error every time. I am
 running as root, /etc/services is accessible:

 {{{
 root at staging-web01:/root/varnish-2.0-beta1 # varnishd -f /etc/conf.vcl
 Backend port '"8080"': Name or service not known
 (/etc/conf.vcl Line 3 Pos 9)
 .port = "8080";
 --------######-

 In backend specfication starting at:
 (/etc/conf.vcl Line 1 Pos 1)
 backend default {
 #######----------

 VCL compilation failed
 root at staging-web01:/root/varnish-2.0-beta1 #
 }}}

 Any ideas appreciated. Thanks!

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/327>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list