UNSOLVED

mohnkern1

updated

17 years ago

M

mohnkern1

3 Posts

0

1333

July 21st, 2009 08:00

nwrecover on RHEL 5 stopped working

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.

Any solution to this problem?
  • dpinink_silva

    2 Intern

    •

    724 Posts

    548

    0

    Posted July 21st, 2009 09:00

    30022:nwrecover: Encountered fatal error: Object "%s" does not have windowed ancestor


    Nwrecover is the NetWorker graphical recover interface, do you have an X Windows
    application installed? If not, you'll have to run "recover" command.
  • mohnkern1

    3 Posts

    548

    0

    Posted July 21st, 2009 09:00

    Yes, x server is running, and confirmed by being able to run firefox.

    (We're sshing into the box)
  • mohnkern1

    3 Posts

    548

    0

    Posted July 21st, 2009 11:00

    Additional information --

    EMC had me de install and reinstall the rpm's, to no effect.

    However --


    networker -s {servername} eliminated the problem. Not a good solution, but a start.
  • amediratta

    2 Intern

    •

    2014 Posts

    548

    0

    Posted July 21st, 2009 19:00

    Is it networker -s OR nwrecover -s? We would generally use nwrecover -s if it is not able to find the backup server.
  • benzino1

    2 Intern

    •

    244 Posts

    548

    0

    Posted July 22nd, 2009 03:00

    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
  • vsemaska

    194 Posts

    548

    0

    Posted July 22nd, 2009 06:00

    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.
  • jasonlee1

    10 Posts

    548

    0

    Posted July 22nd, 2009 11:00

    May need to export your display in addition to having your X-window app open.

    export DISPLAY=xx.xx.xx.xx:0.0 (where xx.xx is your local machine's ip)
  • MarcRichman

    1 Message

    548

    0

    Posted July 27th, 2009 11:00

    I am also seeing this problem. The only thing that works for me is the -s flag.
    Setting the DISPLAY variable to :0.0 makes no difference.

    nwrecover version 7.5.1 build 269
    RHEL5.3 x86_64
  • Fr_d_ric

    1 Message

    548

    0

    Posted January 15th, 2010 04:00

    Hello,

    Try to make a file  /nsr/res/servers whith the backup server name in it.

    Cheers

    Fred