Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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

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 "" --- 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

If I remove this line, apache starts, but then if I try to browse my server from, 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
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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

All times are GMT. The time now is 07:32 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick