ERROR: java.net.BindException: Permission denied while starting TIBCO Spotfire Server on Linux/Unix.

ERROR: java.net.BindException: Permission denied while starting TIBCO Spotfire Server on Linux/Unix.

book

Article ID: KB0080303

calendar_today

Updated On:

Products Versions
Spotfire Server All Versions

Description

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


 

 

Issue/Introduction

ERROR: java.net.BindException: Permission denied while starting TIBCO Spotfire Server on Linux/Unix.

Resolution

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. 

Additional Information

External: Permission denied error when binding a port
External: Authbind