Forum OpenACS Q&A: mod_aolserver module might crash under EAPI

I am trying to use the mod_aolserver on my apache_1.3.20.

But error bellow appear:

<snip>
/usr/local/apache_1.3.20/conf # sh ../bin/apachectl startssl
[Fri Jun 1 09:50:37 2001] [warn] Loaded
DSO /usr/lib/apache/mod_aolserver.so uses plain A pache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI)
../bin/apachectl startssl: httpd could not be started
</snip>

Any ideas on what to try next?

Collapse
Posted by Petru Paler on

Could you please try and add "-DEAPI" to mod_aolserver's Makefile, recompile and reinstall it, then test to see if it works?

Petru's suggestion to ad -DEAPI is a good one; however, there is
more you can do to diagnose this.

1) Run "apachectl configtest" and see if the syntax of your
httpd.conf file is ok.

2)Look at the error_log for more detailed information.  My guess
is that you are running on a platform that requires you to run
"ldconfig" whenever you add additional libraries to the system.

Did you just install Postgres?  If so, you linked against the PG
libraries; if you did not re-run ldconfig and add the PG libs to the
ld.so cache, then starting Apache will fail.

Collapse
Posted by Budi Wiyono on
The problem solved...
Thanks for your help.

Here the trace:

<blockquote> 1) Run "apachectl configtest" and see if the syntax of your
httpd.conf file is ok..
</blockquote>

../bin/apachectl configtest
Syntax OK

<blockquote> 2)Look at the error_log for more detailed information.  My guess
is that you are running on a platform that requires you to run
</blockquote>

tail -f ../logs/error_log

mod_aolserver startup failed: couldn't open "/usr/local/apache_1.3.20/./conf/nsd.ini": nosuch file or directory

<blockquote> "ldconfig" whenever you add additional libraries to the system..
Did you just install Postgres?  If so, you linked against the PG
libraries; if you did not re-run ldconfig and add the PG libs to the
ld.so cache, then starting Apache will fail.
</blockquote>