Home
The Toolkit for Online Communities
15894 Community Members, 1 member online, 2214 visitors today
Log In Register

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

OpenACS Home : Forums : OpenACS Q&A : mod_aolserver module might crash under EAPI

Icon of Envelope Request notifications

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?

+
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?

+
Posted by Patrick Giagnocavo on
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.

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

Here the trace:

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

../bin/apachectl configtest
Syntax 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

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

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