[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1445.0. ""Error Starting DECterm Controller"" by USWS::FEIT (Andy Feit - U.S. Worksystems) Thu Sep 14 1989 20:20

The following note was posted in the Worksations Notes File.  Thought it belonged
here....

--------------------------------------------------------------------------------

Good morning,

	One of my customer has reported the following problem while
	using DECwindows. 

	1. Create the following command file WS1.COM

		$ Set Display/Create/node=WS1
		$ Spawn/nowait/input=NL: -
			Run sys$system:DECW$WINMGR
	
	2. Execute WS1.COM in a detached process with

		$ Run/detached sys$system:loginout -
			/input=WS1.COM -
			/Output=WS1.LOG


	3. When WS1.COM is executed in step2, the following
	   occurs on the Workstation:

	    a.	Session Manager is started.
	    b.	The Icon Box is created

	    c.	The log file (WS1.LOG) contains all the 
		commands and messages; including the following
		error message

		- SESSION MESSAGE: Error starting DECterm Controller
		  Invalid Logical name


	First, I would like to know the meaning of that message
	(If anyone knows).

	Second,	I would like to know where to get more information 
	on that kind of error messages generated by DECwindows and
	the Session Manager.
	The standard VMS & DW Doc. set don't seem to have much
	information on DECwindows management issues.

Thanks.
Francois Guillemette.

MQOP12::F_GUILLEMETT

T.RTitleUserPersonal
Name
DateLines
1445.1"Invalid logical name" means "DECW$TERM_PORT failed"HANNAH::MESSENGERBob MessengerThu Sep 14 1989 21:3237
Re: .0

>		- SESSION MESSAGE: Error starting DECterm Controller
>		  Invalid Logical name
>
>
>	First, I would like to know the meaning of that message
>	(If anyone knows).

My guess is that it's an error message returned by the DECW$TERM_PORT routine
that the session manager calls (in DECwindows V1.0) to create a DECterm window.
I think what could be happening is that the session manager starts the
DECterm controller, which exits because it can't open the display (because
something is wrong with DECW$DISPLAY, perhaps).  Then the session manager
calls DECW$TERM_PORT, which tries to translate a logical name that is
normally created by the DECterm controller (DECW$DECTERM_MAILBOX_node::0.0,
where "node" is your node name).  Since the DECterm controller never got
fully started the logical name doesn't exist and DECW$TERM_PORT encounters
the "invalid logical name" system error code.  DECW$TERM_PORT return with
this condition code, and the session manager reports the corresponding
system message in its log file.

What I don't understand about WS1.COM is: why does the session manager
start up when you run WS1.COM?

>	Second,	I would like to know where to get more information 
>	on that kind of error messages generated by DECwindows and
>	the Session Manager.

The status codes that can be returned by DECW$TERM_PORT aren't documented
anywhere (you could look up "invalid logical name" in the System Messages
manual, but the description wouldn't tell you what you wanted to know).  If
DECW$TERM_PORT encouters an error it simply returns with that error code.
We'll have to improve that in a future version.

				-- Bob