06-23-2002 08:13 PM - edited 03-01-2019 10:22 PM
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.
06-24-2002 08:24 AM
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.
06-24-2002 11:55 PM
Hi,
I give the rights to all the user but sitll the same message came..
06-26-2002 01:48 PM
The error is due to the insufficient/incorrect permissions to the backup location/director and NOT with the users.
06-26-2002 03:38 PM
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
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: