niminv and rshd error


 
Thread Tools Search this Thread
Operating Systems AIX niminv and rshd error
# 1  
Old 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.
# 2  
Old 04-06-2011
Run lsnim against the nim client in question. What does the connect value equal?

Code:
lsnim -l nimclient

Is the nimsh daemon running on the nim client?
# 3  
Old 04-06-2011
lsnim -l shows "connect = nimsh" and nimsh daemon is running on the client
# 4  
Old 04-06-2011
Can you run
Code:
nimquery -a host=hostname -p

This should tell you if the nimsh communication is working.

I can duplicate your error if I have the connect set to shell and remove the nim master host info from the
Code:
/.rhosts

file on the client side. You might try entering the host info in the
Code:
/.rhosts

file to see if it works. Then if it does you'll know for some reason the nim master is not trying trying to use nimsh for communication.

I get completely different errors using nimsh on both sides so not sure what is up there. I know I am not helping much but just trying to throw some thoughts out there.

Last edited by juredd1; 04-06-2011 at 03:28 PM.. Reason: remove extra text
# 5  
Old 04-06-2011
thanks juredd1, any help much appreciated.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Print Error in Console and both Error & Output in Log file - UNIX

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

2. SCO

Rshd requests logging

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

3. Solaris

Rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)

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

4. AIX

rshd: 0826-813 Permission is denied.

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

5. UNIX for Dummies Questions & Answers

> 5 ")syntax error: operand expected (error token is " error

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

6. AIX

RSH intermittent error rshd: 0826-813 Permission is denied.

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

7. Programming

rshd control string

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

8. AIX

nim mksysb error :/usr/bin/savevg[33]: 1016,07: syntax error

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

9. UNIX for Dummies Questions & Answers

rshd vs. rexecd

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

10. UNIX for Dummies Questions & Answers

Error: Internal system error: Unable to initialize standard output file

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
Login or Register to Ask a Question