cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Welcome to the Smart Net Total Care Community!

Our community includes Cisco experts to answer your questions about the Smart Net Total Care (SNTC) portal and CSP-Collector.
Click the navigation links below to access materials for using our service and supported collectors.

393
Views
0
Helpful
5
Replies
jmumm
Beginner

Looking for admin SSH patch for 2.7 - java errors trying to login

java.net.ConnectException: Connection refused (Connection refused)
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at java.net.Socket.connect(Socket.java:538)
        at java.net.Socket.<init>(Socket.java:434)
        at java.net.Socket.<init>(Socket.java:244)
        at com.cisco.ca.ss.lcm.adminshell.client.ShellClient.main(ShellClient.java:51)
Error occured: could not connect to the database server.
Please make sure mysql database server is up and running. 


This seems very similar to the issue posted at https://community.cisco.com/t5/smart-net-total-care-portal-and/unable-to-login-to-the-cli-of-cspc/td-p/2855959 except I'm on collector 2.7 and I don't want to risk installing that older patch on 2.7. Thanks
1 ACCEPTED SOLUTION

Accepted Solutions

EDIT

 

This issue has gone away and is no longer present. Please close this thread. Thanks for the assistance.

View solution in original post

5 REPLIES 5
jofrumki
Cisco Employee

The error you are seeing has no relation to the previous post. Do you have access to the Linux users 'collectorlogin' or 'root'?


@jofrumki wrote:
The error you are seeing has no relation to the previous post. Do you have access to the Linux users 'collectorlogin' or 'root'?

Yes, I have access to both.

please login as 'collectorlogin', then su to 'root'
from 'root' run the command;
service adminshell restart
and update with any changes

[root@USCSPC27 collectorlogin]# service adminshell restart
Stopping Adminshell server:                              [   OK   ]
Stopping Derby DB:                               [   OK   ]
Starting Derby DB:                               [   OK   ]
Starting Adminshell server:                              [   OK   ]
[root@USCSPC27 collectorlogin]# 

I was able to successfully restart adminshell, but I still see the same exact errors as in my original post when trying to login as admin.

EDIT

 

This issue has gone away and is no longer present. Please close this thread. Thanks for the assistance.

View solution in original post

Right-rail
Navigation
Be sure to bookmark these support pages and use them in the future to find all the self-help information.
Helpful Links