LMS 3.0.1 Backup failed

Unanswered Question
Mar 10th, 2009
User Badges:

Dear All,


I have an issue with LMS backup.

Each time, I have this message :


Backup failed on 2009/3/9 at 23:30:36. REASON: Cannot create or back up tar file.Backup cancelled.

Verify that you have write-access to this directory.


What is really interresting, when all Databases are purged with dbRestoreOrig.pl, Backup seems to be working properly because the folder named "0" was created.

After this first occurence, the backup fails each time.


In attachment log file extract


For information all versions installed :


LMS 3.0.1

Product Name Version With Patch Level

CiscoWorks Common Services 3.1.1

Campus Manager 5.0.4

CiscoView 6.1.7

CiscoWorks Assistant 1.0.1

Device Fault Manager 3.0.4

Internetwork Performance Monitor 4.0.1

Integration Utility 1.7.1

LMS Portal 1.0.1

Resource Manager Essentials 4.1.1


Thanks in advance for your help.



Attachment: 
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Tue, 03/10/2009 - 10:35
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

This is bad. It appears that your Campus Manager installation is damaged. Can you verify that these missing files exist? If not, then you will have to reinstall Campus Manager.

yabilteryst Fri, 03/13/2009 - 09:07
User Badges:

I just reinstalled CM 5.0.4, CM is working properly but when I launch a immediate backup, there is the same error.


At the same time, I check security on the servers, Causers and adm group have a full access on the campus directory.

Martin Ermel Fri, 03/13/2009 - 10:18
User Badges:
  • Blue, 1500 points or more

what is the permission set on 'D:/lms_backup'?

casuser needs full permission on this directory

Joe Clarke Fri, 03/13/2009 - 11:30
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

I'm betting you're seeing a known bug. Do you have the registry key:


HKEY_LOCAL_MACHINE/Software/Cygnus Solutions/Cygwin

yabilteryst Mon, 03/16/2009 - 02:55
User Badges:

Yes, we have.

For info, we are using Cygwin sshd et inetd for our backup system.



Joe Clarke Mon, 03/16/2009 - 09:28
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

This is the problem. You are seeing known bug CSCsc69299:


Symptom:

1) Automatic backup will fail while upgrading from CS3.0 to CS3.0.3.

2) Normal backup will not create the tar archive with the backup files. It will throw the error like,

"Cannot stat: No such file or directory"


Conditions:

The cause might be either of,

1) Third-party OpenSSH for Windows installed on the server.

The cause for this issue is the cygiconv-2.dll and cygwin1.dll are required for the OpenSSH as well. Since the third party DLLs are loaded into memory during startup, the tar cannot load it's own version of DLLs while creating tar archive.


2) The cygwin software installed on the server.


Workaround:

1) Uninstall the third-party Open SSH for Windows and continue upgrade (or backup).


2) Remove the mapping of "/" mount point from the windows registry. (Take a backup of registry before doing this)

The cygnus mount points are at:

HKEY_LOCAL_MACHINE/Software/Cygnus Solutions/Cygwin/mounts v2

and

HKEY_CURRENT_USER/Software/Cygnus Solutions/Cygwin/mounts v2


Comments

This bug is fixed in LMS 3.1 (CS 3.2).

Actions

This Discussion