cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
776
Views
0
Helpful
4
Replies

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

bryan.perina
Level 1
Level 1

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

Supriya Patel
Cisco Employee
Cisco Employee

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

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

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

 

 

 

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: