ITEM: AY5300L
sbserver: no permission to execute /usr/sbin/setbs
Env:
AIX 4.1 and AIX 3.2
Sysback 3.3.2.12 through 3.3.2.17 are effected
Desc:
Trying to remotely restore from a full system backup and got this
message: sbserver: no permission to execute /usr/sbin/setbs
The customer gets the same message when he tries to verify or
list files on the tape, he gets the same error from the command line.
Customer can do the backup fine and read the volume label fine.
Also the customer can read the tapes locally. The file /usr/sbin/setbs
and /usr/sbin/setbs.sh have the correct permissions as well.
Action:
The problem is that the fully qualified path /usr/sbin/setbs
is not in listed in /usr/lpp/sysback/.remote_commands.
This can be fixed one of two ways,
1. Add the fully qualified path to .remote_commands,
So add a /usr/sbin/setbs line in the .remote_commands file
making sure to leave the 'setbs' entry as well.
2. Edit /usr/sbin/sysrestore and change '/usr/sbin/setbs'
to 'setbs'
(preferred method)
At 3.3.2.17, the line to edit is line 262 of /usr/sbin/sysrestore:
Change line 262 from /usr/sbin/setbs to setbs
CHANGE
-------
261 errmsg="" \# Only show errors from setbs command
262 runcommand "/usr/sbin/setbs $NO_BS_CHANGE -f $firstdev \\
263 -s >/dev/null" "$errmsg" $hostname
TO
--
261 errmsg="" \# Only show errors from setbs command
262 runcommand "setbs $NO_BS_CHANGE -f $firstdev \\
263 -s >/dev/null" "$errmsg" $hostname
That corrected the problem
Next Action:
Fix added to sysback 3.3.2.18
Support Line: sbserver: no permission to execute /usr/sbin/setbs ITEM: AY5300L
Dated: April 1996 Category: N/A
This HTML file was generated 99/06/24~13:30:24
Comments or suggestions?
Contact us