cancel
Showing results for 
Search instead for 
Did you mean: 

Content Server Installation

Former Member
0 Kudos

Hello

I installed a content server 6.4 in AIX 5.3 with MaxDb 7.6. It is my first installation and i had problem because i cannot use it.

The installation finished successfully but when i tried to create a content repository an error occur : HTTP 404.

In my httpd.conf i did not find mod_spacs.so????

What must i verify???

Could you help me to solve this problem

Many thanks by advance

Hocine

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I got quite a similar problem here. when i start the apache, it give me an error " 0509-022 Cannot load module /home/sapcs/libexec/mod_sapcs.o.

I read a few article and most of them mention that it is due to the file is compliate in 32bit instead of 64 bit. You can see from the error that my file mod_sapcs.o (end with.o instead of .so)

Does any one know how i can change the file or maybe recompile it to 64bit so that i can start my apache/contentserver ?

Regards

Kim

Former Member
0 Kudos

In my case libexec does not exist, instead I used:

LoadModule sapcs_module modules/mod_sapcs2.so

This is for Apache 2.0.59 running on Linux.

Former Member
0 Kudos

Sorry for the delay

To solve the problem you must compilate Apache in 64 bits.

You must follow the note 664384 Generation info for Apache Web server for SAP Content Server.

Info: I used XLC compiler for compile our Apache in 64 bits and I exportetd parameter as defined in 664384 material number and at the end i lauched the command: CC=xlc ./configure --prefix=/app/sapcs/Apache_2059_2 --enable-mods-shared=most --with-mpm=prefork.

to checked if it is ok, use the command 'file' with the module to see your Apache server was compiled in 64 bits

I hope that help you

Regards

vincentlim826
Employee
Employee
0 Kudos

Hi,

HTTP 404 error, would means that there is something not right

with the content server.

Please try executing the test connection to

the content server. Try to call this URL:

http://<ContentServer>:<port>/ContentServer/ContentServer.dll?serverInfo

If the 'serverInfo' command returns 404, it means that either the

content server or the web server, (i.e apache server) are down.

Then if this is the case, please try to restart the services, or check if the web server is showing any error (i.e certain module failed to be loaded)

You must get an HTTP 200 OK return code from the "serverInfo" command. Otherwise, the content server is not working.

Hope this helps.

Regards,

Vincent

P/S: award useful answer

Former Member
0 Kudos

Hello Vincent

Thanks for your response. I checked the url : http://<host>:1090/ContentServer/ContentServer.dll?serverInfo and the same error occured.

And when i check the Web server (http://<host>:1090) it is ok.

So, i saw in httpd.conf file that the module sapcs.so is not loaded.

I added one line to include "LoadModule" for mod_sapcs.so when i started the apache web server (version 1.3xx) an error occured: "Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration".

What can i do ?

And in libexec i have only Mod_secure.o and mod_sapcs.o (is it nomal to have ".o" and not ".so")

Perhaps it misses a configuration in apache web , (really i do not know)

Could you help me to find a solution

Many thanks by advance

Hocine

Former Member
0 Kudos

I have also the same problem, but I think that I'm one step ahead of you:

In my case I installed Content Server 6.40 in Linux and Apache 2.059

My httpd.conf file has:

LoadModule sapcs_module modules/mod_sapcs2.so

And at the end I have:

<IfModule mod_sapcs2.cpp>

AddModuleInfo ContentServer "SAP Content Server 640/0 (Prototype) (C) SAP AG 1998, 2001"

CSConfigPath /u2/cndcs/conf/cs.conf

<Location /sapcs>

SetHandler sapcs_module

Allow from all

</Location>

<Location /ContentServer/ContentServer.dll>

SetHandler sapcs_module

Allow from all

</Location>

<Location /contentserver/contentserver.dll>

SetHandler sapcs_module

Allow from all

</Location>

</IfModule>

I can check the log and it shows like the ContentServer is loaded but still I can't access

http://<host>:1090/ContentServer/ContentServer.dll?serverInfo

Because it shows:

File does not exist: /u2/cndcs/apache/ContentServer

From what I can see the Location statement is actually the one that allows access to ContentServer but again, this is not working for me either.

Any ideas?

Former Member
0 Kudos

I got it to work.

You need to modify httpd.conf

Add:

LoadModule sapcs_module modules/mod_sapcs2.so

And at the end:

<IfModule mod_sapcs.cpp>

  1. AddModuleInfo sapcs_module "SAP Content Server 640/0 (Prototype) (C) SAP AG 1998, 2001"

CSConfigPath /u2/cndcs/conf/cs.conf

<Location /sapcs>

SetHandler sapcs_module

Allow from all

</Location>

<Location /ContentServer/ContentServer.dll>

SetHandler sapcs_module

Allow from all

</Location>

<Location /contentserver/contentserver.dll>

SetHandler sapcs_module

Allow from all

</Location>

</IfModule>

Notice that Addmoduleinfo is not used.