You are not logged in.
Pages: 1
Hi,
I'm trying to install/setup nginx in SliTaz 4.0. After installing it with tazpkg, it won't start complaining the following:
[emerg]: getpwnam("80") failed
why is this happening? I stopped BusyBox httpd prior to starting nginx with
/etc/init.d/httpd stop
and verify with midori that no web server is running (browsing to localhost yield an error).
Thanks
Offline
Nginx can't find user www:x:80 in nginx.conf
[c]# leafpad /etc/nginx/nginx.conf[/c]
Change
[c]#user nobody;[/c]
to
[c]user www;[/c]
File/Save/File/Quit leafpad
Make this directory:
[c]# mkdir -p /var/spool/nginx[/c]
[c]# /etc/init.d/nginx start[/c]
Go to http://localhost in browser to verify nginx is up
Offline
Thanks, that solved the problem.
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]