Exalogic, OTD

[OTD-10251] – dlopen of libwebapp-firewall.so

If you are getting this:

Error on Node myserver-01: Error on node ‘myserver-01’: OTD-63603 An error occurred while starting the server. [ERROR:32] [OTD-10251] Error running Init function load-modules: dlopen of libwebapp-firewall.so failed (libexpat.so.0: cannot open shared object file: No such file or directory) [ERROR:32] server initialization failed

You need to install the lib libexpat. This is how it works:

libwebapp-firewall.so -> libaprutil-1.so.0 -> libexpat.so.0

Just go for it:

yum install compat-expat1-1.95.8-8.el6.x86_64

Cheers. 😉

Exalogic, Middleware

OTD – Error creating socket (No access rights)

If you got something similiar with this on your OTD log:

[ERROR:32] [OTD-10376] 1 listen sockets could not be created
[ERROR:32] [OTD-10380] http-listener-1: http://soa.example.com:80:
Error creating socket (No access rights)

Sorry. You can’t use OTD on port 80. According the documentation, you must to use IPTABLES or XINETD to redirect from port 80 to another port. Below a small example of how you can do by using IPTABLES to redirect from port 80 to port 8080.

/sbin/iptables -t nat -A PREROUTING -p tcp -m tcp -d <YOUR_IP_ADDRESS> –dport 80 -j REDIRECT –to-port 8081
/sbin/iptables -t nat -A PREROUTING -p udp -m udp -d <YOUR_IP_ADDRESS> –dport 80 -j REDIRECT –to-port 8081
/sbin/iptables -t nat -A OUTPUT -p tcp -d <YOUR_IP_ADDRESS> –dport 80 -j REDIRECT –to-port 8081
/sbin/iptables -t nat -A OUTPUT -p udp -d <YOUR_IP_ADDRESS> –dport 80 -j REDIRECT –to-port 8081

Or you can add XINETD entry:

service otd
{
type = UNLISTED
disable = no
socket_type = stream
protocol = tcp
user = root
wait = no
port = 80
redirect = 127.0.0.1 8080
}