Rainer
12th July 2004, 09:17
Hi
After migration of data and programms to a new server the message "trying to open a pty ....... FATAL ERROR: PTY error: "Can't open pty" (e=0)" appears after starting bshell or starting view mode of any script. These messages appear also with login root.
Baan 4c4
unix with bisam
any hints are very welcome. Thanks
Rainer
Steve Johnson
12th July 2004, 20:46
Old Baan info solution #337 contains:
1. The user has the wrong porting set. The user should upgrade the porting set
to the most recent version (>= 6.1b.02).
2. All the defined pty's are in use. It is necessary to rebuild the system
kernel:
Kernel parameter <MAXPTY> should be > 2 * MAXUSERS.
(Note: <MAXPTY> is the kernel parameter for the maximum number of
pty's. This parameter is different for each Unix-version. See Unix
manual for the exact parameter.)
If this doesn't work, then another possibility is to increase the kernel
parameter <MAXUSERS>.
3. Not enough pty's have been defined. In some Unix versions the number of pty's
is dynamically increased by rebuilding the kernel. In other versions the user
should define more pty's. See Unix manual for how to create more pty's.
4. Permissions for a pty-device are not correct. Look for /dev/pty* and/or
/dev/pts/*. The permissions for the pty-devices should be crw-rw-rw-
(chmod 666, read and write for everyone).
5. $BSE/lib/ipc_info contains wrong information. Look for a line that contains
something like:
bshell s 0 0 p ${BSE}/lib/bshell6.1
The fifth column must contain 'p' for pipes. If it doesn't, change it.
:)
Rainer
13th July 2004, 09:37
Thanks a lot Steve
Regards, Rainer