1825161 Members
2307 Online
109679 Solutions
New Discussion юеВ

rexec problems

 
SOLVED
Go to solution
Todd McDaniel_1
Honored Contributor

rexec problems

My users are tryin to rexec files from a MVS environment. They are getting an error on the rexec portion but not on the ftp portion.

any thoughts? Loot at the last few lines... for the error.

=============================================
220 pht021a.pedc.sbc.com FTP server (Version wu-2.6.2(2) Fri Dec 3 11:31:22 CST
EZA1459I NAME (pht021a.pedc.sbc.com:MC7549):
EZA1701I >>> USER ordering
331 Enter PASSCODE at the Password: prompt.
EZA1789I PASSWORD:
EZA1701I >>> PASS
230 User ordering logged in.
EZA1460I Command:
EZA1736I PUT 'THH0B.CS.HHGFU.FTP' /indata/ordering/HHX46/CS/hhgfu.dat
EZA1701I >>> SITE FIXrecfm 396 LRECL=396 RECFM=F BLKSIZE=396
500 'SITE FIXRECFM 396 LRECL=396 RECFM=F BLKSIZE=396': command not understood.
EZA1701I >>> PORT 144,154,23,22,42,185
200 PORT command successful.
EZA1701I >>> STOR /indata/ordering/HHX46/CS/hhgfu.dat
150 Opening ASCII mode data connection for /indata/ordering/HHX46/CS/hhgfu.dat.
226 Transfer complete.
EZA1617I 1794980 bytes transferred in 6.450 seconds. Transfer rate 278.29 Kbytes
EZA1460I Command:
EZA1736I QUIT
EZA1701I >>> QUIT
221 Goodbye.
READY
rexec -l ordering -p order! pht021a.pedc.sbc.com /apps/ordering/v4/ksh/bin/rename_hhgfu_swbt CS
READY
END
EZA4801I MVS TCP/IP REXEC CS V1R6
rexecd: Password Expired
EZA4810E The call to rexec_af() function failed:
EZA4744I Foreign host aborted the connection.
============================================
Unix, the other white meat.
8 REPLIES 8
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: rexec problems

from your error output it looks like the password of the user is expired but it is not detected by ftp.

Can you reset the user password and try again ?

is this a nis user or just a local user ?

Regards,
Robert-Jan
Todd McDaniel_1
Honored Contributor

Re: rexec problems

the destination is a local user... with a non-expiring password.

I suggested they change it nevertheless to be sure.
Unix, the other white meat.
Arunvijai_4
Honored Contributor

Re: rexec problems

Hi,

Problem is here,

READY
END
EZA4801I MVS TCP/IP REXEC CS V1R6
rexecd: Password Expired
EZA4810E The call to rexec_af() function failed:
EZA4744I Foreign host aborted the connection.

Check the password is not expired and correct.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Todd McDaniel_1
Honored Contributor

Re: rexec problems

what is that call to rexec_af doing?
Unix, the other white meat.
Dave La Mar
Honored Contributor

Re: rexec problems

Todd -
If according to the output, the MVS system is attempting the rexec, then I take the error message to mean the password for the MVS user has expired on the remote box.

I.E. The problem is a password expiration on the machine MVS is loggin into, for the given user.

Best of luck.

Regards,

-dl
"I'm not dumb. I just have a command of thoroughly useless information."
Arunvijai_4
Honored Contributor

Re: rexec problems

Hello,

The rexec() routine performs the necessary tasks to arrange for the remote execution of cmd on the remote host *ahost as user, who is authenticated with passwd.

http://docs.hp.com/en/B2355-60127/rexec.3N.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Todd McDaniel_1
Honored Contributor

Re: rexec problems

thanks all.

The culprit was an expiring password on the unix side. I had thought it was set to non-expiring type. I changed the password and it worked.
Unix, the other white meat.
Sathishbabu M
New Member

Re: rexec problems

Hi,

I got an error in REXEC in the same fashion

EZA4801I MVS TCP/IP REXEC CS V1R9
EZA4775I Calling function rexec_af with the following:
Host: shi004edwp01.SHDC.CHRYSLER.COM user: dboprsru cmd: hardcode/scripts/IM
Getaddrinfo successful
Getaddrinfo successful
EZA4810E The call to rexec_af() function failed:
EDC8128I Connection refused. rsn = 76630291
EZA4744I Foreign host aborted the connection.

But I have checked the password, it is not expired.

EZA4801I MVS TCP/IP REXEC CS V1R9 (its R9 not R6)
please help me to understand the error