- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Apache installation error /usr/lib/hpux32/dld....
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 02:19 AM
тАО12-13-2010 02:19 AM
Apache installation error /usr/lib/hpux32/dld.so
We have installed Apache 1.3.42 on hpux 11.31
but we are facing below issue.
# ./apachectl start
/usr/lib/hpux32/dld.so: '/usr/sap/apache/libexec/mod_sapcsc.so' is not a valid load module: Bad magic number
Syntax error on line 206 of /usr/sap/apache/conf/httpd.conf:
Cannot load /usr/sap/apache/libexec/mod_sapcsc.so into server: Invalid argument
./apachectl start: httpd could not be started
Please advice
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 02:25 AM
тАО12-13-2010 02:25 AM
Re: Apache installation error /usr/lib/hpux32/dld.so
You should check and adjust this line.
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 02:37 AM
тАО12-13-2010 02:37 AM
Re: Apache installation error /usr/lib/hpux32/dld.so
Thanks for your reply.
i have checked,
LoadModule sapcsc_module ibexec/mod_sapcsc.so
LoadModule sapcs_module libexec/mod_sapcs.so
and
AddModule mod_sapcsc.cpp
AddModule mod_sapcs.cpp
above path loaded while sap contend server installation.
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 09:49 AM
тАО12-13-2010 09:49 AM
Re: Apache installation error /usr/lib/hpux32/dld.so
> /usr/sap/apache/conf/httpd.conf:
> You should check and adjust this line.
Probably not. "Syntax error" is a generic
Apache error message, and, while it usually
means that Apache is unhappy about something
for some reason, it seldom means that there's
actually a _syntax_ error where it says there
is.
> above path loaded while sap contend server
> installation.
I know nothing, but if your "sap contend
server installation" has left you with files
which dld.so can't use, then I'd try asking
the people who supplied this software about
this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 08:45 PM
тАО12-13-2010 08:45 PM
Re: Apache installation error /usr/lib/hpux32/dld.so
This shlib is bad. (What Steven said.) Either get a valid Integrity replacement or remove all mention of that shlib.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2010 11:53 PM
тАО12-13-2010 11:53 PM
Re: Apache installation error /usr/lib/hpux32/dld.so
Thanks for your response. If i remove these line then Apache web server working fine but SAP showing HTTP:404 error, he unable to connect HTTP server.
If i continue with these line, then Apache not work.
i have check that file command showing 64 bits for usr/sap/apache/libexec/mod_sapcsc.so
and /usr/sap/apache//bin/httpd showing 32 bits.
That means Apache 1.3.42 is 32 bits and syntex line eoor is 64 bits.
Can u advice how i change 32 bits to 64 bits
or any other way to resolve this issue ?
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2010 01:53 AM
тАО12-14-2010 01:53 AM
Re: Apache installation error /usr/lib/hpux32/dld.so
or any other way to resolve this issue?
You can't without recompiling. You can only install a 64 bit apache to match your 64 bit mod_sapcsc.so.
Or ask SAP to give you a 32 bit version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2010 04:55 AM
тАО12-14-2010 04:55 AM
Re: Apache installation error /usr/lib/hpux32/dld.so
Can u tell me how to recompiling ?
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2010 12:38 PM
тАО12-14-2010 12:38 PM
Re: Apache installation error /usr/lib/hpux32/dld.so
You would have to have the source to recompile. (I assumed you would reject this as too hard.)
Given that /usr/sap has both the httpd and mod_sapcsc.so, any reason they aren't consistent?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2010 07:06 AM
тАО12-15-2010 07:06 AM
Re: Apache installation error /usr/lib/hpux32/dld.so
Now i have installed Apache httpd-2.2.17.
But after ./configuration, while running make at end it showing below error.
[rudmsprd]# make
Making all in srclib
Making all in apr
sed 's,^\(location=\).*$,\1installed,' < apr-1-config > apr-config.out
sed 's,^\(apr_build.*=\).*$,\1/usr/sap/apache/build,' < build/apr_rules.mk > build/apr_rules.out
Making all in apr-util
/bin/sh /sapcd/httpd-2.2.17/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DHPUX11 -D_REENTRANT -D_HPUX_SOURCE -D_LARGEFILE64_SOURCE -I/sapcd/httpd-2.2.17/srclib/apr-util/include -I/sapcd/httpd-2.2.17/srclib/apr-util/include/private -I/sapcd/httpd-2.2.17/srclib/apr/include -Ibuildin/include -o xml/apr_xml.lo -c xml/apr_xml.c && touch xml/apr_xml.lo
xml/apr_xml.c:35:19: error: expat.h: No such file or directory
xml/apr_xml.c:66: error: expected specifier-qualifier-list before 'XML_Parser'
xml/apr_xml.c: In function 'cleanup_parser':
xml/apr_xml.c:344: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:345: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c: At top level:
xml/apr_xml.c:364: error: expected ';', ',' or ')' before '*' token
xml/apr_xml.c: In function 'apr_xml_parser_create':
xml/apr_xml.c:381: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:382: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:390: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:391: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:392: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:404: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:404: error: 'default_handler' undeclared (first use in this function)
xml/apr_xml.c:404: error: (Each undeclared identifier is reported only once
xml/apr_xml.c:404: error: for each function it appears in.)
xml/apr_xml.c: In function 'do_parse':
xml/apr_xml.c:414: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:418: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:422: error: 'apr_xml_parser' has no member named 'xp_err'
xml/apr_xml.c:422: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c: In function 'apr_xml_parser_geterror':
xml/apr_xml.c:480: error: 'apr_xml_parser' has no member named 'xp_err'
xml/apr_xml.c:480: error: 'apr_xml_parser' has no member named 'xp_err'
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
But missing file avaiable in below path
# find / -name expat.h -print
/opt/gtk2.6/include/expat.h
/opt/hpws/apache/include/expat.h
/sapcd/httpd-2.2.17/srclib/apr-util/xml/expat/lib/expat.h
Please advice.
Prashant