Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
ERROR: java.net.BindException: Permission denied while starting TIBCO Spotfire Server on Linux/Unix.
Solution:
The TIBCO Spotfire Server does not start. The Catalina.log contains the java.net.BindException: Permission denied error as seen below.
org.apache.coyote.AbstractProtocol init SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-80"] java.net.BindException: Permission denied <null>:80 at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:406) ............ ........... Caused by: java.net.BindException: Permission denied at java.net.PlainSocketImpl.socketBind(Native Method) ............ ........... ... 17 more
The error is related to a permission issue on Linux when the TIBCO Spotfire Server is started by non-root user. In a Unix/Linux environment, Port number 0 - 1023 are normally privileged and reserved for programs that are run as the root user.
To resolve:
Option 1). Run the Spotfire Service as the Root User.
Option 2). Update the server.xml Spotfire Server port to greater than 1023.
Option 3). Allow the access permission on that port for non root user with the help of a Unix/Linux Administrator.
External: Permission denied error when binding a port
External: Authbind
Comments
0 comments
Article is closed for comments.