After installed copssh (with the same cygwin1.dll version of ciscoworks), I had a restore backup problem, as explained in the restorebackup.log in attachment.
Now I have uninstalled the copssh software and I had erase all entry in the register key.
The restorebackup procedure give me this error:
ERROR: lib\classpath\com\cisco\nm\cmf\servlet\cwpass NOT present. Cannot find NMSROOT in archive
ERROR: Unable to delete directory C:\PROGRA~1\CSCOpx\tempBackupData in deleteDirectory()
Anybody know if I have to clean something else?
Any helps would be appreciate!
It was a corrupted DB.
I reinit all DB and now it running again.
Before copssh it was runnig correctly.
After install copssh, maybe the backup procedure didn't work propertly. The backuo use some cygwin1.dll command, right?
I need to syncronize the DB of two CSM 3.1 server.
How I can use the cw ssh services and the other CW cygwin tools, like tar and gzip in a a batch file?
Is it possible?
The backup uses tar.exe which is linked to cygwin1.dll. If there is another cygwin1.dll or Cygwin mount registry keys set, this will interfere with the backup.
You cannot use other Cygwin apps on the same server as LMS. We have a few bugs opened on this, but there has been no resolution yet. If you need an SSH client/server, you will need to find one that does not use Cygwin. As far as a client goes, PuTTY is safe. I'm not sure on the server side, though.
we are running into the same issue with cygwin. LMs 3.0 and cygwin in the same server. During the restore process we got the same errors as you postet in your log file! Could you solved the problems? Is there any solution for this issue?
the copssh, replace the CW cygwin1.dll with another into the CW server.
The CW tar.exe program, need to use the CW cygwin1.dll, then I had corrupted the backup files.
You have to unistall the copssh, and reinit the DB (all data will be lost).
Cygwin problems should NEVER require any databases to be reinitialized. We just recommend one uninstalls all other Cygwin apps from the system, then the backup/restore will work as expected. The good news is we have removed Cygwin in LMS 3.1, so this should not longer be a problem.