[OPEN-ILS-DEV] Help: "apxs:Error: Activation failed for custom
/etc/apache2/httpd.conf file"
Don McMorris
don.mcmorris at gmail.com
Sat Feb 3 19:22:30 EST 2007
Hmm... accidentally hit "send" before finishing! ;)
Anyway, I'm guessing that Apache was installed as a package. It's
likely that some option compiled in to this package is missing or
incompatible with the Evergreen configuration.
There have been, in the past, reported issues of Evergreen on Apache
2.2. If this is what you're using, you may want to consider
"downgrading" to 2.0. One of the developers may be able to elaborate
on the Apache 2.2 incompatibility (Mike? Jason? Bill?).
Regarding the empty httpd.conf, it may be that this is stored in a
non-standard location. Some binary packages use a non-default
configuration type. An example I've seen is the use of a small
configuration called by the init file, and this configuration file
calls other configuration files in an attempt to make a modular-type
config system.
I prefer to build apache 2.0 from source vs. trying to adopt a
pre-compiled binary. The Dokuwiki explains the configuration steps
necessary to compile Apache from source.
Pending responses to questions in previous e-mail, somebody with
experience in configurations similar to yours may be able to respond
in the next couple of days.
Hope this helps, and good luck!
--Don
On 2/3/07, Don McMorris <don.mcmorris at gmail.com> wrote:
> Hey Grace:
>
> Just a couple questions that may help diagnose (and resolve) the issue:
>
> 1) What version of Apache (2.0 or 2.2? What build?)
> 2) Was it built from source or from a package (IE: .tar, .deb, etc)?
> 3) What version of Linux?
>
>
>
>
>
> On 2/3/07, Grace Liu <gyliu86 at hotmail.com> wrote:
> >
> >
> >
> >
> > Hi all,
> >
> > I'm still working on Evergreen server configuration. At "Building and Installing the source", I have passed "make config" and "make". But when execute "make install", I got the error messages as follows:
> >
> >
> > ..
> > ..
> > apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file..
> > apxs:Error: At least one `LoadModule' directive already has to exist..
> > make[2]: *** [install] Error 1
> > make[1]: *** [gateway-install] Error 2
> > ..
> > ..
> >
> >
> > apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file..
> > apxs:Error: At least one `LoadModule' directive already has to exist..
> > make[2]: *** [mod_xmlent-install] Error 1
> > make[1]: *** [mod_xmlent-install] Error 2
> >
> >
> > detail messages:
> > -------------- [ opensrf_all ] -------------------------------------------
> >
> > install-prep
> > objson-install
> > opensrf-install
> > gateway-install
> > /usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' osrf_json_gateway.so /usr/lib/apache2/modules
> > /usr/share/apr-1.0/build/libtool --mode=install cp osrf_json_gateway.so /usr/lib/apache2/modules/cp osrf_json_gateway.so /usr/lib/apache2/modules/osrf_json_gateway.so
> > Warning! dlname not found in /usr/lib/apache2/modules/osrf_json_gateway.so.
> > Assuming installing a .so rather than a libtool archive.
> > chmod 644 /usr/lib/apache2/modules/osrf_json_gateway.so
> > apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file..
> > apxs:Error: At least one `LoadModule' directive already has to exist..
> > make[2]: *** [install] Error 1
> > make[1]: *** [gateway-install] Error 2
> >
> > -------------- [ openils_all ] -------------------------------------------
> >
> > perl-install
> > Installing Perl modules to /openils//lib//perl5/
> > webcore-install
> > Copying web into /openils//var/web
> > autojs-install
> > mod_xmlent-install
> > /usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' mod_xmlent.so /usr/lib/apache2/modules
> > /usr/share/apr-1.0/build/libtool --mode=install cp mod_xmlent.so /usr/lib/apache2/modules/
> > cp mod_xmlent.so /usr/lib/apache2/modules/mod_xmlent.so
> > Warning! dlname not found in /usr/lib/apache2/modules/mod_xmlent.so.
> > Assuming installing a .so rather than a libtool archive.
> > chmod 644 /usr/lib/apache2/modules/mod_xmlent.so
> > apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file..
> > apxs:Error: At least one `LoadModule' directive already has to exist..
> > make[2]: *** [mod_xmlent-install] Error 1
> > make[1]: *** [mod_xmlent-install] Error 2
> >
> > -------------- [ evergreen_core ] -------------------------------------------
> >
> > circ-install
> > iplist-install
> > perl-install
> >
> > Now run: chown -R opensrf:opensrf /openils/
> >
> >
> > The httpd.conf is empty. Does anybody know how to fix the problem?
> >
> > Thanks.
> >
> > Grace
> >
> > _________________________________________________________________
> > Get the new Windows Live Messenger!
> > http://get.live.com/messenger/overview
>
More information about the Open-ils-dev
mailing list