home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13576 < prev    next >
Encoding:
Text File  |  1993-01-21  |  4.9 KB  |  116 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!eagle!galaxy.lerc.nasa.gov!hubler
  3. From: hubler@galaxy.lerc.nasa.gov (Dale Hubler)
  4. Subject: SUMMARY - 2 srcmstrs on console-less systems
  5. Message-ID: <1993Jan21.124726.25063@eagle.lerc.nasa.gov>
  6. Sender: news@eagle.lerc.nasa.gov
  7. Nntp-Posting-Host: galaxy.lerc.nasa.gov
  8. Organization: NASA Lewis Research Center
  9. Date: Thu, 21 Jan 1993 12:47:26 GMT
  10. Lines: 104
  11.  
  12. In article <1992Nov30.185636.14597@eagle.lerc.nasa.gov>
  13. hubler@galaxy.lerc.nasa.gov (Dale Hubler) writes:
  14.  
  15. >We are scratching our heads here over a problem we have on systems
  16. >that have no console, or have an async terminal as the console,
  17. >but not attached or turned off.  The first symptom we see is that
  18. >we get a second srcmstr running.  But the second srcmstr is pretty
  19. >worthless as we can't use the stop/startsrc commands, refresh
  20. >inetd, etc.  So if you boot the machine without a console, srcmstr
  21. >gets hosed and qdaemon won't start, among other problems.  Buying
  22. >consoles for everything is not a solution so does anybody know
  23. >another way to fix this?  
  24.  
  25. I got replies from the following and must also make profuse
  26. apologies to two - someone who sent a reply about a simple wrap plug they
  27. used to fool the system into thinking something was attached.  I
  28. thought the solution clever, but regrettably lost the article,  -
  29. duh!.... I also didn't note the first person that sent me the ptf
  30. # to apply for the official software fix, they had also experienced
  31. this.  I followed their advice, requested and installed the patch, 
  32. and the problem is gone.
  33.  
  34. hubert@rs530.ncs.mainz.ibm.com (Bernhard Zeller/131000)
  35. losburn@teal.csn.org (Lynn Osburn)
  36. marc@watson.ibm.com (Marc Auslander)
  37. Mark S. Gallion    Bell Communications Research
  38. jocox@ks.austin.ibm.com   (James O. Cox)
  39.  
  40. I almost immediately was provided the update number.  U403042.  I
  41. requested and applied it immediately before I got some of the other
  42. replies.  A couple of replies mentioned setting the clocal 
  43. attribute for the appropriate tty.  This would have been an
  44. acceptable solution for us had we not applied the patch so quickly.
  45.  
  46. >From: hubert@rs530.ncs.mainz.ibm.com (Bernhard Zeller/131000)
  47. >(also from others but this was the most succinct)
  48. >
  49. >Just do:
  50. >
  51. >    smit chgtty
  52. >
  53. >and add the keyword 'clocal' in following lines:
  54. >
  55. >   STTY attributes for RUN TIME
  56. >   STTY attributes for LOGIN
  57.  
  58.  
  59. There was also a suggestion to use the chcons command and redirect
  60. console output to a file.  This would work on some, but not our,
  61. situations.  We do have a couple of async terminals we move about
  62. and use.  Furthermore, we have a 32 port async adapter and are
  63. going to control most the systems concerned from one console.  It
  64. will usually be there, but not always.  So we needed the solution
  65. to work for both instances.   
  66.  
  67. The most thorough explanation came from Jim Cox via my posing the
  68. same question to him at the AIX Technical Exchange in December. 
  69. Thanks Jim.  His reply is included from here down.  My chatter
  70. ends.
  71.  
  72. Thanks for all the help
  73. Dale Hubler
  74.  
  75.  
  76.  
  77. From  jocox@ks.austin.ibm.com    
  78.  
  79. Here are the news items from Internet that I was talking about this
  80. morning.  I talked to the developer and asked about this problem.
  81. Actually the problem is that srcmstr is in the processing of
  82. spawning the child process which will remain active as the daemon
  83. process. When that process starts and attempts to open the console,
  84. it is getting blocked and will not complete. The main process is
  85. waiting on death of child. That is why it appears that there are 
  86. two processes running. 
  87.  
  88. Given that scenario, it looks to me like the workaround mentioned
  89. below will work for your environment without changing the srcmstr
  90. program. Setting clocal will cause the open to succeed without DTR
  91. being set on the console and srcmstr should start successfully.
  92. From reading the defect abstract, it appears that the problem is
  93. officially fixed in U403042. You will need to reboot the machine
  94. after installing this fix for it to take effect. I got the source
  95. file that changed and it appears to me that they fixed the problem.
  96. The fix was on two levels. 1) Then changed the open to use
  97. O_NODELAY. 2) They added an alarm timeout that will break out if
  98. the open if the first fails. If you are still having problem with
  99. the fix, the workaround should let you work ok. However, please let
  100. someone know if the fix didn't fix your problem. 
  101.  
  102. Regards Jim 
  103.  
  104.  
  105.   Disclamer: These comments are my opinion and not necessaril
  106.              the opinion of the IBM Corporation             
  107.   James O. Cox, AIX System Architecture, AWSD, IBM Corporation
  108.   Internet: jocox@ks.austin.ibm.com    Phone:    (512) 838-3328 
  109.   Ausnet:   jim@jocox                  Tie-line: 678-3328
  110.   VNET:     JOCOX at AUSTIN            FAX     : (512) 838-348
  111.  
  112.  
  113. --
  114. Dale A. Hubler  (216) 977-7014   hubler@lerc.nasa.gov
  115. For each and every low-tech problem there exists a high-tech solution
  116.