Operating System - HP-UX
1834768 Members
3201 Online
110070 Solutions
New Discussion

Error adding a client for recovery:

 
SOLVED
Go to solution
dictum9
Super Advisor

Error adding a client for recovery:



Any idea what this means?
latest version of Ignite on Ita 11.31 server.


WARNING: Warning: untrusted X11 forwarding setup failed: xauth key data not
generatedWarning: No xauth data; using fake authentication data for
X11 forwarding.ERROR: "a2opv:/var/opt/ignite/depots/recovery_cmds":
You do not have permission for this operation. The depot
owner, system administrator, or alternate root owner may need
to use the "swreg" or "swacl" command to give you permission.
Or, to manage applications designed and packaged for
nonprivileged mode, see the "run_as_superuser" option in the
"sd" man page.WARNING: More information may be found in the daemon
logfile on this target (default location is
a2opv:/var/adm/sw/swagentd.log).
15 REPLIES 15
Steven E. Protter
Exalted Contributor
Solution

Re: Error adding a client for recovery:

Shalom,

translation: run the command as root

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
dictum9
Super Advisor

Re: Error adding a client for recovery:

It is run as root.

Avinash20
Honored Contributor

Re: Error adding a client for recovery:

# swagentd -r

>> Then add again
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
dictum9
Super Advisor

Re: Error adding a client for recovery:

No help, the same error results.
Avinash20
Honored Contributor

Re: Error adding a client for recovery:

Please post the output of

var/adm/sw/swagentd.log

From a2opv

Also check if you are having /etc/nsswitch.conf file

If not,

# cp /etc/nsswitch.files /etc/nsswitch.conf
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
dictum9
Super Advisor

Re: Error adding a client for recovery:

tail -f /var/adm/sw/swagentd.log

ERROR: Access denied to root@a2nnmi.hns.com to start agent on
unregistered depot "/var/opt/ignite/depots/recovery_cmds". No
(i)nsert permission on host. 03/09/09 11:49:26 EDT
Avinash20
Honored Contributor

Re: Error adding a client for recovery:

Are the following command given

# swlist

Also did you
cp /etc/nsswitch.files /etc/nsswitch.conf

Also check if the host file is having

/etc/hosts

127.0.0.1 localhost loopback
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
dictum9
Super Advisor

Re: Error adding a client for recovery:

I think I begin to understand what went wrong - I have no problems adding other clients, but have issues with this one client, which I previously tried to boot via network. I cannot add this one specific client.
Avinash20
Honored Contributor

Re: Error adding a client for recovery:

"I think I begin to understand what went wrong"

Did you find the issue ?? Or does the issue still persist..
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
dictum9
Super Advisor

Re: Error adding a client for recovery:


Nope, still the problem exists. I cannot add this one specific client. Others I can. This one I cannot add was tried to boot off the Ignite server via network. Something remains on it that prevents it being added as a client.
Avinash20
Honored Contributor

Re: Error adding a client for recovery:

Is it possible for you to post last 100 lines of /var/adm/sw/swagentd.log
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Error adding a client for recovery:

Its a strange issue while adding the client via Ignite

Could you post the output of

# nslookup
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Error adding a client for recovery:

Please have a check on this.

http://docs.hp.com/en/IUX/faq.html#11-18

11-18 Why am I getting this message: Warning: untrusted X11 forwarding setup failed?
A: If you try to initiate a recovery session on a client from the Ignite-UX server GUI and you see the following warning:
Warning: untrusted X11 forwarding setup failed: xauth key data not
generatedWarning: No xauth data; using fake authentication data for
X11 forwarding.check the setting of the "ForwardX11Trusted" variable in /opt/ssh/etc/ssh_config on the server. If it is "no," try setting it to "yes."


"Light travels faster than sound. That's why some people appear bright until you hear them speak."
dictum9
Super Advisor

Re: Error adding a client for recovery:

nslookup is fine.

I used remsh and it omitted the X11 error.

The only thing in swagentd.log file is this:


ERROR: Access denied to root@a2nnmi.hns.com to start agent on
unregistered depot "/var/opt/ignite/depots/recovery_cmds". No
(i)nsert permission on host. 03/09/09 14:27:54 EDT


dictum9
Super Advisor

Re: Error adding a client for recovery:

swagentd -r
hasn't helped.

I did register the depot and now got this error:

ERROR: ERROR: Could not apply the software selection "IUX-Recovery"; it is
not available from depot or root
"a2opv:/var/opt/ignite/depots/recovery_cmds".ERROR: No software has
been selected.ERROR: Cannot continue the "swinstall" task.