HELP! MFG/Pro failes to run under HP-UX 11.0!! (related to device: /dev/tty, pts)

XtremeMaster

New Member
HELP! HELP!! HELP!!!

The MFG/Pro (PROGESS version 7) runs perfectly under OS HP-UX 10.02.
After we upgrade the OS to 11.0, the MFG/Pro fails to be run from terminal client connection. Instead, it is ok for the console login.
Here we found that the there is no problem of the MFG/Pro with device files used in OS HP-UX 10.02 is under /dev/tty's, while the problem exists in HP-UX 11.0 with device file changed to /dev/pts's. It seems MFG/Pro cannot the output to /dev/pts's, but only output to /dev/tty's.

We have consulted HP in the view of OS level, the reply is the device file: /dev/pts's cannot be modifed to do the /dev/tty's under 11.x. The operation of the device file: /dev/pts's is an intrinsic part of Telnet in OS 11.x architecture and cannot be changed. And, we got a advice we should modify the MFG/Pro application to obtain the tels device from the tty(1) command and then output to that device, or simple read() and write() to "/dev/tty" as this will pick up the relevant /dev/pts/t* device on 11.x.

Can anybody here adivce how/where the application, MFG/pro opening the device? and what we can do/change on the MFG/Pro application so that it can write the /dev/pts's on HP-UX 11x???


THANKS SO MUCH!!!!!!!!!!!!!!!!!!!

peace.
 

cecsno

Member
First things first, can you run a single user Progress session? If you can not, you may be able to do a probuild and build new executables. Your way out of the support arena with Version 7. If you can run a single user Progress session, the next question is do you have full MFG/PRO source code, although the only code that I know of that specifcally looks at /dev/tty is when it checking on batch processing and should not effect running of MFG/PRO.

What version of MFG/PRO?
 

XtremeMaster

New Member
cecson, firstly, thanks very much for replying my post.
THANKS!!

Umm..
I don't understand much on running in single user PROGRESS session.
I can just tell If i am using 'console' login, everything works (seems all functions can under /mfgpro/dlc73d/bin can be executed, PROGRESS editor can be accessed, and most important, PROGRESS database and MFG/Pro can be accessed and operated)

But while I login the system through TELNET connection using like 'window telnet/Reflection', PROGRESS and MFG/Pro cannot be operated. I can only work in unix shell. PROGESS editior and of course the PROGRESS database cannot be accessed.

And, I think we have the full MFG/PRO source code. Can you tell me the code (of the file name *.p) that you know of that specifcally looks at /dev/tty ?? Maybe it affects running the MFG/Pro.

And, MFG/Pro version we are using is 7.4G 03
PROGRESS database version is 7.3D




I am looking forward your reply, buddy.

Thanks!!!

peace
 

Attachments

  • MFG_ver.JPG
    MFG_ver.JPG
    25.9 KB · Views: 41
  • progress_ver.JPG
    progress_ver.JPG
    31.3 KB · Views: 36

cecsno

Member
Hi,

The source code I looked at was eB and would not be related to your problem, if you go to the MFG/PRO src directory and grep for "/dev" you should be able to get a list.

First login via Telnet and enter /mfgpro/dlc73d/bin/_progres and see what happens.
 

XtremeMaster

New Member
again, cecsno,
Really thanks for the reply.

Umm..MFG/Pro eB version? It a very new version compared to ours. lol

I have tried to execute the _progres and the result is,
"msgOpen: unable to open message file: PROMSGS".

Anyway, I am sure it is just an error out of our problem. Its because the same error exists under HP-UX 10.02.

Anyway, can you advice what we can do?? We do believe this is a kind of problem related to '/dev/tty's, and /dev/pts's ' as we have consulted HP. They did have an even exactly the same cause of ours around 3 years ago. The MFG/Pro should be taken some kinds of modification to fit the device under HP-UX 11.x. HP is still asking the HP engineer who working with client's MFG/Pro support team on such case at that time.

We are still waiting for their result.

Anyway, can you help asking other PROGRESS,MFG/Pro experts in such issue?

Thanks a lot.

peace.
 

Attachments

  • _progres.JPG
    _progres.JPG
    44.5 KB · Views: 20

XtremeMaster

New Member
OH! cecsno, I missed pointing out one important thing (an error message displayed on the screen)

Anyway, I just did set the path of DLC.

