Skip to Content

Missing ports in ASE Cockpit

After upgrading from ASE 16.0 SP01 to SP02 PL01 I tried to start the new ASE Cockpit. Cockpit starts but the connection info like "Cockpit Web Console: https://dimotion:4283/cockpit" is missing:

============================

[sybase@dimotion bin]$ ./cockpit.sh

Starting Cockpit Server...

---------- SYSTEM INFO ----------

Home Directory:       /opt/ase160/COCKPIT-4

Version:              Cockpit Server 4 SP10

Node:                 dimotion(192.168.0.52)

Log Message level:    WARN

Platform:              linux

Bitwidth:              64

OS Name:               Linux

OS Version:            3.10.0-229.14.1.el7.x86_64

OS Architecture:       amd64

Available Processors:  6

Total Physical Memory: 19411 MB

Free Physical Memory:  8718 MB

java.library.path:     /opt/ase160/COCKPIT-4/rtlib:/opt/ase160/COCKPIT-4/bin/sa16/linux64/lib64

Java Home:             /opt/ase160/shared/SAPJRE-7_1_027_64BIT

Java Version:          1.7.0_71

Java VM Version:       7.1.027 25.11-b02

VM Process ID          31205@dimotion.sybase.local

VM Arguments:          -Xms128m, -XX:MaxPermSize=128m, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=/opt/ase160/COCKPIT-4/log, -Dcom.sybase.home=/opt/ase160, -Dcom.sybase.ua.toplevel=/opt/ase160/COCKPIT-4, -Dcom.sybase.ua.home=/opt/ase160/COCKPIT-4, -Dcom.sybase.platform=linux, -Djava.library.path=/opt/ase160/COCKPIT-4/rtlib:/opt/ase160/COCKPIT-4/bin/sa16/linux64/lib64, -Djava.security.policy=/opt/ase160/COCKPIT-4/conf/java.policy, -Djava.util.logging.manager=com.sybase.ua.util.logging.bridge.JavaToLog4jLogManager, -Dcom.sybase.security.BootstrapConfigurationURL=file:////opt/ase160/COCKPIT-4/conf/csibootstrap.properties

Type help for more options

cockpit>

============================

A connection with the ASE Cockpit installation is not possible. Displaying the ports I get:

============================

cockpit> info -p

---------- SERVICE PORT CONFIGURATION ----------

Service Name           Property Name                  Current Value   In Use Address

------------           -------------                  -------------   ------ -------

RMI                    port                           4992            true   dimotion

EmbeddedWebContainer   http.port                      4282            false  ANY

EmbeddedWebContainer   https.port                     4283            false  ANY

Tds                    tdsPort                        4998            false  ANY

SccSADataserver        com.sybase.asa.server.port     4638            false  ANY

Messaging              messaging.db.port              4638            false  ANY

Messaging              messaging.port                 4993            false  ANY

Alert                  alert.database.port            4638            false  ANY

cockpit>

============================

All ports are free, because an IQ Cockpit installation runs on the same machine with the identical ports. The agent status also looks OK:

============================

cockpit> status -a

Agent Home:     /opt/ase160/COCKPIT-4

Connection URL: service:jmx:rmi:///jndi/rmi://dimotion:4992/agent

Status:         RUNNING

cockpit>

============================

The upgrade itself works without any error or message. Am I missing something necessary during the upgrade?

Many thanks

Robert

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 04, 2015 at 12:51 PM

    Robert,

    I think we're in exactly the same process, as I had the same problem today !

    First I thought that it was our firewalls here, that did not let the traffic through, so I spoke to the network guys but they said that they couldn't see any ports listening on my ASE server ?

    So I took a look at the manual, and as far as I could find out it wasn't enough to just start Cockpit. You also have to start all the "Services", but outside Cockpit and before you start Cockpit ! So I reckon that you alter some kind of config file (that I haven't found yet) with these commands ?

    What I did was the following :

    ./cockpit.sh -enable Tds

    ./cockpit.sh -enable EmbeddedwebContainer

    ./cockpit.sh -enable Messaging

    ./cockpit.sh

    Then you can check your ports and see so that they actually are listening with :

    netstat -tpnl

    You can also see that the ports have changed from "false" to "true" with "info -p" ?

    That is as far as I've come now. I can get the logon screen, but no "system" has been discovered yet, and I think one have to specify that too before starting Cockpit ? So I did that too with :

    ./cockpit.sh -instance <the ASE name> -user sa -password <sa password>

    But I still cannot choose any "system" in my loon screen on my browser...

    Regards

    Mike

    Add comment
    10|10000 characters needed characters exceeded

    • Jeff, here is the output of ls, and I will upload my xml file

      /Mike

      $ ls -la

      total 92

      drwxrwxr-x 3 sybase dba  4096 Nov 10 13:56 .

      drwxrwxr-x 4 sybase dba  4096 Nov  6 10:31 ..

      -rw-r--r-- 1 sybase dba   563 Nov  6 10:16 agent-plugin.dtd

      -rw-r--r-- 1 sybase dba  2207 Nov 10 13:56 agent-plugin.xml

      -rw-r--r-- 1 sybase dba  2702 Nov  6 10:30 agent-plugin.xml.bak

      -rw-r--r-- 1 sybase dba  2207 Nov 10 10:49 agent-plugin.xml.bak.10

      -rw-r--r-- 1 sybase dba  2207 Nov 10 13:56 agent-plugin.xml.bak.11

      -rw-r--r-- 1 sybase dba  2175 Nov  6 10:51 agent-plugin.xml.bak.2

      -rw-r--r-- 1 sybase dba  2175 Nov  6 10:53 agent-plugin.xml.bak.3

      -rw-r--r-- 1 sybase dba  2207 Nov  6 15:13 agent-plugin.xml.bak.4

      -rw-r--r-- 1 sybase dba  2207 Nov  9 13:17 agent-plugin.xml.bak.5

      -rw-r--r-- 1 sybase dba  2207 Nov  9 13:21 agent-plugin.xml.bak.6

      -rw-r--r-- 1 sybase dba  2207 Nov  9 13:29 agent-plugin.xml.bak.7

      -rw-r--r-- 1 sybase dba  2207 Nov  9 13:49 agent-plugin.xml.bak.8

      -rw-r--r-- 1 sybase dba  2207 Nov  9 16:03 agent-plugin.xml.bak.9

      -rw-r--r-- 1 sybase dba  2109 Nov  6 10:30 agent-plugin.xml.org

      drwxr-xr-x 2 sybase dba  4096 Nov  6 10:17 lib

      -rw-r--r-- 1 sybase dba 23367 Nov  6 10:16 mbean-descriptor.xml

      $ pwd

      /opt/sybase/COCKPIT-4/plugins/SDREAD2

      agent-plugin.xml (2.2 kB)