OAM 11gR2 WebGate libclntsh.so.11.1: cannot open shared object file Error – SOLUTION!

Ever see this when you’re trying to start or stop apache:   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 /opt/apps/oracle/Middleware/Oracle_WG1/webgate/apache/lib/webgate.so into server: libclntsh.so.11.1: cannot open shared object file: No such file or directory   This is because you need to export this:   export LD_LIBRARY_PATH=/opt/apps/oracle/Middleware/Oracle_WG1/webgate/apache/lib…

Details

OAM WLST Command List for Reference

wls:/oamdomain/domainRuntime> help(‘all’) help(‘abortRepositorySession’)Abort the current repository session, discarding the changes made to repository. help(‘activate’) Activate the changes. help(‘activateIDSConfigChanges’)Reload IDS configuration. help(‘activateLibOVDConfigChanges’) Reloads the libOVD configuration. help(‘addAttributeExclusionRule’) Add a attribute exclusion rule help(‘addAttributeInEntityConfig’)Add a new attribute in entity configuration. help(‘addAttributePropsInEntityConfig’)Add new properties for attribute in entity configuration. help(‘addAttributeRefForEntity’)Add new attribute for specified entity. help(‘addAttributeRule’) Add a…

Details
selinux-penguin-new_medium

webgate.so: cannot enable executable stack as shared object requires: Permission denied

So you tried this: [[email protected] ~]# export LD_LIBRARY_PATH=/opt/apps/oracle/Middleware/Oracle_WG1/webgate/apache/lib [[email protected] ~]# apachectl -k start   And ya got this: 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 /opt/apps/oracle/Middleware/Oracle_WG1/webgate/apache/lib/webgate.so into server: /opt/apps/oracle/Middleware/Oracle_WG1/webgate/apache/lib/webgate.so: cannot enable executable stack as shared object requires: Permission denied Do this: sudo vi /etc/selinux/config Set…

Details
62920153

EditHttpConf issues when installing WebGate?

I just had this happen to me. Kind of a n00b move, but hey. It happens =) Ran this: [[email protected] ~]# /opt/apps/oracle/Middleware/Oracle_WG1/webgate/apache/tools/setup/InstallTools/EditHttpConf -f /etc/httpd/conf/httpd.conf -oh /opt/apps/oracle/Middleware/Oracle_WG1/ -w /opt/apps/oracle/Middleware/webgateInstance/ -ws apache And I got this: Error: You are not authorized to configure this web server Let’s not talk about why this is being run as root…

Details