cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Content Server

Former Member
0 Kudos

Dear Experts,

I got problem in installing SAP Content Server 6.30 in Solaris 9 (Unix-SPARC 64bit). After discus with OSS they sugest to review the Apache installation, i try to follow the OSS note number 664384, but i confused with some error about the compilation, here is my compilation step :

1. We install gcc for solaris 9 from www.sunfreeware.com

2. In PATH we add PATH=/usr/bin:/opt/sfw/gcc-3/bin

3. run configure --prefix=/home/sapcs --enable-module=most --enable-shared=max

i got error :

============================================================

./helpers/TestCompile: make: not found

++ doing sanity check on compiler and options+

** A test compilation with your Makefile configuration

** failed. The below error output from the compilation

** test will give you an idea what is failing. Note that

** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========

./helpers/TestCompile: make: not found

============= End of Error Report =============

4. Then we add PATH=/usr/bin:/usr/ccs/bin:/opt/sfw/gcc-3/bin and CFLAGS="-xarch=v9" (note 664384)

================================================

re run ./configure --prefix=/home/sapcs/ --enable-module=most --enable-shared=max

Configuring for Apache, Version 1.3.41

++ using installation path layout: Apache (config.layout)+

Creating Makefile

Creating Configuration.apaci in src

++ enabling mod_so for DSO support+

Creating Makefile in src

++ configured for Solaris 290 platform+

++ setting C compiler to gcc+

++ setting C pre-processor to gcc -E+

++ using "tr [a-z] [A-Z]" to uppercase+

++ checking for system header files+

++ adding selected modules+

o rewrite_module uses ConfigStart/End

disabling DBM support for mod_rewrite

(perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)

o dbm_auth_module uses ConfigStart/End

++ using builtin Expat+

++ checking sizeof various data types+

++ doing sanity check on compiler and options+

** A test compilation with your Makefile configuration

** failed. The below error output from the compilation

** test will give you an idea what is failing. Note that

** Apache requires an ANSI C Compiler, such as gcc.

======== Error Output for sanity check ========

cd ..; gcc -DSOLARIS2=290 -DNO_DBM_REWRITEMAP -DUSE_EXPAT -I./lib/expat-lite -xarch=v9 `./apaci` -o helpers/dummy helpers/dummy.c -lsocket -lnsl -lpthread

gcc: language arch=v9 not recognized

ld: fatal: file helpers/dummy.c: unknown file type

ld: fatal: File processing errors. No output written to helpers/dummy

collect2: ld returned 1 exit status

*** Error code 1

make: Fatal error: Command failed for target `dummy'

============= End of Error Report =============

Aborting!

5. I tried to remove the env variable CFLAGS="-xarch=v9", and the result it successfuly installed then i tried to install SAP Content Server 6.30, the installation had been done suceesfully but when i tried to start apache, it can not load the mod_sapcs.so

Syntax error on line 205 of /home_sapcs/conf/httpd.conf:

Cannot load /home_sapcs/libexec/mod_sapcs.so into server: ld.so.1: httpd: fatal: /home_sapcs/libexec/mod_sapcs.so: wrong ELF class: ELFCLASS64

apachectl start: httpd could not be started

Do you have any idea with this problem? I really need advice for this.

Thanks in advance

Bagus

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

it solved by prepared all library needed by compiling process.

thanks for your attention.

Bagus

Former Member
0 Kudos

Dear Hari

Please explain the steps in details, I am also facing the same error.

root@tcsscma1 # ./apachectl start

Syntax error on line 205 of /sap/Apache/conf/httpd.conf:

Cannot load /sap/Apache/libexec/mod_sapcs.so into server: ld.so.1: httpd: fatal: /sap/Apache/libexec/mod_sapcs.so: wrong ELF class: ELFCLASS64

./apachectl start: httpd could not be started

Former Member
0 Kudos

Hello Experts,

Please provide the solution, how the problem was resolved. Even I am getting following error right after installation of Content server when installation prompts to restart the server, when I try to stop apache on Solaris 10, it throws following error:

Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:

Cannot load /usr/local/apache2/modules/mod_sapcs2.so into server: ld.so.1: httpd: fatal: /usr/local/apache2/modules/mod_sapcs2.so: wrong ELF class: ELFCLASS64

I am facing this issue since very long now.

Please reply at earliest.

Thanks.

Regards,

Kashyap Shah

Former Member
0 Kudos

>Please provide the solution

>Please reply at earliest.

Hi,

This is not a really good way to start your first post

I suggest that you read the forum rules first and post after reading them...

Welcome anyway to these forums !

Olivier

Former Member
0 Kudos

Hi Kaylash,

As you got any solution because even i am facing the same issue..

kindly provide solution if you..

Regards,

Panu.