Re-sending this to the whole list... At 03:15 AM 10/21/2007 -0700, =?utf-8?Q?Denis_Br=C3=A6khus?= wrote: >At 11:14 AM 10/21/2007 +0200, =?utf-8?Q?Denis_Br=C3=A6khus?= wrote: >>----- "Bennett Haselton" <[EMAIL PROTECTED]> wrote: >> > Denis, thanks. How do I determine which user varnish is run under? >> > >"chown varnish:varnish /var/varnish" >> > I tried that command but I got the error "chown: `varnish:varnish': >> > invalid >> > user". >> >>Did you try starting varnish again? If it throws the same error, try : > >Yes, I still get the error: >Starting varnishd: Cannot create working directory >'NONE/var/varnish/sls-ce3p12' >: No such file or directory > >>"chmod 777 /var/varnish" >>and then start varnish. > >Here I run into the same problem -- I did >chmod 777 /var/varnish >but then when I try to run >/etc/rc.d/init.d/varnishd start >I still get the error: > >Starting varnishd: Cannot create working directory >'NONE/var/varnish/sls-ce3p12': No such file or directory > >I think that what's obviously happening, is that somewhere in the code is >some option where you can specify something to go in front of the root >directory /var/varnish , and some configuration setting somewhere is >saying "NONE", and the program is taking that literally and putting "NONE" >in front, so it can't find the directory. But I have no idea where that's >happening. > >Thanks for your help so far though! > >>Then : >> >>"ps axf | grep varnish" and see which user it runs as. Then : >> >>"chmod 640 /var/varnish ; chown USER:USER /var/varnish" (substitute USER >>with the user you got when checking ps). >> >>Regards >>-- >>Denis
_______________________________________________ varnish-misc mailing list [email protected] http://projects.linpro.no/mailman/listinfo/varnish-misc
