[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

537.0. "decterm dies with decw$login.com contents" by CSC32::G_JOHNSON (Just a nickle's worth of dreams) Tue Apr 04 1989 18:38

    Hi,
    
    	Here is yeat another LAVc problem.  This time symptoms are as
    follows.  Guy has a 10MB local booting off of either a 750, 8810
    or 6xxx something or other over a server.  He has his set up such
    that it brings up two decterms and a file view.  Fine.
    
    	Now, if he creates a decw$login.com that does a
    spwn/nowait/input=nl: run sys$system:decw$clock, and decw$mail,
    then the fire works begin.  After loggin in, he gets a message that
    there is a duplicate process name.  Checking the session manager
    log, we find that the decterm controller starts and stops repeatedly,
    finally stopping fatally, unable to restart, leaving him w/o a decterm,
    and the file view dies with an error message which is, I believe,
    unless I transposed the numbers, 3AB8204.  The two apps, however,
    come up just fine.
    
    	So, what connection is there between the spawning of the two
    apps in decw$login.com and the horrible death of decterm and fileview?
    
    	Should we be looking at UAF params, or sysgen or gblpages, or
    what?  Any ideas most greatfully accepted!
    
    Thanks in advance!
    
    Greg...

T.RTitleUserPersonal
Name
DateLines
537.1GBLPAGES and/or GBLSECTIONS running low?ROBOT::ENDSLEYMJ Endsley, SWS @ St. LouisWed Apr 05 1989 11:2420
    Greg, here's a shot in the dark...

    We ran into this exact behavior when we exhausted GBLPAGES --
    applications would run, but no DECterm or FileView.  The culprit was a
    system manager-type who installed a product without updating the
    appropriate SYSGEN parameters -- when the system rebooted, we ran out
    of "stuff" by the time DECwindows was started.  We discovered that the
    specific cause of the problem was that one of the X/DECw RTL's couldn't
    be INSTALL'ed. 

    If this is really the culprit, you should be able to do an INSTALL LIST
    /GLOBAL /SUMMARY -- if the number of free pages is low (say ~1500 or
    less), try bumping it up and see if that clears up the problem.

    Check on GBLSECTIONS too...


    Mike Endsley
    SWS @ STO

537.2That did it!CSC32::G_JOHNSONJust a nickle's worth of dreamsWed Apr 05 1989 12:236
    That was it.  He did an autogen over nite, and in the process, it
    significantly increased both gblpages and sections.  Now, all works
    well.  Thanks for the hint!
    
    Greg...

537.3Where is DECW$LOGIN.COM invoked?38077::LEMONSAnd we thank you for your support.Mon May 15 1989 14:295
Where is DECW$login.COM invoked?  I searched SYS$MANAGER:DECW*.COM, without
success?

tl

537.4informed guess4356::PORTERdig this, cats!Mon May 15 1989 14:426
DECW$LOGIN.COM is run during startup of the session manager process.
I imagine that the mechanism is very similar to the one that gets
LOGIN.COM and SYLOGIN.COM executed under different circumstances -- i.e.,
it's set up by LOGINOUT and you therefore won't find any visible
references in ".COM" files.

537.5PSW::WINALSKIPaul S. WinalskiMon May 15 1989 17:505
Put DECW$LOGIN.COM in your SYS$LOGIN: directory, and the session manager will
find it and invoke it when you start a session.

--PSW

537.6Undocumented feature?FRAGLE::WIEGLEBScore: Flag 1 - America 0Wed Jul 19 1989 10:5512
    Where is DECW$LOGIN.COM documented?  I've looked high and low through
    all of the Tables of Contents and Indices of the "Using DECwindows"
    manuals and can find no reference to this stuff.  This seems like the
    most likely place it should be documented.
    
    If it is documented in there, how do I suggest to the documentation 
    writers that the references should be much easier to find?  
    
    Thanks much.
    
    - Dave

537.7What context does it run in?KETJE::GHYOOTMeetings are our most useless productTue Sep 05 1989 07:0711
	Hi,

	Here's another question on the fuzzy DECW$LOGIN.COM; when I
DEFINE/JOB a logical name in DECW$LOGIN.COM, and try to reuse that logical name
in the regular LOGIN.COM, it just doesn't exist anymore. On the other hand, any
logical DECW$DISPLAY defined in DECW$LOGIN seems to be available for later
references - what's going on exactly, there???

	Thanks for help,
	/Jean-Michel

537.8MOVIES::LESLIEFat was then - thinner is nowTue Sep 05 1989 07:358
    SYS$LOGIN:DECW$LOGIN.COM only gets run if you are logging in via
    DECWindows. If your LOGIN.COM expects the logical name to always be
    defined, it will be disapointed if you are logging in over the LAT.
    
    Could this be your problem?
    
    Andy

537.9%BRAIN-W-WASNOTCLEAR, Sorry, previous note wasn't clear enoughKETJE::GHYOOTMeetings are our most useless productTue Sep 05 1989 07:5832
	Sorry, my reply wasn't that clear, I'm afraid.

	I know DECW$LOGIN.COM gets activated ONLY when you log in on a
DECwindows station. Trouble is, even then whatever is defined in that command
file isn't passed to LOGIN.COM...!

	What I wanna do, actually, is automatically have the environment be 
checked:, something like:
	if this_is_regular_lat_session
	  then
	    fool around with colors
	  else
	    keep clear from colors
	endif

	This is because when I log in through LAT on a VT, it happens to be on
an ALL-in_1 engine, where I want to modify the color setup (in LOGIN.COM); on
my workstation, I don't want LOGIN.COM to change anything, and skip that section
of the code instead.

	'Thought the easiest way was to define a logical name in DECW$LOGIN.COM,
(define/job WINDOW_MODE YES), and check for the existence of the logical in the
LOGIN.COM - doesn't work!

	But then, I can't understand how the logical DECW$DISPLAY manages to
get into the logical name tables...

	Does this make sense, or not?
	Regards,
	/JM
		

537.10MOVIES::LESLIEFat was then - thinner is nowTue Sep 05 1989 09:545
    Hmm. This always works for me. Are you sure DECW$LOGIN is being run? If
    so, do you do a DEASS/ALL or somesuch in your LOGIN?
    
    A

537.11Either or (and not but?)KALKIN::BUTENHOFBetter Living Through Concurrency!Tue Sep 05 1989 10:3316
The Session Manager runs DECW$LOGIN.COM, but not LOGIN.COM

An interactive process running under a DECterm (etc.) runs LOGIN.COM but not
DECW$LOGIN.COM.  It runs in a DIFFERENT JOB from the Session Manager... it won't
share process or job logical names (it will share group and system names).  The
DECW$DISPLAY logical is explicitly COPIED between job name tables, behind your
back (if you change one, it won't affect the other: which is usually what you
want).

If you really need a non-group shared name table, create your own.  It's easy
and it's powerful (unfortunately, it also requires privs). Or else figure
out a different way to communicate between DECW$LOGIN.COM and LOGIN.COM (like
perhaps marker files in SYS$LOGIN?)

	/dave

537.12I got the pointKETJE::GHYOOTMeetings are our most useless productTue Sep 05 1989 11:148
	Thanks Dave; that's exactly what I wanted to know.

	In case someone else ever happens to browse thru this topic, I solved
my specific problem with a F$GETJPI("","TERMINAL"); sounds like the Columbus
egg, isn't is?

	/JM

537.13a word to the wise about AUTOGEN!!!SUBWAY::RAYMANBIG LouuuuuuuuuuuuWed Jan 31 1990 12:3627
re .1

>    We ran into this exact behavior when we exhausted GBLPAGES --
>    applications would run, but no DECterm or FileView.  The culprit was a
>    system manager-type who installed a product without updating the
>    appropriate SYSGEN parameters -- when the system rebooted, we ran out
>    of "stuff" by the time DECwindows was started.  We discovered that the
>    specific cause of the problem was that one of the X/DECw RTL's couldn't
>    be INSTALL'ed. 

& .2

>>  That was it.  He did an autogen over nite, and in the process, it
>>    significantly increased both gblpages and sections.  Now, all works
>>    well.  Thanks for the hint!

I had a similar problem when adding a new workstation to a cluster.

The automatic AUOTGEN did not create enough GBLPAGES or GBLPAGFIL's to run 
decwindows.  after logging in to the workstation, just the icon window would
come up.  all the other processes would die with the same mysterious 3AB8204
status.

again, bumping GBLPAGES and GBLPAGFIL solved the problem

						:-)
						Lou