slackware 10.2 to start the apache service


After I installed slackware 10.2, intended to open the apache service. But by / etc / rc.d / rc.httpd start start apache service, an error results.


Test results is through apachectl configtest Syntax OK


Then check the error log more / var / log / apache / error_log found the following error
[Thu Jan 5 19:03:18 2006] [alert] mod_unique_id: unable to gethostbyname (“server”)


Solution to / etc / apache / httpd.conf file to remove the inside of the following two options
LoadModule unique_id_module libexec / apache / mod_unique_id.so
AddModule mod_unique_id.c

Is to find the above two lines, with the # sign in front of
I checked a bit, this unique_id_module role. Provides an environment variable with a unique identifier for each request
Probably means to provide a unique identifier for each request environment variables

But the specific role and function I did not see to understand, Zenmo use was also not clear.

Here is the apache web site on the description of the module, hoping to translate what master
http://httpd.apache.org/docs/1.3/mod/mod_unique_id.html

Leave a Reply