on 10-13-2014 1:13 PM
Hi Mates,
I am installing content server in the SUSE linux platforms (Version 11 SP3 ), and getting into trouble when I try to install an apache as a prerequisite per the below link. So, I am wondering we should not install apache by default way of Yast 2 in SUSE is that not supported from SAP or compatibility with Content server applications?
Please let me know your views and recommendations about installing this apache application in SUSE linux
http://scn.sap.com/docs/DOC-56686
Kind note : I have a problem to install apache by this way and getting some error and in open forums, they recommend to go giva yast method and hence I am wondering about the general recommendations from SAP - However no where in the link or in guide, SAP has not mentioned that its not supported if we install via default method and hence I would like to get opinion from you people.
Regards
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, look at this KBA which says to use YaSt, so I think you can use it in your case also.
1800004 - httpd: Error while loading shared libraries: libexpat.so.0: wrong ELF
The SAP note 1800004 is irrelevant as it is not confirming the use of Yast. Ignore Yast and follow the installation guide. It has all the steps to install Apache. If you are facing errors during the installation of Apache then check whether you have all the required rpms installed on the system. If the installation fails with an error then supply the error logs to understand the issue. For installation check this SAP note - 664384 - Generation info for Apache Web server for SAP Content Server
Cheers
RB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reagen,
Yes you were correct, I have updated the GCC library file and then did configure, make and make install everything went success, and also the links are working fine.
Also change the ports / userid details in httpd.conf file too (Ensured those activities were performed under sapcs account and ensure its not root)
however after the installation of content server, I came to know that Apache seems to be inconsitency and when I follow the note building is important, without that functionality will work out it seems.
So, I have tried to build the files, but getting into an xml_parser error - not able to find it out the root cause or required library files.
For your reference - I have pasted the tail -100 of build.log file (Error part alone)
I/usr/include -I/usr/sap/soft/httpd-2.2.29/srclib/apr/include -I/usr/sap/soft/httpd-2.2.29/srclib/apr-util/xml/expat/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’
make[3]: *** [xml/apr_xml.lo] Error 1
make[3]: Leaving directory `/usr/sap/soft/httpd-2.2.29/srclib/apr-util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/sap/soft/httpd-2.2.29/srclib/apr-util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/sap/soft/httpd-2.2.29/srclib'
make: *** [all-recursive] Error 1
Regards
Vijay
Hello Vijay
xml/apr_xml.c:35:19: error: expat.h: No such file or directory
It is looking for the file expat.h which is the XML parser and not found. Could you check whether there is such a file present on the server ? I am not sure whether this is something to do with the C Compiler but I would also take the suggestions from the Apache site and see if that helps.
Compiling and Installing - Apache HTTP Server Version 2.2
Regards
RB
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.