cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
330
Views
0
Helpful
4
Replies

Problem in backup..

mustafa.mail
Level 1
Level 1

Hi,

I am using NMS 2.0 on solaries 2.8. I am also using HP Open view on same system. when I am trying to backup the database through ciscoworks, It's gives me following error:

Backup to '/tmp/' started at: 2002/06/23 16:16:25

avail=4594824

Archiving the contents of the following directories into /tmp//0/cmf/filebackup.tar

/opt/CSCOpx/etc/users

/opt/CSCOpx/etc/cwsi/users

/opt/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet/cwpass

/opt/CSCOpx/etc/cwsi/ANIServer.properties

/opt/CSCOpx/etc/cwsi/anisnmp.conf

tar: /opt/CSCOpx/etc/users/test/user.preferences: Permission denied

tar: /opt/CSCOpx/etc/users/test/2.xml: Permission denied

tar: /opt/CSCOpx/etc/users/test/1298.xml: Permission denied

tar: /opt/CSCOpx/etc/users/test/1507.xml: Permission denied

tar: /opt/CSCOpx/etc/users/test/379.xml: Permission denied

tar: /opt/CSCOpx/etc/users/test/392.xml: Permission denied

tar: /opt/CSCOpx/etc/users/test/4.xml: Permission denied

ERROR(359): Cannot create or back up tar file. Backup cancelled. Verify that you have write-access to this directory.

Backup failed: 2002/06/23 16:16:25

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Also when I am trying to integrate this ciscoworks system with windows ciscoworks, It's also gives me the error that user doesn't have a sufficient rights.

I am not much familiar with solaries, so please help me to fixed these rights issues.

Thanks.

4 Replies 4

rmushtaq
Level 8
Level 8

The Error message above indicates that the target directory where you're trying to do the backup does not have the proper permissions. Make sure that you the read-write permisions on the target directory.

Hi,

I give the rights to all the user but sitll the same message came..

The error is due to the insufficient/incorrect permissions to the backup location/director and NOT with the users.

srkannan
Level 1
Level 1

you are using /tmp as the backup target directory. Make sure

1. 'casuser' has write permission to this directory.

2. make sure /tmp is not symbolically linked to /var/tmp

correct :

# cd /

# ls -l|grep tmp

drwxrwxrwx 13 root other 1422 Jun 26 16:11 tmp

incorrect:

lrwxrwxrwx 13 root other 1422 Jun 26 16:11 tmp -> /var/tmp

Getting Started

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: