smora1

updated

20 years ago

S

smora1

253 Posts

0

795

June 23rd, 2006 04:00

Error 'save: getcwd failed'

Hello all,

When we run the following command on AIX system:

/usr/bin/save -s legato -b XCAM DATAFILES -l 0 -e 2 weeks -f /dev/nsr.CORONA8_directiva /dev

the output shows save: getcwd failed if we run it as user oracle. If we run it as root, theres isn't problem:

usr/bin/save -s legato -b XCAM DATAFILES -l 0 -e 2 weeks -f /dev/nsr.CORONA8_directiva /dev
/dev/rCORONA8admini01
/dev/rCORONA8_system
/dev/rCORONA8_roll
/dev/rCORONA8_temp
/dev/rCORONA8_datos
/dev/rCORONA8_credo1
/dev/rCORONA8_credo2
/dev/rCORONA8_credo3
/dev/rCORONA8_redo1
/dev/rCORONA8_redo2
/dev/rCORONA8_redo3
/dev/
/

save: /dev level=full, 2752 MB 00:01:59 13 files


The directive file contains:
<>
+skip: * .?*
rawasm: rCORONA8*

Could be a permissions issue on /dev?

Thanks in advanced
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    425

    0

    Posted June 23rd, 2006 04:00

    It looks like permission issue - whenever I would get that error it was some kind of permission issue involved. For/dev you should use root for backup.
  • smora1

    253 Posts

    425

    0

    Posted June 23rd, 2006 04:00

    What is the reason which for /dev backup we should use root?
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    425

    1

    Posted June 23rd, 2006 05:00

    It is part of system which is specific thus requiring special access rights (root) to be used.