Debian 8 Azure server

Debian 8 Azure server

Good morning,


I have installed SupportCenter Plus on a Debian 8 instate on Azure. I have enabled all of the port rules but I still get connection refused errors.I have tried multiple ports and even a port I had working for another web based application.

When I try to uninstall I get a message that the sysem cannot fine the Java instance.

In the end I am starting to belvie that this is a rights issue and am wondering if someone has run into this. This is the latest error I get when I try to run the server with run. sh

"Exception while writing file java.io.FileNotFoundException: /usr/local/SupportCenter/server/default/conf/sample-bindings.xml (Permission denied)
java.io.FileNotFoundException: /usr/local/SupportCenter/server/default/conf/sample-bindings.xml (Permission denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileWriter.<init>(Unknown Source)
        at com.adventnet.servicedesk.server.utils.PortCheckerUtil.writeToFile(PortCheckerUtil.java:177)
        at com.adventnet.servicedesk.server.utils.PortCheckerUtil.changePort(PortCheckerUtil.java:144)
        at com.adventnet.servicedesk.server.utils.SDResourceCheck.main(SDResourceCheck.java:44)
Web server port was occupied initially. It is possible that another instance of server is already running"

When I try to run the shutdown.sh -S I get this:

"Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]]
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1202)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at org.jboss.Shutdown.main(Shutdown.java:188)
Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]]
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:213)
        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1187)
        ... 4 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused]
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:187)
        ... 5 more
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69)
        at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62)
        at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:183)
        ... 5 more"


                New to ADSelfService Plus?