HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Error while doing a remote execution in OpenVMS IA64

 
SOLVED
Go to solution

Error while doing a remote execution in OpenVMS IA64

i have been trying to perform a remote execution of a server application running in OpenVMS IA64 V8.2-1 from the same application client running in Windows XP.

But whenever i tried to connect to this VMS machine remotely, the rexec facility(used in client) pops up with an error "Bad Address Definition". its my application that is throwing this error.it shows the bad address as "10.xx.xxx.xxx/2040"(port number specified)

For performing this remote execution, it need to have a proxy enabled in the UCX for the client windows machine.i have created this by doing the following:
$ucx
TCPIP>add proxy vms-username/REMOTE_USER="MYuserName" /HOST=MYhostName

These information are needed for the remote execution.

hostname:
username:
password:
command to invoke the application:
TCP/IP Port Number:(default value is 2040)
Server Start Timeout:(default value is 60)

i don't know why its showing this as a bad address. i doubt whether this port number has something to do with this error or whether i made some mistake in defining the proxy in TCP/IP.

Appreciate if anyone could comment on this.

Manesh
12 REPLIES
Wim Van den Wyngaert
Honored Contributor

Re: Error while doing a remote execution in OpenVMS IA64

If you have a proxy, why do you need to specify a password ?

Try to do a tcptrace/fu to find what communication takes place.
Try tpo use a * in the host part of the proxy setup.

Wim
Wim
Jan van den Ende
Honored Contributor

Re: Error while doing a remote execution in OpenVMS IA64

Manesh,

to start with:

WELCOME to the VMS Forum!

The first thing to check is the resolving of MyhostName (DNS or local host table).

What does
$ UCX ping MyhostName
give?

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
Wim Van den Wyngaert
Honored Contributor

Re: Error while doing a remote execution in OpenVMS IA64

Rexec is known to give bad address for
"System detected an address which was not valid while attempting to access the address parameters.".

What did you exactly specify ?

Wim
Wim

Re: Error while doing a remote execution in OpenVMS IA64


Wim,

Thanks for ur reply.

My application client asks for the username/passwd.

This is what i did to create the Proxy.

>add proxy shodgin/remote_user="msasanka"/host=10.60.254.190
(this is the ip of my workstation).

exact information specified:
hostname: 10.60.255.37
username: shodgin
password: ********
command to invoke the application: RS1
TCP/IP Port Number:2040
Server Start Timeout:60

JPE,

Thanks for ur reply.

$UCX ping 10.60.254.190

gives 4 packets transmitted & 4 packet received.

Thanks
/Manesh

Daniel Fernandez Illan
Trusted Contributor
Solution

Re: Error while doing a remote execution in OpenVMS IA64

Hi Manesh

HP recommends that you define host names and aliases to use proxy facilities.

You need define "MYuserName" on TCP/ip services
using:
TCPIP>set host "MYuserName"/addres=your_ip/alias=MYuserName

Saludos.
Daniel.

Re: Error while doing a remote execution in OpenVMS IA64

Hi Daniel,

Thanks a ton for ur reply.

It worked. i defined my hostname & then added the proxy entry with my hostname. and guess what, my application client is able to connect to the server.

Thanks a lot. :-)
Wim Van den Wyngaert
Honored Contributor

Re: Error while doing a remote execution in OpenVMS IA64

Daniel,

I hope you mean MYhostName ?

Manesh,

How did you define the proxy if you didn't set up MYhostName ?

Wim
Wim

Re: Error while doing a remote execution in OpenVMS IA64

i defined the hostname first & then set up the proxy .like this.

tcpip> set host xxxx/address=10.60.254.190/alias=xxxx

tcpip> add proxy shodgin/remote_node="xyxy"/host=xxx

thanks to all..

:-)

Re: Error while doing a remote execution in OpenVMS IA64

i defined the hostname first & then set up the proxy .like this.

tcpip> set host xxxx/address=10.60.254.190/alias=xxxx

tcpip> add proxy shodgin/remote_node="xyxy"/host=xxxx

thanks to all..

:-)
Jan van den Ende
Honored Contributor

Re: Error while doing a remote execution in OpenVMS IA64

Manesh,

how to say thanks, see

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.

Re: Error while doing a remote execution in OpenVMS IA64

yes i have found solution & i have assigned marks to everyone who helped me.
Daniel Fernandez Illan
Trusted Contributor

Re: Error while doing a remote execution in OpenVMS IA64

Thanks Win
It is a mistake from me. Sorry (copy/paste is not a fun utility).

Saludos.
Daniel.