<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Oh, I see, the parameter is in "/etc/sysconfig/varnish". That configuration file is only read when Varnish is run as a system service, that's what makes the difference. Thank you.</p>
<p>Ivan</p>
<p>On Sun, 20 Nov 2011 15:32:22 -0500, AD wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<p>is there a parameter VARNISH_LISTEN_PORT in your startup script ? This is in /etc/default/varnish on Ubunut, not sure what it would be on CentOS</p>
<div><br /><br />
<div class="gmail_quote">On Sun, Nov 20, 2011 at 1:05 PM, Ivan Martinez <span><<a href="mailto:ivan.martinez@masterion.com">ivan.martinez@masterion.com</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">Hello all,<br /> I just installed Varnish 3.0.2 in a CentOS 6 system. When I manually start Varnish as follows:<br /><br /> [root@masterion init.d]# varnishd -f /etc/varnish/default.vcl<br /><br /> Varnish is up and running in port 80. However, when I do it as a service:<br /><br /> [root@masterion init.d]# pkill varnishd<br /> [root@masterion init.d]# /etc/init.d/varnish start<br /> Starting Varnish Cache: [ OK ]<br /> [root@masterion init.d]# /etc/init.d/varnish status<br /> varnishd (pid 10648) is running...<br /> [root@masterion init.d]#<br /><br /> Apparently Varnish is running but there is nothing in port 80. What am I doing wrong?.<br /> Thank you,<br /> Ivan<br /><br /> ______________________________<span style="text-decoration: underline;"></span>_________________<br /> varnish-misc mailing list<br /><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br /><a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/<span style="text-decoration: underline;"></span>lists/mailman/listinfo/<span style="text-decoration: underline;"></span>varnish-misc</a></blockquote>
</div>
</div>
</blockquote>
<div> </div>
</body></html>