06-09-2011 06:03 AM
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.
Solved! Go to Solution.
06-20-2011 05:46 AM
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
06-11-2011 11:25 AM
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
06-14-2011 06:42 AM
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.
06-15-2011 10:29 AM
Hi,
Can you manually TFTP a file from the device to LMS?
06-17-2011 02:30 AM
Is this even possible with the TFTP server of LMS? Because it is giving me permission denied from the device.
06-17-2011 06:28 AM
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
06-19-2011 11:53 PM
06-20-2011 05:46 AM
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
06-22-2011 04:52 AM
Yeap, this is the correct answer. Problem resolved!
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: