Apache can't run : mod_unique_id error

Kata Goto black.katagoto at gmail.com
Sat Jan 9 17:47:19 UTC 2010


Hello,

I am a new french FreeBSD user and I have to install *Apache 2.2.14*
on *FreeBSD
8.0-STABLE*.
I have tried these commands :

> cd /usr/ports/www/apache22
> make install \
>     WITHOUT_APACHE_OPTIONS=yes \
>     WITH_MODULES="authz_host actions alias cgi charset_lite deflate dir env
> expires headers log_config logio mime mime_magic negotiation setenvif
> unique_id vhost_alias filter ssl rewrite userdir" \
>     WITH_STATIC_MODULES="authz_host actions alias cgi charset_lite deflate
> dir env expires headers log_config logio mime mime_magic negotiation
> setenvif unique_id vhost_alias filter"
>

They have built *Apache* properly, but, when I try to run it (*apachectl
start*), I have this error message :

>  [alert] (EAI 8)hostname nor servname provided, or not known:
> mod_unique_id: unable to find IPv4 address of "myserver"
> Configuration Failed
>

and */usr/local/etc/rc.d/apache22 start* prints :

> Performing sanity check on apache22 configuration:
> Syntax OK
> Starting apache22.
> /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
>

I look for the origin of my problem, and I find that *mod_unique_id* is the
problem, but, it doesn't appear in my *httpd.conf*.
I don't use any-more DHCP, I have reinstalled FreeBSD, but, it doesn't work
as well, whereas on a VirtualBox Machine I have a complete *httpd.conf*.
I have tried making again Apache whithout any directive option, but, he
prints other mistackes when I want to launch it.
I don't know what to do,
if you have any idea,
by advance,
thanks

PS : *etc/apache22/Includes/* contain *no-accf.conf* which is empty
-------------- next part --------------
A non-text attachment was scrubbed...
Name: httpd.conf
Type: application/octet-stream
Size: 14112 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-apache/attachments/20100109/c657a094/httpd.obj


More information about the freebsd-apache mailing list