Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Today I installed lighttpd on my CentOS 5.6 machine attempting to replace httpd.

The things I did:

yum install lighttpd

nano /etc/lighttpd/lighttpd.conf I set the document root to my files

service lighttpd start -- [root@forums ~]# Starting lighttpd: 2011-05-20 18:52:34: (network.c.203) socket failed: Address family not supported by protocol

Starting lighttpd: 2011-05-20 18:52:34: (network.c.203) socket failed: Address family not supported by protocol

How can I fix this? I really want to try out lighttpd for my forum but I just can't get it to start. Can someone help me please?

share|improve this question

migrated from webmasters.stackexchange.com May 20 '11 at 15:00

This question came from our site for pro webmasters.

1 Answer 1

up vote 3 down vote accepted

Try setting "server.use-ipv6" to disabled and start lighttpd.

It could be trying to load ipv6 settings and the server has ipv6 disabled.

share|improve this answer
    
wow that fixed it! Thank you so much:) –  Kyle May 23 '11 at 20:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.