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

Community Helping Community

1158
Views
0
Helpful
8
Replies
Highlighted

LMS 4.0.1 software repository.

Hello,

I have a problem with LMS s/w backup procedure. It outputs the following error:

SWIM0036: Could not add this image to software repository.

Find attached the report output.

TIA, Nicos Nicolaides
Everyone's tags (6)
1 ACCEPTED SOLUTION

Accepted Solutions
Enthusiast

Re: LMS 4.0.1 software repository.

Hi,

Here are the relevent snippits from the log:

Importing the image c3560-ipservices-mz.122-35.SE5/c3560-ipservices-mz.122-35.SE5.bin from the device flash into the Software Repository.

Image will be copied to rep_sw_6057508630584624156 using RCP.

Copying c3560-ipservices-mz.122-35.SE5/c3560-ipservices-mz.122-35.SE5.bin from flash to rcp://lmsuser@10.10.2.10/C:/PROGRA~2/CSCOpx/temp/rep_sw_6057508630584624156

Failed to import the image c3560-ipservices-mz.122-35.SE5/c3560-ipservices-mz.122-35.SE5.bin from device.

See C:\PROGRA~2\CSCOpx\files\rme\jobs\swim\1137\3560-MUSK-SW2_telnet.log for the output from the device on which the image transfer failed.

Image will be copied to rep_sw_1985691603457112799 using TFTP.

Copying c3560-ipservices-mz.122-35.SE5/c3560-ipservices-mz.122-35.SE5.bin from flash to tftp://10.10.2.10/rep_sw_1985691603457112799

Successfully imported the image from device.

Total time for copying the image - 1 Minute 5 Seconds

[ Mon Jun 20  09:40:55 EEST 2011 ],ERROR,[SWIM:DistributionDriver],com.cisco.nm.rmeng.repository.common.FileManager,createFileGroup,767,Failed to create the dir C:\PROGRA~1\CSCOpx\files\rme\repository\swim\SYSTEM_SW

[ Mon Jun 20  09:40:55 EEST 2011 ],ERROR,[SWIM:DistributionDriver],com.cisco.nm.rmeng.repository.common.FileManager,addFile,1146,Unable to create the directory.

[ Mon Jun 20  09:40:55 EEST 2011 ],ERROR,[SWIM:DistributionDriver],com.cisco.nm.rmeng.repository.common.FileManager,addFile,1152,System Error: Unable to create the directory. Probable Cause: You do not have permission to create a directory at this location.Recommended Action: Ask your system administrator to check the directory permissions or use another directory location.


You need to ensure 'casuser' has full control over the entire ../CSCOpx/ directory.

Thanks

View solution in original post

8 REPLIES 8
Enthusiast

LMS 4.0.1 software repository.

Hi

Please post the contents of C:\PROGRA~2\CSCOpx\files\rme\jobs\swim\1057\.  Also what OS is LMS running on?  If it is Windows then have you disabled any anti-virus or host based firewall services as a test?  Do these devices have anything in common?

Thanks

Re: LMS 4.0.1 software repository.

Well, the folder is empty;

The OS is running on Windows 2008 Standard 64-bit with SP2.

There is no antivirus installed nor personal firewall and the ASA rule is permit ip any to LMS host.

I have also configured TFTP in the default inspection settings.

TIA, Nicos Nicolaides
Enthusiast

Re: LMS 4.0.1 software repository.

Hi,

Can you manually TFTP a file from the device to LMS?

Re: LMS 4.0.1 software repository.

Is this even possible with the TFTP server of LMS? Because it is giving me permission denied from the device.

TIA, Nicos Nicolaides
Enthusiast

Re: LMS 4.0.1 software repository.

Yes, TFTP should be listening.  To verify run 'netstat -anob' and look for tftp.

If there are no related event logs on the server perhaps you should grab a packet capture to identify what is really going on.

Thanks

Re: LMS 4.0.1 software repository.

Hi again,

I have managed to perform a s/w backup again with failure, but this time i have some logs in the folder.

Find it attached.

TIA, Nicos Nicolaides
Enthusiast

Re: LMS 4.0.1 software repository.

Hi,

Here are the relevent snippits from the log:

Importing the image c3560-ipservices-mz.122-35.SE5/c3560-ipservices-mz.122-35.SE5.bin from the device flash into the Software Repository.

Image will be copied to rep_sw_6057508630584624156 using RCP.

Copying c3560-ipservices-mz.122-35.SE5/c3560-ipservices-mz.122-35.SE5.bin from flash to rcp://lmsuser@10.10.2.10/C:/PROGRA~2/CSCOpx/temp/rep_sw_6057508630584624156

Failed to import the image c3560-ipservices-mz.122-35.SE5/c3560-ipservices-mz.122-35.SE5.bin from device.

See C:\PROGRA~2\CSCOpx\files\rme\jobs\swim\1137\3560-MUSK-SW2_telnet.log for the output from the device on which the image transfer failed.

Image will be copied to rep_sw_1985691603457112799 using TFTP.

Copying c3560-ipservices-mz.122-35.SE5/c3560-ipservices-mz.122-35.SE5.bin from flash to tftp://10.10.2.10/rep_sw_1985691603457112799

Successfully imported the image from device.

Total time for copying the image - 1 Minute 5 Seconds

[ Mon Jun 20  09:40:55 EEST 2011 ],ERROR,[SWIM:DistributionDriver],com.cisco.nm.rmeng.repository.common.FileManager,createFileGroup,767,Failed to create the dir C:\PROGRA~1\CSCOpx\files\rme\repository\swim\SYSTEM_SW

[ Mon Jun 20  09:40:55 EEST 2011 ],ERROR,[SWIM:DistributionDriver],com.cisco.nm.rmeng.repository.common.FileManager,addFile,1146,Unable to create the directory.

[ Mon Jun 20  09:40:55 EEST 2011 ],ERROR,[SWIM:DistributionDriver],com.cisco.nm.rmeng.repository.common.FileManager,addFile,1152,System Error: Unable to create the directory. Probable Cause: You do not have permission to create a directory at this location.Recommended Action: Ask your system administrator to check the directory permissions or use another directory location.


You need to ensure 'casuser' has full control over the entire ../CSCOpx/ directory.

Thanks

View solution in original post

LMS 4.0.1 software repository.

Yeap, this is the correct answer. Problem resolved!

TIA, Nicos Nicolaides
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards