I'm hoping you can help ?.
I was looking for info on how to configure up the AS400 to allow it to run remote commands on our AIX servers.
Let me explain the problem
I have it sucessfully running on 2 as400's no problem . Problem - Running runrmtcmd from AS400 v5.1 to AIX 4.3.3
However when I to run a remote command on the AS400 (see below)
cmd to run . .> RUNRMTCMD CMD('df -k >/mer.txt') RMTLOCNAME(
FF_MIS_SRV_02 *IP) RMTUSER(ROOT) RMTPWD(password22)
ie I want to run the command df -k >/mer.txt on AIX server FF_MIS_SRV_02
The AS400 log not the QPJOBLOG but a QSYSPRT job log indicated an error with the login.
rexecd: 0826-604 The login is not correct.
This is definetly correct
I'm 100 % ceratin the problem is an AIX issue :
From the AIX side of things I've the following
I have the AS400 machine IP address defined correctly to the /etc/host file on AIX
on the /etc/netscv.conf file
hosts=local
On the /etc/inted.conf file I've added
exec stream tcp6 nowait root /usr/sbin/rexecd rexecd -c
and done a refresh of inetd subsystem on AIX ie refresh -s inetd
If you can help or have a document on this maybe you can help with some pointers
Thanks
Gerry
I was looking for info on how to configure up the AS400 to allow it to run remote commands on our AIX servers.
Let me explain the problem
I have it sucessfully running on 2 as400's no problem . Problem - Running runrmtcmd from AS400 v5.1 to AIX 4.3.3
However when I to run a remote command on the AS400 (see below)
cmd to run . .> RUNRMTCMD CMD('df -k >/mer.txt') RMTLOCNAME(
FF_MIS_SRV_02 *IP) RMTUSER(ROOT) RMTPWD(password22)
ie I want to run the command df -k >/mer.txt on AIX server FF_MIS_SRV_02
The AS400 log not the QPJOBLOG but a QSYSPRT job log indicated an error with the login.
rexecd: 0826-604 The login is not correct.
This is definetly correct
I'm 100 % ceratin the problem is an AIX issue :
From the AIX side of things I've the following
I have the AS400 machine IP address defined correctly to the /etc/host file on AIX
on the /etc/netscv.conf file
hosts=local
On the /etc/inted.conf file I've added
exec stream tcp6 nowait root /usr/sbin/rexecd rexecd -c
and done a refresh of inetd subsystem on AIX ie refresh -s inetd
If you can help or have a document on this maybe you can help with some pointers
Thanks
Gerry