lighttpd cant bind port permission denied

lighttpd cant bind port permission denied

I installed lighttpd, tried to run it service lighttpd start and got error like the one i post below. Please dont give me that crap about needing root (because I am root) or about ports higher than 1024.

So heres the error:

Starting lighttpd: 2011-09-25 21:51:14: (network.c.345) can't bind to port: 5555 Permission denied

and this is how i succedded to run it

 [root@torrenti ~]# lighttpd -f /etc/lighttpd/lighttpd.conf
 [root@torrenti ~]# service lighttpd status lighttpd (pid  1990) is
 running... [root@torrenti ~]# service lighttpd restart Stopping
 lighttpd:                                         [  OK  ] Starting
 lighttpd: 2011-09-25 22:05:49: (network.c.345) can't bind to port:  81
 Permission denied

                                                       [FAILED]

but as you can see in the end of my SSH log, when I try to use

service lighttpd command

it says permission denied again. There is already nginx and bunch of stuff running on server, so it`s not servers problem.

相关内容