1753872 Members
7477 Online
108809 Solutions
New Discussion юеВ

Apache Server problem

 
chandra Sekhar_7
Frequent Advisor

Apache Server problem

Dear GEMS,
I am trying start the apache server i am getting following error please any one help me how to reslove this issue..


Syntax error on line 1137 of /opt/hpws/apache/conf/httpd.conf:
Cannot load /opt/hpws/apache/modules/libmod_swe.so into server: '/opt/hpws/apache/modules/libmod_swe.so' is not a valid load module: Bad magic number


Regards
Chandra
10 REPLIES 10

Re: Apache Server problem

What's the output of:

file /opt/hpws/apache/modules/libmod_swe.so

HTH

Duncan

I am an HPE Employee
Accept or Kudo
chandra Sekhar_7
Frequent Advisor

Re: Apache Server problem

Dear de,

Thanks for your responce

please find the attachment of that file.
pls help me on this........

Torsten.
Acclaimed Contributor

Re: Apache Server problem

Attaching the file is not that helpful, please run the command suggested.



Example:

# file /opt/hpws/apache/modules/mod_ssl.so
/opt/hpws/apache/modules/mod_ssl.so: PA-RISC1.1 shared library



Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
chandra Sekhar_7
Frequent Advisor

Re: Apache Server problem

output is



libmod_swe.so: ELF-32 shared object file - IA64
Torsten.
Acclaimed Contributor

Re: Apache Server problem

And how about line 1137 of /opt/hpws/apache/conf/httpd.conf?

Did you check for the syntax error?


I guess this lib came with another application - did you check all the requirements?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   

Re: Apache Server problem

Chandra,

And is this system a PA-RISC or Integrity (IA64) system?

model

should tell us.

HTH

Duncan

I am an HPE Employee
Accept or Kudo

Re: Apache Server problem

Also check that you have a 32-bit version of Apache installed (as the library is 32-bit)

file /opt/hpws/apache/bin/httpd

HTH

Duncan

I am an HPE Employee
Accept or Kudo
chandra Sekhar_7
Frequent Advisor

Re: Apache Server problem

Server model is RX4640 Integrity 64bit os 11.23
1137 line is like this(httpd.conf)
LoadModule swe_module modules/libmod_swe.so
Apache Version is 32bit
# ./apachectl -V
Server version: Apache/2.0.58
Server built: Apr 10 2008 16:49:01
Server's Module Magic Number: 20020903:12
Server loaded: APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/siebel/siebel/http"
-D SUEXEC_BIN="/siebel/siebel/http/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"


Thnaks

Re: Apache Server problem

Ok so is the apache software itself a IA64 executable (remember that we can run PA-RISC executables on IA64 in emulation mode)

file /opt/hpws/apache/bin/httpd

HTH

Duncan

I am an HPE Employee
Accept or Kudo