And after I execute the _progres, there is an error message displayed.
"Redirection or piping of stdin or stdout is allowed only with -b. (156)"

*THIS ERROR MESSAGE IS what I missed to point out. It always display while excuting some functions.

When I try to open the PROGRESS editor, this error displayed.
When I try to access the database, this error displayed.
(of course there is no problem of startup/shutdown the database)
and etc.


PS: Aiya.. Sorry buddy, I don't have VPN. I do want to let you access the server but I can't. ;(
 

Attachments

  • _progres2.JPG
    _progres2.JPG
    33.8 KB · Views: 34

cecsno

Member
Will here's the problem, the solution is to get the latest version 7 from Progress, or to relink the _progress executable using the probuild utility. Not exactly the same problem but requires the same solution.


Problems with 7.3D and rlogin on HP-UX 10.20
What problem does this notebook entry address?

You cannot run PROGRESS 7.3D interactively on HP-UX 10.20 in an rlogin

session. If you wish to run 7.3D on HP-UX 10.20 from a remote login,

you must use telnet. This is a known issue which is going to be fixed

in a patch as of December 13 and will also be fixed in future releases

on HP-UX. This is not a problem on HP-UX 10.01 or 10.10.

What error will occur?

If you attempt to run an interactive PROGRESS session from an rlogin

session using 7.3D on HP-UX 10.20, you will receive the following

error.

Redirection or piping of stdin or stdout is allowed only with -b.

(156)

Why does this occur?

The PROGRESS 7.3D port on HP-UX was linked statically. This means

we included static libraries in the build of the executables. One of

these libraries, libc.a, includes a routine ttyname() that we call in

our c code to determine information about the tty device, The 7.3D

release was built on HP-UX 9.0. What we do with the ttyname() call is

not compatible with HP-UX 10.20.

If you compare a telnet and rlogin session on HP-UX 10.20, you will

see that the telnet session gets a real tty device, tty#, while the

rlogin gets a pseudo tty, pts#. This is the incompatibility.

NOTE: As of December, 1996 there is a patch available (7.3D09) which

resolves this issue. You may order this patch by contacting your

sales representative or calling (781) 280-4218.

Note also that this issue is resolved beginning with Progress Commer-

cial release 7.3E.

Progress Software Technical Support Note # 16400

 

XtremeMaster

New Member
OH!!! cecsno!!!!!! Seems you have got what I wanted.
And, maybe let me check the information you posted in detailed.

You are really my man. buddy.

Thanks a lot!!!!!!!!!!!!!!!!!!!

The time is now 20:30, I think i have to leave. I am so hungry now.. LOL..

Again, thanks for the help! I will get back you if there is any news on the issue.
THANKS!
 

cecsno

Member
20:30, I take it that your not hanging in the Eastern Standard Time zone. :) Wester Australia maybe?

Good Luck.

XtremeMaster said:
OH!!! cecsno!!!!!! Seems you have got what I wanted.
And, maybe let me check the information you posted in detailed.

You are really my man. buddy.

Thanks a lot!!!!!!!!!!!!!!!!!!!

The time is now 20:30, I think i have to leave. I am so hungry now.. LOL..

Again, thanks for the help! I will get back you if there is any news on the issue.
THANKS!
 

XtremeMaster

New Member
Yo.. I am back.

Umm.. I have checked it.
It seems that I did search a similar information somewhere before. (is it PROGRESS online doc.?)

And, I know that there is a patch to solve such issue.
But, unfortunately, that patch is not available anymore as I know. (is it?)

Or, do you know where I can download that patch in Internet? lol
Or, any advice?? LOL
 

cecsno

Member
US, Ohio 07:40

Don't know where you can get the patch if Progress can't get it for you. You might post on this list to see if anyone has a 7.3D09 or higher patch. You might also check around your site / machine to see if there is a patch that was not applied.

If all that fails, you will need to go to the $DLC/probuild directory and start reading up on how to relink the executable. Also there should be some black and red Progress manuals around with some more info. If you are a C programmer or know one close by that would be a help.

(Indonisia, Thailand, ???)
 

XtremeMaster

New Member
oh.. Ohio.. I see.
You woke up so early..

I really have to leave. I am really tired and wanna have a BIG dinner.

Anyway, thanks for the MFG/Pro assistance, buddy.
Kindly appreciate if you can consult others for my case.

And, nice talk with you. cecsno. ;)
 
Top