Skip to Content
author's profile photo Former Member
Former Member

Content Server module error on apachectl start

Gurus,

I have installed Content server 6.40 / sapdb 7.4 on AIX 5.3 / 64 bit and after install am trying to start / stop the apache web services via apachectl start.

I receive the following error:

nwkwcs:/>apachectl start

Syntax error on line 205

of /etc/opt/freeware/apache/httpd.conf:

Cannot load /opt/freeware/apache/libexec/mod_sapcs.o into server:

0509-022 Cannot load module /opt/freeware/apache/libexec/mod_sapcs.o.

0509-103 The module has an invalid magic number.

/usr/sbin/apachectl start: httpd could not be started

Steps taken to this point:

1. Installed preconf. rpm Apache module for AIX v. 1.3.31

2. Installed SAP Content Server with SAPDB.

3. Connected successfully to

http://<server>:80/ and shows apache install was OK.

4. Altered httpd.conf with the following:

- changed port from 80 to 1090 to content server default.

- changed servername to myhost.domain

5. Confirmed the mod_sapcs.o file exists and is 64

bit.

6. Downloaded the latest mod_sapcs.o in Patch 7 of

Content server and applied. Same error occurred.

Thanks,

Jeff Martens

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 01, 2008 at 08:29 PM

    Jeff,

    It seems that you have compiled the Apache server in static mode. Please make sure that the web server is compiled with shared object support (DSO). OSS Note: 664384 also explains this in some better detail than what I can explain here. Also, make sure that you are using the IBM CSet compiler in order to produce the right 64-bit object code.

    Thanks and if this answers your question, please set this thread to answered. If not, please provide your details so we can get your issue addressed properly.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      David,

      Thanks for your help. Only being a Basis guy and not an apache or Unix whiz I could use some clarification on what steps to take for the apache install. I looked over note 664384, noting this is for a manual generation of apache.

      Our Unix admin downloaded a unix rpm file from IBM for apache and simply installed that module automagically. Per the content server install doc, I saw no problem with this except setting up security correctly after the fact so apache does not run as root. I'm guessing this is not acceptable?

      Therefore, do I need to download the latest 2.X from apache.org and generate the install "manually"?

      Any roadmap you could provide would really help.

      Thanks,

      Jeff Martens

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.