cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1181
Views
0
Helpful
3
Replies

LMS 2.6 - Internal Server Error

promina
Level 1
Level 1

Hi,

After having installed LMS 2.6 I have attempted to check if there are any device updates and am experiencing an error stating

HTTP Status 500 - Internal Server Error

From Common Services->Software Center->Device Update I then select any one of the available packages and then click on 'Check for Updates' and then receive an error stating:

javax.servlet.ServletException: Servlet execution threw an exception

with the cause being:

java.lang.NoSuchFieldError: downloadDirectory

Does anyone know of which Download directory this may be referring to and where it may need to be created?

Cheers,

Grant

3 Replies 3

Joe Clarke
Cisco Employee
Cisco Employee

I have seen one other instance of this occurring, and it points to a bad installation. Unfortunately, the current recommendation is to completely reinstall LMS. However, if you want to try and fix this tactically, you will need to edit NMSROOT/lib/classpath/com/cisco/nm/xms/psu/conf/psu.properties. The file should look something like (at least on Solaris):

#Psu properties

#Sat Dec 06 11:19:14 GMT+05:00 2003

PsuProperties=/opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/psu.properties

unknownSysObjIdDb=/opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/deviceDB

remoteDir=/opt/CSCOpx/temp/psuinstall

destLocation=/tmp/psu

lockFile=/opt/CSCOpx/www/classpath/com/cisco/nm/xms/psu

PsuDownloadLock=/opt/CSCOpx/Psu.Lock

LogProperties=/opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/log4j-psu.properties

historyDB=/opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/historyDB

adapterDirectory=/opt/CSCOpx/www/classpath/com/cisco/nm/xms/psu/adapters

register=/opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/tag.properties

tempStagingDirectory=/opt/CSCOpx/temp/psu

tempInstallDownloadDir=/opt/CSCOpx/temp/psuinstall

packageRepDirectory=/opt/CSCOpx/www/classpath/com/cisco/nm/xms/psu/pkgs

JobDB=/opt/CSCOpx/lib/classpath/com/cisco/nm/xms/psu/conf/JobDB

cvinfoFile=cvinfo

readmeDirectory=/opt/CSCOpx/htdocs/psu

downloadDirectory=/opt/psu_download

However, even if you do fix this, there may be other things wrong with the install. A better idea would be to reinstall from scratch.

I have reinstalled the software and still get exactly the same problem.

Did you completely wipe out the old install including entries in the contents file (by running clean_system.sh)??