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

Community Helping Community

166
Views
0
Helpful
4
Replies
Beginner

Problem in backup..

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
Collaborator

Re: Problem in backup..

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.

Highlighted
Beginner

Re: Problem in backup..

Hi,

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

Collaborator

Re: Problem in backup..

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

Beginner

Re: Problem in backup..

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

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here