Leave a Comment:
12 comments
Do you mean using Apache PS1 webgate for OHS 11g web server? If yes, is there a specific reason why not to use existing OHS 11g webgate? You may try using it though but not guaranteed to work.
Thanks
Mahendra.
Hi Mahendra,
I installed an apache 11g webgate and deployed the instance successfully, also edited the httpd.conf file using/EditHttpdConf tool,
Where as while starting the apache server I am getting error like below,
Syntax Error on line 432 in httpd.conf and syntax error on line 9 in webgate.conf : cannot load webgate.so into server libclntch.so.11.1 cannot open shared object file.
Where 9th line in webgate.conf is
LoadModule obWebgateModule “/Location_to_/webgate.so”
Please advise me to solve this issue.
FYI,
JDK Version is 1.6 64 bit
Installed webgate is p18177519_111210_Generic.zip
RHEL 5.6 (x86_64 )
Apache is installed with root under /usr/local/apache2 but can be start with user oracle as httpd.conf file is modified like that.
Webgate is installed under /home/oracle/ with user oracle.
Thanks,
Narendra
Set the LD_LIBRARY_PATH env variable to <>/apache/webgate/lib and restart the server.
ReplyHello,
Receiving the same error as Narendra.
Setting the LD_LIBRARY_PATH didn’t solve…
echo $LD_LIBRARY_PATH
/u01/Middleware/Oracle_OAMWebGate1/webgate/apache/lib
export LD_LIBRARY_PATH=/u01/Middleware/Oracle_OAMWebGate1/webgate/apache/lib
$ service httpd start
Starting httpd: httpd: Syntax error on line 1011 of /etc/httpd/conf/httpd.conf: Syntax error on line 9 of /etc/httpd/conf/webgate.conf: Cannot load /u01/Middleware/Oracle_OAMWebGate1/webgate/apache/lib/webgate.so into server: libclntsh.so.11.1: cannot open shared object file: No such file or directory
[FAILED]
Hi,
I have followed all the steps one by one but my issue is that Apache wont get restarted and I get below error:
The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 495 of C:/Java/Apache Software Foundation/Apache2.2/conf/httpd.conf: Syntax error on line 9 of C:/Java/Apache Software Foundation/Apache2.2/conf/webgate.conf: Cannot load C:/oracle/apache/webgate/apache/lib/webgate.dll into .
You will also need to copy the ObAccessClient.xml from your Admin Domain to the API Gateway server into the /WebGateInstance/webgate/config
You should have your webgate.config cwallet.sso and ObAccessClient.xml all in the /WebGateInstance/webgate/config directory and restart your HTTP Server. If everything worked successfully under /WebGateInstance/webgate/log you should see a oblog.log file too.
Another thing to check is the owner and group under the /WebGateInstance directory make sure the HTTP server can write to the /WebGateInstance/webgate/log directory.
Frank Kochanowicz
Reply@Hari
Just in case, under redhat 6.3, if you start apache with the command ‘service apache start’, you got this error : Starting httpd: httpd: Syntax error on line 1011 ….. cannot open shared object file: No such file or directory
But if you use this command ‘/usr/sbin/httpd -k start’, the web server starts without any error
ReplyHi Mahendra,
Greetings, I am struck in a situation that Apache is not starting and throwing the below error: can you please help me to resolve the issue.
This install was done by another login who left the org, now when i try to start i am facing the below error: can you please let me know any workaround to start and complete my testing.
Thanks in advance
bash-4.1$ ./apachectl -k start
httpd: Syntax error on line 527 of /httpd-2.4.10/conf/httpd.conf: Syntax error on line 9 of /httpd-2.4.10/conf/webgate.conf: Cannot load /Software/oracle/product/11.1.1/as_1/webgate/apache/lib/webgate_apache24.so into server: libclntsh.so.11.1: cannot open shared object file: No such file or directory
thanks for the article @Mahendra, though its late for the blog’s timeline, only recently I had to configure Apache2.4 Webgate on Windows2012 server; all steps wnet thru well & Apache restarted properly.
I could see the `OAM_Authn*Cookie*` elements in the Request header; but, there’s no information on the authenticated user-info in the response; any pointers to retrieve logged in user info will be a great help. thanks in advance. – Joshua