Re: CNS Server and Centos 6.8

Hi Pavel,

Please help me with following details in order to proceed with troubleshooting:

1. CNS version ?

2. Is it vmware  or centos install on PC?

3. Screenshot of the issue.

4. Other than the discovery, rest of the things are working fine or not?

5. Pervious version of centos?

6. Have you tried with centos 6.7 and 7.0? If possible please try with 7.0 and after upgrade to 7.0 please let us know the status.

Hi,

1. latest version with hotfix 1.3.2.3.3211

2. vmware

3. attached

4. pages discovery and monitor do not work properly (other pages Configure, Upgrade and Admin are OK)

5. Before the upgrade (from centos 6.6 to 6.8 ) everything worked 

6. Now I am not able  to do downgrade to 6.7 or upgrade to 7.0 ... maybe later

Hi,

You can apply hotfix 1.3.2.3.3211.1 provided for CNS Server MAP issue . It might solve your problem.

Regards,

Piyush

Same here - hotfix didn't fix it.  Centos 6.8,  VMware.   Just spins.  Doesn't matter which browser. 

Monitor and Upgrade tabs both sit there spinning "Loading Services"

There is nothing in the error logs in the cnsserver dir, or the system logs that indicate any errors. 

Correction the only errors I could find for today that is linked to the program is in the database logs.

2016-10-24 09:24:16,841 ERROR TopologyDAO.addTolinkTable(): Exception occurred: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "links_pkey"
  Detail: Key (parent_id, child_id)=(00:04:56:C1:DA:1A, 00:04:56:CD:9E:C4) already exists.
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "links_pkey"
  Detail: Key (parent_id, child_id)=(00:04:56:C1:DA:1A, 00:04:56:CD:9E:C4) already exists.
    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
    at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
    at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
    at com.cambiumnetworks.adviser.dao.TopologyDAO.addTolinkTable(TopologyDAO.java:253)
    at com.cambiumnetworks.adviser.services.topology.Topology.refreshTopology(Topology.java:99)
    at com.cambiumnetworks.adviser.services.topology.Topology$TopologyThread.run(Topology.java:55)

Hi,

Stop CNS Server service and then open PgAdmin3 query browser on your systeam and run following command-

DELETE FROM adviser.links
WHERE parent_id = '00:04:56:C1:DA:1A' AND child_id='00:04:56:CD:9E:C4';

After execution of above command, restart the CNS server service. Verify and let us know in case of any difficulty.

Regards,

Piyush