View Single Post
  #1   (View Single Post)  
Old 12th November 2008
lalebarde lalebarde is offline
New User
 
Join Date: Nov 2008
Posts: 6
Red face [SOLVED] Apache : httpd could not be started

Hello,
Thought I have searched many forums, I have not found anything on this :
I am on my first server install . I selected OpenBSD 4.4 with OAMP. I am complete newbie for all of that (Gentoo on my desktop without apache, mysql, php). I have followed installation instructions from http://www.openbsd.org/faq, for OAMP from http://http://www.h-i-r.net/2008/01/...che-mysql.html, and for apache configuration in /var/www/conf/httpd.conf from http://http://httpd.apache.org/docs/...irectives.html.

When I start apache, here is the result : could not resolve port "192.168.2.11" --- service not supported for ai_socktype
/usr/sbin/apachectl start: httpd could not be started


As written in the apache documentation for listen : Listen is now a required directive. If it is not in the config file, the server will fail to start.

What I did with : Listen 192.168.2.11

If I remove this line, apache starts, but then if I try to browse my server from 192.168.2.11, I get :
Forbidden
You don't have permission to access /phpinfo.php on this server.


It is the same with PF disabled.

I need help please .

Last edited by lalebarde; 13th November 2008 at 11:52 PM. Reason: solved
Reply With Quote