Error changing the Spectrum OneClick http port to 80 on Linux
search cancel

Error changing the Spectrum OneClick http port to 80 on Linux

book

Article ID: 8048

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

After changing the Spectrum OneClick http port to 80 on Linux, we are seeing an error in the catalina.out file and not able to log into OneClick.

Aug 16, 2017 10:38:16 AM org.apache.coyote.AbstractProtocol init 

SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-80"] 

java.net.BindException: Permission denied (Bind failed) <null>:80 

at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:413) 

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:650) 

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:452) 

at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119) 

at org.apache.catalina.connector.Connector.initInternal(Connector.java:978) 

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) 

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:560) 

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) 

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:838) 

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) 

at org.apache.catalina.startup.Catalina.load(Catalina.java:642) 

at org.apache.catalina.startup.Catalina.load(Catalina.java:667) 

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 

at java.lang.reflect.Method.invoke(Method.java:498) 

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:253) 

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:427) 

Caused by: java.net.BindException: Permission denied (Bind failed) 

at java.net.PlainSocketImpl.socketBind(Native Method) 

at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387) 

at java.net.ServerSocket.bind(ServerSocket.java:375) 

at java.net.ServerSocket.<init>(ServerSocket.java:237) 

at java.net.ServerSocket.<init>(ServerSocket.java:181) 

at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49) 

at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:400)

Environment

Spectrum OneClick any version running on Linux

Cause

The TCP/IP port numbers below 1024 are special on Linux in that normal users are not allowed to run servers on them. This is a security feature, in that if you connect to a service on one of these ports you can be fairly sure that you have the real thing, and not a fake which some hacker has put up for you. 

Resolution

Although the Linux administrator can configure normal users to be able to run on TCP/IP port numbers below 1024, it is not recommended.



It is also not recommended to run Spectrum OneClick as the root user.