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.

323
Views
0
Helpful
4
Replies
Beginner

Upgrade to 2.7.4.2 failed - GUI functional, able to log into Unix CLI, admin CLI database / Java error

Upgrade to version 2.7.4.2 failed.

 

Able to log into the GUI and all seems operational in regards to inventory and upload processes.

 

I am able to login as user collectorlogion/root to the Unix portion of the CLI.

 

I am unable to log into the admin shell portion of the CLI. I receive the following error -

 

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.

 

I have attempted re-installs through the root user but with no success.

 

Any help would be greatly appreciated.

 

Thank you

4 REPLIES 4
Cisco Employee

Re: Upgrade to 2.7.4.2 failed - GUI functional, able to log into Unix CLI, admin CLI database / Java error

Hi User,

 

What is the current version of collector?

Please provide log from /opt/cisco/ss/adminshell/logs/* from root before and after below service restart.

From root user, please try 'service adminshell restart' and wait for couple of min before you login back to user 'admin'. Please do let me know if issue persist.

 

Thanks,

Supriya

Beginner

Re: Upgrade to 2.7.4.2 failed - GUI functional, able to log into Unix CLI, admin CLI database / Java error

What is the current version of collector?

2.7.3

Please provide log from /opt/cisco/ss/adminshell/logs/* from root before and after below service restart.

I seem to be getting a "permission denied" error when I log in as the root user, but for some reason am able to run the output for the "apply" but not "install" or the asterisk.

This is both before and after restarting the admin shell service succesfully.

[root@cspc logs]# /opt/LCM/logs/*
bash: /opt/LCM/logs/apply: Permission denied

[root@cspc logs]# tail -n 20 /opt/LCM/logs/apply
[Fri May 25 16:21:25 UTC 2018] Install script for "Hardened CentOS" returned success
[Fri May 25 16:21:25 UTC 2018] Executing install script for "LCM"
[Fri May 25 16:21:43 UTC 2018] Executed install script for "LCM"
[Fri May 25 16:21:44 UTC 2018] Install script for "LCM" returned success
[Fri May 25 16:21:44 UTC 2018] Executing install script for "AdminShell"
[Fri May 25 16:27:55 UTC 2018] Executed install script for "AdminShell"
[Fri May 25 16:27:57 UTC 2018] Install script for "AdminShell" returned success
[Fri May 25 16:27:58 UTC 2018] Executing install script for "ConcsoTgw"
[Fri May 25 16:28:46 UTC 2018] Executed install script for "ConcsoTgw"
[Fri May 25 16:28:51 UTC 2018] Install script for "ConcsoTgw" returned success
[Fri May 25 16:28:52 UTC 2018] Executing install script for "CASP"
[Fri May 25 16:28:54 UTC 2018] Executed install script for "CASP"
[Fri May 25 16:28:54 UTC 2018] Install script for "CASP" returned success
[Fri May 25 16:28:55 UTC 2018] Calling Procedure
[Fri May 25 16:28:57 UTC 2018] Calling updator.sh
[Fri May 25 16:28:59 UTC 2018] End of Script Execution
[Fri May 25 16:28:59 UTC 2018] End of Procedure
[Fri May 25 16:28:59 UTC 2018] Executing post-install scripts
[Fri May 25 16:29:54 UTC 2018] Executed post-install scripts
[Fri May 25 16:29:54 UTC 2018] Installation of software package of type "JeOS" completed successfully

[root@cspc logs]# /opt/LCM/logs/install
bash: /opt/LCM/logs/install: Permission denied


Thank you again

Cisco Employee

Re: Upgrade to 2.7.4.2 failed - GUI functional, able to log into Unix CLI, admin CLI database / Java error

Hi Bryan,

 

Are you able to login after restart of adminshell?

 

I requested below log:

Please login to user root and zip all files from given folder and grab it from GUI

 

root # cd /opt/cisco/ss/adminshell/logs/

root # ls -l
root # zip -r adminloginissue.zip /opt/cisco/ss/adminshell/logs/
root # cp adminloginissue.zip $CSPCHOME/logs


Please login to GUI -> click on administration tab -> then export log file and sent it to me.


Thanks,
Supriya

 

 

 

Beginner

Re: Upgrade to 2.7.4.2 failed - GUI functional, able to log into Unix CLI, admin CLI database / Java error

I am still unable to log into the admin shell after the service restart - or a reboot.

 

I sent an email with the requested log file.

 

Thank you again for your assistance,

Bryan

CreatePlease to create content
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