cancel
Showing results for 
Search instead for 
Did you mean: 

Content Server module error on apachectl start

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Answers (0)