We went to run nwrecover on an RHEL 5 box and received the following error after selecting the Server:
# nwrecover
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
30022:nwrecover: Encountered fatal error: Object "%s" does not have windowed ancestor
Exiting
We tried running this as non root, and received the same error.
You are sshing from box A to box B (with RHEL 5 and NW installed on it)? Then you are trying to run nwrecover command through ssh session? If this is the scenario try to do this: 1. On box A allow connection to the X server: xhost + 2. ssh from A to B with the following options: ssh -X -Y user@boxB nwrecover
Have you tried logging onto the console of the RHEL 5 and NW installed and running nwrecover from there? If it works then you'll know for sure that it has something to do with X11 & ssh.
I just did test restores on a couple of RHEL 5.3 running NW 7.4.4 by logging on remotely via ssh and they worked for me.
dpinink_silva
2 Intern
•
724 Posts
548
0
Posted July 21st, 2009 09:00
Nwrecover is the NetWorker graphical recover interface, do you have an X Windows
application installed? If not, you'll have to run "recover" command.