[SOLVED] Apache : httpd could not be started
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 :
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
|Thread||Thread Starter||Forum||Replies||Last Post|
|thinkpad x200 or similar owners pleas help getting started||gosha||General Hardware||1||14th July 2009 04:06 AM|
|Trying to get started translating OpenBSD Documentaion||qmemo||OpenBSD General||6||12th July 2009 12:50 PM|
|Pf Nat getting started ??||neurosis||FreeBSD Security||11||16th November 2008 08:58 PM|
|can't start apache "httpd not running"||disappearedng||FreeBSD General||5||22nd September 2008 10:18 PM|
|Getting started with DTrace||tanked||FreeBSD General||2||25th June 2008 09:21 AM|