The WindX utility program, *WindX.utl vis SSH

Started by JimGwynn, February 09, 2020, 01:01:33 PM

Previous topic - Next topic

JimGwynn

We are attempting to spawn a new wdx session using
CALL "*WindX.utl;Spawn","/pxplus/STARTUP"

This works without error when client is connected via telnet
But when connecting using SSH we get the following error

1}CALL "*WindX.utl;Spawn","/pxplus/STARTUP"
Error #13: File access mode invalid
Current program is /pxplus/lib/_windx.utl, line 5150

Any ideas what we are doing wrong?




Mike King

Generally the spawn requires setting %pxplus_host so the system knows how to spawn the new process since it cannot directly sign the spawn user process onto the system.

What is your setting for %pxplus_host$?
Mike King
President - BBSysco Consulting - http://www.bbsysco.com
eMail: mike.king@bbsysco.com


Mike King

You need to set it.

To issue a spawn the system needs to have an open port that can be used to connect and start the process.

When using SSH you would set %pxplus_host$ to something like:

*servername;port

Where


  • servername Contains the name or IP address of your server as seen by the workstation.
  • port Contains port number to use.  This port will need to opened on your server to allow external connections from the workstations.

See https://manual.pvxplus.com/page/windx/windxutl.htm for additional details.


Mike King
President - BBSysco Consulting - http://www.bbsysco.com
eMail: mike.king@bbsysco.com