Phindows "Connection 19 Error"

Can anyone tell me under what possible conditions a phindows session will
return a “connection 19” error upon attempting to make a remote connection
to a Photon machine? I believe one of the causes is that there may not be
enough licenses installed on the server side to support the client
connection. But are there any other reasons that a “connection 19” problem
may arise?


Peter Korderas
Service & Support Supervisor
CriSys Ltd
905-474-9111 ext 24
pkorderas@crisys.com

Have you set phrelay ok on the server ?

Hi Peter,

In your posting you don’t say whether your using QNX 4 or QNX 6 now from the
knowledge base here are some reasons as to why you would get the Connection
19 error for QNX 4…

Issue 1: Phindows server failing with “Connection Error 19”

Error 19 is ENODEV, which means phrelay was unable to connect to or create a
Photon session. This can have various meanings:

  1. There are not enough Photon licenses on the QNX node.
  2. You may have run out of memory, or processes, or sessions – check
    the output of sin, and adjust the appropriate resource in your boot image.
  3. You may have run out of Pseudo Terminals (PTY’s). To increase the
    number of pty’s, add the -n option to Dev.pty. There is a maximum of 16
    ptys’ for each Dev.pty. Each connection will take 1 pty. If you need more
    then 16 connections, you can start mutliple instances of Dev.pty. Simply add
    the -l option to Dev.pty: Dev.pty -l c -n16 &

Now if you are using QNX 6 you could still be running out of pty’s…a way
to test to see if this could be the case is to try to connect to an existing
photon session on the system…try the following ( this is for either QNX4
or QNX6)…

phindows -t X.X.X.X -n/dev/photon

where the X.X.X.X is the ip address of the system your remotely connecting
to and /dev/photon should be the existing photon session running on the
remote system. If this works then the problem most likely is that it can’t
create a new photon session.

Let me know if this helps.
Regards
Brenda

“Peter Korderas” <pkorderas@crisys.com> wrote in message
news:brqj3q$46i$1@inn.qnx.com

Can anyone tell me under what possible conditions a phindows session will
return a “connection 19” error upon attempting to make a remote connection
to a Photon machine? I believe one of the causes is that there may not be
enough licenses installed on the server side to support the client
connection. But are there any other reasons that a “connection 19” problem
may arise?


Peter Korderas
Service & Support Supervisor
CriSys Ltd
905-474-9111 ext 24
pkorderas@crisys.com
\