04-06-2011
niminv and rshd error
I am trying to run niminv on my nim master to collect info from my nim clients.
: / -> niminv -o invcon -a targets=<nimclient> -a location=/tmp/inventory
rshd: 0826-813 Permission is denied.
geninv: 0645-007 ATTENTION: gi_nim_standalone() returned an unexpected result.
Return Status: FAILURE
WARNING: Could not gather inventory for ******. Skipping.
There are no valid targets to run the operation.
niminv 0645-007 ATTENTION: i_invget() returned an unexpected result.
niminv 0645-007 ATTENTION: i_invcon() returned an unexpected result.
niminv 0645-007 ATTENTION: i_driver() returned an unexpected result.
Return Status: FAILURE
I dont want to use rshd as the communication. I have set the master and clients to use nimsh. Why am I getting rshd error? Does niminv only use rshd?
Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey guys, need some help. Running AIX Version 5.2 and one of our cron jobs is writing errors to a log file. Any ideas on the following error message.
Error: Internal system error: Unable to initialize standard output file
I'm guessing more info might be needed, so let me know.
Thanks (2 Replies)
Discussion started by: firkus
2 Replies
2. UNIX for Dummies Questions & Answers
Sun 5.8
Though I'd like to be using SSH, my client refuses to do so. So, I'm forced to use rsh/rexec for remote commands. My question is....when running a remote command via "rsh hostname <command>", do I need to have rexecd running, or just rshd on the remote server?
Thanks in advance for... (1 Reply)
Discussion started by: jalburger
1 Replies
3. AIX
--------------------------------------------------------------------------------
Hello, help me please.
I am trying to create a mksysb bakup using nim. I am geting this error, how to correct it ? :
Command : failed stdout: yes stderr: no... (9 Replies)
Discussion started by: astjen
9 Replies
4. Programming
My host environment is Linux and SCO systems talking to a remote SCO box. Authentication has been configured, I can do rcmd or rsh between the systems. I am trying to use rsh facility of remote unix box and I don't want to use system call to rsh or rcmd. Instead, I am trying to open 514 port... (3 Replies)
Discussion started by: migurus
3 Replies
5. AIX
I am getting an error from one node in a set with RSH setup between them, node one will connect to node two every other time (consistently), however node to connects to node one every time without problem. Here is what I am seeing, makes no sense to me. Can anyone help?
sbhcprdb01<root>: rsh... (6 Replies)
Discussion started by: JodyTek
6 Replies
6. UNIX for Dummies Questions & Answers
im kinda new to shell scripting so i need some help
i try to run this script and get the error code
> 5 ")syntax error: operand expected (error token is "
the code for the script is
#!/bin/sh
#
# script to see if the given value is correct
#
# Define errors
ER_AF=86 # Var is... (4 Replies)
Discussion started by: metal005
4 Replies
7. AIX
Guy's
I have two servers .. server1 and server2
I have configured the rshd and started the rshd demean in both servers by the below command .
startsrc -t shell
lssrc -t shell
Service Command Description Status
shell /usr/sbin/rshd rshd ... (4 Replies)
Discussion started by: Mr.AIX
4 Replies
8. Solaris
I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet.
... (2 Replies)
Discussion started by: christr
2 Replies
9. SCO
I would like to log requests to rshd on OSR 5.0.7, hopefully it is possible.
Requests are coming from client Windows PCs, it all works most of the time, but few PCs are not able to do it.
I am not sure where to start - do I tweak syslog.conf? Any pointers would be appreciated. (4 Replies)
Discussion started by: migurus
4 Replies
10. UNIX for Beginners Questions & Answers
I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error.
#! /bin/sh
errExit ()
{
errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies
LEARN ABOUT DEBIAN
in.rshd
RSHD(8) BSD System Manager's Manual RSHD(8)
NAME
rshd -- remote shell server
SYNOPSIS
rshd [-aiklnvxPL] [-p port]
DESCRIPTION
rshd is the server for the rsh(1) program. It provides an authenticated remote command execution service. Supported options are:
-n, --no-keepalive
Disables keep-alive messages. Keep-alives are packets sent at certain intervals to make sure that the client is still there, even
when it doesn't send any data.
-k, --kerberos
Assume that clients connecting to this server will use some form of Kerberos authentication. See the EXAMPLES section for a sample
inetd.conf(5) configuration.
-x, --encrypt
For Kerberos 4 this means that the connections are encrypted. Kerberos 5 can negotiate encryption even without this option, but if
it's present rshd will deny unencrypted connections. This option implies -k.
-v, --vacuous
If the connecting client does not use any Kerberised authentication, print a message that complains about this fact, and exit. This
is helpful if you want to move away from old port-based authentication.
-P When using the AFS filesystem, users' authentication tokens are put in something called a PAG (Process Authentication Group). Multi-
ple processes can share a PAG, but normally each login session has its own PAG. This option disables the setpag() call, so all tokens
will be put in the default (uid-based) PAG, making it possible to share tokens between sessions. This is only useful in peculiar
environments, such as some batch systems.
-i, --no-inetd
The -i option will cause rshd to create a socket, instead of assuming that its stdin came from inetd(8). This is mostly useful for
debugging.
-p port, --port=port
Port to use with -i.
-a This flag is for backwards compatibility only.
-L This flag enables logging of connections to syslogd(8). This option is always on in this implementation.
FILES
/etc/hosts.equiv
~/.rhosts
EXAMPLES
The following can be used to enable Kerberised rsh in inetd.cond(5), while disabling non-Kerberised connections:
shell stream tcp nowait root /usr/libexec/rshd rshd -v
kshell stream tcp nowait root /usr/libexec/rshd rshd -k
ekshell stream tcp nowait root /usr/libexec/rshd rshd -kx
SEE ALSO
rsh(1), iruserok(3)
HISTORY
The rshd command appeared in 4.2BSD.
AUTHORS
This implementation of rshd was written as part of the Heimdal Kerberos 5 implementation.
HEIMDAL
November 22, 2002 HEIMDAL