home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sun / admin / 9797 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  50.5 KB

  1. Xref: sparky comp.sys.sun.admin:9797 news.answers:4765
  2. Newsgroups: comp.sys.sun.admin,news.answers
  3. Path: sparky!uunet!spool.mu.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cs.indiana.edu!babbage.ece.uc.edu!thor.ece.uc.edu!montjoy
  4. From: montjoy@thor.ece.uc.edu (Rob Montjoy)
  5. Subject: FAQ: Sun Computer Administration Frequently Asked Questions
  6. Status: RO
  7. Message-ID: <comp-sys-sun-admin_725673375@babbage.ece.uc.edu>
  8. Followup-To: poster
  9. Summary: Answers to questions which appear in comp.sys.sun.*
  10. Originator: montjoy@thor.ece.uc.edu
  11. Keywords: Sun Computer Admin FAQ
  12. Sender: montjoy@thor.ece.uc.edu (Rob Montjoy)
  13. Nntp-Posting-Host: thor.ece.uc.edu
  14. Organization: University of Cincinnati
  15. Date: Tue, 29 Dec 1992 23:56:26 GMT
  16. Approved: news-answers-request@MIT.Edu
  17. Expires: Tue, 26 Jan 1993 23:56:15 GMT
  18. Lines: 1354
  19.  
  20. Archive-name: comp-sys-sun-faq
  21. Last-modified: 1992/11/5
  22. Version: 1.0
  23.  
  24. Frequently Asked Questions for Comp.sys.sun.admin
  25.  
  26. Last update Nov 5 1992
  27.  
  28. This is collection of common questions posted to the comp.sys.sun.*
  29. hierarchy.
  30.  
  31. Please send corrections or submissions to "Rob.Montjoy@UC.EDU". Mark
  32. the Subject as Sun FAQ.
  33.  
  34.  
  35. Note: As of this writing almost all of these questions apply
  36.       to SunOS versions up to 4.1.3. SunOS 5.0 questions
  37.       will start appearing gradually as more people start
  38.       installing SunOS 5.0(Solaris 2.0). 
  39.  
  40.  
  41.                 Questions
  42.  
  43.  1)     How to get DNS working when not running NIS ?
  44.  2)     How to get DNS to be used when running NIS ?
  45.  3)    How to properly setup NFS mounting of /var/spool/mail ?
  46.  4)     Can I use AnswerBook under X11R5?
  47.  5)     What does "NFS write error X" mean?
  48.  6)    How do I find the amount of memory installed or other
  49.  7)     Where can I get a version of ftp that does logging?
  50.  8)     Where can one get SunOS patches? Where can I get patch 100xxx-xx?
  51.  9)    How to setup Opewindows Calendar Manager in a distributed
  52. 10)     Why does the talk command fail between SunOS
  53.     and any other manufacturers equipment(like DEC)? 
  54. 11)    How do I setup "anonymous" ftp?
  55. 12)     How come yppasswdd does not automatically update the yp maps?
  56. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  57. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  58. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  59. 16)     How can I turn my Sun3 into an X-Terminal?
  60. 17)    Why is my console login prompt garbled or in some strange
  61. 18)    Why are the "random" missing services at boot time(even
  62.     though the services are in the /etc/services file or NIS map)?
  63. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  64.     a reasonable price)?
  65. 20)    What is "archie"?
  66. 21)    How do I synchronize time between several Suns?
  67. 22)    What is the phone number for Sun Express or other important Sun 
  68. 23)     How do I join sun related  mailing lists?
  69. 24)    How do I use Mac floppies in a SUN drive?
  70. 25)    How can transfer floppies back and forth between MS-DOS and Sparc?
  71. 26)    Why is my biff not "biffing" when using biff in a networked
  72. 27)    How do I disable L1-A(STOP-A) or re-map it?
  73. 28)     Why are all the local users "unknown" when using sendmail under 4.1.2?
  74. 29)    What is the dump parameters for an exabyte 8200 or 8500?
  75. 30)    What are the guidelines for setting up swap space ?
  76. 31)    What are the general guidelines for maxusers to be set to on machine X?
  77. 32)    What does "zsN: silo overflow" mean?
  78. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  79. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  80. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  81.     connection to some non-Sun machine; it won't log in.  What's wrong?
  82. 36)    Do the Sun serial ports support RTS/CTS flow control?
  83. 37)    How do I specify that a serial port should, or should not, ignore the
  84.     state of the Carrier Detect line?
  85. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  86.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  87. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  88.     Control, and Esc keys inconvenient.  How do I remedy this?
  89. 40)    How can I move keys around on a Sun keyboard, for example exchanging the
  90.     Caps Lock and Control keys on a Type 5 keyboard?
  91. 41)    My Sun doesn't have an ANSI C compiler.  How can I get one?
  92. 42)    How do I change the time zone setting on my machine?
  93. 43)    I'm getting messages that say one of the following:
  94.  
  95.          proc: table is full    and/or
  96.             file: table is full    and/or
  97.             dquot: table is full     and/or
  98.             inode: table is full
  99.  
  100.     What do these errors mean, and how do I fix the problem?
  101.  
  102. 44)     How do I run X11R5 applications under Openwindows or Openwindows 
  103.     applications under X11R5?
  104. 45)    Where do I find a "restricted" shell for SunOS?
  105. 46)    Will SunOS 4.1.x binaries run under Solaris 2.0?
  106. 47)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  107.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  108.     _get_applicationShellWidgetClass). What is the Problem?
  109. 48)    What is Solaris?
  110. 49)     What does the "nres_gethostbyaddr !=" error mean?
  111. 50)     How come my mouse only works in the vertical(or horizontal) direction,
  112.         how do I repair it?
  113. 51)    What do the following undefined symbols mean(dlopen, and dlclose)?
  114. 52)    What does "No network locking on host" mean after upgrading to
  115.     Solaris 2.0?
  116. 53)    Does Password Aging work with NIS(YP) ?
  117. 54)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  118. 55)    How do I join the Sun User Group(SUG)?
  119. 56)    How do I increase the number of "pseudo" terminals(ptys) ?
  120.  
  121.  
  122.                 Answers
  123.  
  124.  1)     How to get DNS working when not running NIS ?
  125.     
  126.         The "normal" behavior of a hostname lookup under NIS is to
  127.         consult the NIS hosts map and then DNS (if configured). If
  128.     you are not running NIS the system will only look in 
  129.     the /etc/hosts file. 
  130.  
  131.     You have two options to correct this situation:
  132.  
  133.         A) Re-build shared libraries by installing the
  134.            shlib custom option and one of the many 
  135.            "bind" resolver library packages available
  136.            for SunOS. You can only do this if you are 
  137.            running SunOS version 4.1 or greater. 
  138.  
  139.            If you want to do it under 4.0.3 you
  140.            need to get the patches available from
  141.            ftp.uu.net in /systems/sun/sun-fixes. The files
  142.            you will need are as follows:
  143.  
  144.             1) lib.msg
  145.             2) libc_pic.a.sun3 or libc_pic.a.sun4
  146.             3) libc_resolv.so.sun3 or libc_resolv.so.sun4
  147.  
  148.            There should be a README in the same directory 
  149.            explaining what these files are.
  150.            
  151.  
  152.         B) Run NIS with the "hosts" maps only.
  153.  
  154.     
  155.     Option A is the "hardest" to implement. It requires
  156.     that you change all the shared libcs on the all
  157.     machines that you want name resolving on. Also, it
  158.     "breaks" several statically linked commands such as
  159.     mount and rcp. If you are under Software maintenance
  160.     you may be able to get a "dynamically" linked "mount".
  161.     
  162.     Complete directions for installing DNS without
  163.     NIS can be found in the bindon4.1.shar file or 
  164.     the resolv+ tar file. 
  165.  
  166.     Here is a list of the software one can use to modify your
  167.     shared libraries to use DNS without NIS.
  168.  
  169.         bindon41.shar is on qiclab.scn.rain.com in the file
  170.                     /pub/network/bindon41.shar.Z
  171.             bind 4.8.3 is on okeeffe.cs.berkeley.edu in the file
  172.                 /4.3/bind.4.8.3.tar.Z
  173.  
  174.             resolv+ is on liasun3.epfl.ch in file 
  175.                 /pub/net/dns/resolv+-2.1-beta.tar.Z
  176.  
  177.         Note: that you can still use NIS for other things in environment,
  178.               such as passwd, and group maps.
  179.  
  180.     Option B is the "easiest" of the two to implement. It
  181.     just requires you to run NIS and change the "all"
  182.     line /var/yp/Makefile to "all:    hosts". Also,
  183.     it does not require any change to the shared libraries.
  184.     It does not "break" anything. You can install
  185.     operating system patches that require updating
  186.     the shared libraries without having to remake the
  187.     shared libraries. 
  188.  
  189.  
  190.  
  191.  2)     How to get DNS to be used when running NIS ?
  192.  
  193.     First setup the appropriate /etc/resolv.conf file.
  194.     Something like this should do the "trick". 
  195.  
  196.     ;
  197.     ; Data file for a client.
  198.     ;
  199.     domain        local domain 
  200.     nameserver    address of primary domain nameserver
  201.     nameserver    address of secondary domain nameserver 
  202.  
  203.     where:    "local domain" is the domain part of the hostnames.
  204.          For example, if your hostname is "thor.ece.uc.edu"
  205.          your "local domain" is "ece.uc.edu".
  206.  
  207.     You will need to put a copy of this resolv.conf on
  208.     all NIS(YP) servers including slaves.
  209.  
  210.     Under SunOS 4.1 and greater, change the "B=" at the top
  211.     of the /var/yp/Makefile to "B=-b" and setup NIS in the 
  212.     usual fashion.   
  213.  
  214.     Under 4.0.x, edit the Makefile or apply the following "diff":
  215.  
  216. *** Makefile.orig       Wed Jan 10 13:22:11 1990
  217. --- Makefile    Wed Jan 10 13:22:01 1990
  218. ***************
  219. *** 63 ****
  220. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byname; \
  221. --- 63 ----
  222. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byname; \
  223. ***************
  224. *** 66 ****
  225. !                   | $(MAKEDBM) - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  226. --- 66 ----
  227. !                   | $(MAKEDBM) -b - $(YPDBDIR)/$(DOM)/hosts.byaddr; \
  228.  
  229.  
  230.  3)    How to properly setup NFS mounting of /var/spool/mail ?
  231.  
  232.     On the Client machines:
  233.  
  234.         A) mount /var/spool/mail with the no attribute caching
  235.            option.
  236.         
  237.            An example, fstab line would be the following:
  238.  
  239.            mailhost:/var/spool/mail /var/spool/mail nfs rw,noac 0 0
  240.  
  241.         B) Use a sendmail.cf that forces all mail to be delivered
  242.            by the mailhost. 
  243.  
  244.            One such file is available via anonymous ftp to 
  245.            thor.ece.uc.edu. Get the file 
  246.  
  247.                 /pub/sun-faq/sendmail.client.cf
  248.  
  249.            Do not use the OR option that Sun provides. It is broken
  250.            in many ways.
  251.  
  252.     On the server machine:
  253.     
  254.         A) Setup MX records pointing to the mailhost for
  255.            all client machines.
  256.  
  257.         B) Edit the /etc/exports file to export /var/spool/mail
  258.            to the mail client machines. You may want
  259.            to use a netgroup for this purpose.
  260.  
  261.         C) Setup the /etc/sendmail.cf on the server recognize
  262.            that mail to/from a client is "local".
  263.  
  264.            One such file is available via anonymous ftp to 
  265.            thor.ece.uc.edu. Get the file 
  266.  
  267.                 /pub/sun-faq/sendmail.server.cf
  268.  
  269.         
  270.     Note:     You may want to install IDA sendmail instead of Suns
  271.         stock sendmail. 
  272.  
  273.  
  274.  
  275.  4)     Can I use AnswerBook under X11R5?
  276.  
  277.     AnswerBook in its current form requires the Openwindows
  278.     server. It uses the NeWS extensions(Postscript) extensions
  279.     to this server to display the Answerbook files.
  280.  
  281.     To use AnswerBook under X11R5 you will need to replace the 
  282.     docviewer program with xdocviewer.  Xdocviewer does not support
  283.     all the options that the "real" docviewer supports such
  284.     as "hypertext" links.
  285.  
  286.     To install "xdocviewer" you will need the following programs.
  287.  
  288.         Perl-4 patchlevel 35  
  289.         Ghostscript 2.4 or above
  290.         GSpreview 2.1   or above  or Ghostview 1.3   or above
  291.  
  292.         All of these are available from prep.ai.mit.edu. They are 
  293.         located in the /pub/gnu directory.
  294.  
  295.         Finally, You need xdocviewer. It is available from the
  296.         /contrib directory on host export.ai.mit.edu.
  297.  
  298.  
  299.  5)     What does "NFS write error X" mean?
  300.  
  301.         You can lookup the error codes in /usr/include/sys/errno.h.
  302.  
  303.         Two common NFS error codes are 13 - "permission denied" and 70 -
  304.         "stale file handle".
  305.  
  306.     Error code 13 can occur from incorrect /etc/exports entry. Also,
  307.     it can occur because someone has changed the /etc/exports
  308.     entry to disallow the client after the client has already
  309.     been granted permission to perform this operation.
  310.  
  311.         Error code 70 occurs when a fileserver gets rebooted and
  312.     the server NFS "file handle" for a particular filesystem
  313.     changes. The "file handle" can be changed under the following
  314.     circumstances.
  315.         
  316.         A) Installing a new drive in place of an old.
  317.  
  318.         B) Moving a filesystem from one devices to
  319.            another.
  320.  
  321.         C) Performing a format, newfs, dump, and restore
  322.            cycle. Even if to the same device.
  323.  
  324.         You can usually get rid of the error by unmounting and
  325.         remounting the filesystem in question. 
  326.  
  327.     Also, error code 70 can occur when someone removes a file 
  328.     that a process is actively writing from a NFS client machine.
  329.  
  330.         Under SunOS 4.1, you can run "showfh" to translate the NFS
  331.         "file handle" given in the error message into a Unix pathname.
  332.         Beware that showfhd does a "find" on your server to get the
  333.         filename.  "man 2 intro" will give you some more general
  334.         information on what error codes could mean.
  335.  
  336.     You will need a patch to get "showfh" to work correctly. The patch
  337.     id is 100371 and this patch is required for 4.1, 4.1.1, and 4.1.2.
  338.     Sun claims that its been integrated into 4.1.3.
  339.  
  340.  
  341.  6)    How do I find the amount of memory installed or other
  342.     system configuration information?
  343.  
  344.     You can use the "devinfo" command to find out general
  345.     information about the hardware attached to your Sun.
  346.     The "devinfo" command is only available on desktop SPARCsystems,
  347.     SPARCengine 1E(although not in the version used in Auspex Systems), 
  348.         or 600MP series server only.
  349.     
  350.     The "best" command for the job is "sysinfo". Sysinfo is public
  351.     domain utility available via "anonymous" ftp on 
  352.     usc.edu in directory /pub/sysinfo. Sysinfo works on all Sun    
  353.     architectures(inculding Sun-3s) as well as many other UNIX 
  354.     boxes such as Ultrix, and Next. Sysinfo does not run on
  355.     SunOS 5.0.
  356.  
  357.     For SunOS 5.0 you can use sysdef.
  358.  
  359.     Note:  "wc -l /dev/mem" and "dd if=/dev/mem of=/dev/null" and 
  360.                the like will *not* give the correct answer on machines 
  361.            where physical memory is not contiguous, such as many Suns.
  362.  
  363.  
  364.  7)     Where can I get a version of ftp that does logging?
  365.  
  366.         There are at least 2 versions that have enhanced logging or 
  367.     can be modified to enable logging:
  368.  
  369.         wuarchive.wustl.edu (128.252.135.4) /packages/ftpd.wuarchive.shar
  370.     pprg.unm.edu (129.24.24.10)        /pub/misc/unm-ftpd.tar.Z
  371.  
  372.     The most widely used is the "wuarchive" version.
  373.  
  374.         The stock Sun ftpd will log some information if you add the "-l"
  375.         flag in /etc/inetd.conf:
  376.  
  377.         ftp stream tcp nowait root /usr/etc/in.ftpd in.ftpd -l
  378.  
  379.         Also enable syslogd by adding:
  380.  
  381.         daemon.info      /var/adm/syslog
  382.  
  383.         to "/etc/syslog.conf".
  384.  
  385.  
  386.  8)     Where can one get SunOS patches? Where can I get patch 100xxx-xx?
  387.  
  388.         Many anonymous ftp sites have partial collections of patches.
  389.         These sites include the following:
  390.  
  391.                 princeton.edu:/pub/sun-fixes
  392.                 qiclab.scn.rain.com:/pub/sunos-patches
  393.                 iskut.ucs.ubc.ca:/pub/ubc/sun-patches/
  394.                 ftp.uu.net:/systems/sun/sun-dist/
  395.  
  396.     princeton.edu has patches for SunOS, AnswerBook, Openwindows,
  397.     lang, and PC-NFS.
  398.  
  399.     qiclab.scn.rain.com has several hundred patches available
  400.     for SunOS only.
  401.  
  402.     iskut.ucs.ubc.ca has several of the newer patches.
  403.  
  404.     ftp.uu.net is the "official" distribution point for SunOS
  405.     security patches.
  406.  
  407.         Also, you should use "archie" to look for specific patches.
  408.  
  409.         Finally, the Sun User Group (SUG) CD ROM has a collection of Sun
  410.         patches.
  411.  
  412.  9)    How to setup Opewindows Calendar Manager in a distributed
  413.     environment?
  414.  
  415.     Sun's original assumption that each user has a permanent machine 
  416.     allocated to them is not applicable in most environments. Just as 
  417.     users send mail to 'user' rather than 'user@machine', users want 
  418.     to browse others user's calendars and do not care or want to know
  419.     where the calendar is actually stored.
  420.  
  421.     Here is procedure to accomplish our goal. All calendars
  422.     will be stored on a central server. The initial setup
  423.     must be down on the server.
  424.  
  425.         A) Have the user login to the calendar host(calhost)
  426.            machine.
  427.         
  428.         B) Change everyone's .cm.rc file so that 
  429.            Calendar.DefaultCal points to user@calhost
  430.  
  431.            calhost can be an hostname alias or an actual
  432.            hostname. You may want to use the alias
  433.            just in case you change the "calhost" later.
  434.     
  435.         C) Change their Access List and Permissions (under
  436.                Edit/Properties) to show user@client with BID (browse,
  437.                insert, delete) permissions for any client machine the
  438.            user wanted to access their calendar from.
  439.  
  440.     Notes: If you use the scheme you should not NFS mount 
  441.            /var/spool/calendar on the client machines.
  442.  
  443.  
  444.  
  445. 10)     Why does the talk command fail between SunOS
  446.     and any other manufacturers equipment(like DEC)? 
  447.  
  448.     SunOS has the old BSD 4.2 version of talk. The old talk
  449.     uses "machine dependent" byte ordering. Since
  450.     DEC has different byte order the two talks can not
  451.     communicate(even if you use "otalk" on the DEC
  452.     machines).
  453.     
  454.     Also, most vendors have the newer version of 
  455.     talk from BSD-4.3 and this version is not compatible
  456.     with the Sun Version(which is BSD-4.2).
  457.  
  458.     The solution is to get and install the new version
  459.     of talk because it uses "network" byte ordering and
  460.     it is compatible with most Vendors current talk 
  461.     implementations.
  462.     
  463.     "New Talk" is available via anonymous ftp from several
  464.     sites including thor.ece.uc.edu(Get the file 
  465.     /pub/sun-faq/ntalk.tar.Z). 
  466.  
  467. 11)    How do I setup "anonymous" ftp?
  468.     
  469.         Read the man page ftpd(8) in the SunOS 4.x documentation, as 
  470.         the procedure differs from vanilla BSD and most examples in 
  471.         system administration books. 
  472.  
  473.     The "ls" binary is dynamically linked, requiring you to 
  474.     duplicate ld.so, libc.so.* and /dev/zero in the ftp area.
  475.     The permissions and ownership of the files within the 
  476.         ftp area are critical to having a secure configuration.
  477.     
  478.     Note: For SunOS versions 4.1.2 and 4.1.3 you will need
  479.           to copy /usr/lib/libld.so.* to the ftp area as well.
  480.  
  481.     You can use a "statically" linked binary from the GNU
  482.     fileutils instead of the "dynamically" linked SunOS
  483.     version. You can get the GNU fileutils from prep.ai.mit.edu
  484.     in the directory /pub/gnu
  485.  
  486.     A complete procedure to setup anonymous under SunOS is
  487.     available via anonymous ftp to thor.ece.uc.edu. Get
  488.     the file /pub/sun-faq/anon-ftp.how-to.
  489.  
  490.  
  491.  
  492. 12)     How come yppasswdd does not automatically update the yp maps?
  493.  
  494.         There is a bug in 4.1 rpc.yppasswdd that causes it misinterpret
  495.         the command line arguments.  A work-around is to add the
  496.         "-nosingle" flag (which is the default), this shifts the
  497.         arguments over one, so "passwd" is read instead of "-m".
  498.     Also, you should use the complete path to rpc.yppasswdd
  499.  
  500.         For example:
  501.  
  502.         /usr/etc/rpc.yppasswdd /var/yp/passwd -nosingle -m passwd DIR=/var/yp
  503.  
  504.         If you are running the C2 security package, you should apply
  505.         patch 100201-04, as it fixes several problems with rpc.yppasswdd.
  506.  
  507. 13)     What does NFS getattr failed/RPC: Authentication error mean?
  508.  
  509.         You are probably running a pre-4.0 version of NFS and your
  510.         username is in more than 8 groups.  There is a limit on the
  511.         number of groups that could be represented in the rpc service
  512.         (called NGRPS).  On pre-4.0 systems this was 8, now it is 16.
  513.         Since many vendors other than Sun are still running old versions
  514.         of NFS, you might see this error even if your SunOS is recent.
  515.  
  516.         Authentication errors are also caused by having secure RPC
  517.         enabled on the client but not on the server, or by having a
  518.         misconfigured secure RPC configuration for the user name
  519.         generating the errors.  Beware of this problem when you are
  520.         using the automounter, as programs (such as Sendmail) may
  521.         silently fail when when they try to mount a directory
  522.         and get this error.
  523.  
  524.  
  525. 14)     Why did my Quantum 105 megabyte hard disk stop working?
  526.  
  527.     This the now infamous Quantum drive "stickation" problem.
  528.  
  529.     If the drive is allowed to cool down(even for a short period 
  530.     of time) the drive lubricant will congeal and prevent the disks
  531.     platters from rotating. 
  532.  
  533.     Before you get a replacement, try lightly tapping
  534.         the drive to loosen the lubricant. If this does not work try
  535.     shaking and twisting the drive at the same time. One last
  536.     thing to try is to lift the system up a couple of inches
  537.     and drop it.
  538.  
  539. 15)     Can I replace the 105 megabyte internal drive with a higher capacity
  540.         model?
  541.  
  542.         The higher capacity drives create more heat and draw more power than
  543.         the 105S.  The case cooling ability and power supply in the SS-1 and
  544.         SS-1+ are not adequate for the 210 megabyte or higher capacity drives
  545.         possible in the SS-2.
  546.  
  547. 16)     How can I turn my Sun3 into an X-Terminal?
  548.  
  549.         You can use Seth Robertson's Xkernel package.  It is available
  550.         via anonymous ftp from sol.ctr.columbia.edu (128.59.64.40) in
  551.         /Xkernel.  The package describes how to configure a minimal kernel
  552.         that runs the X server and offloads all the clients onto another,
  553.         hopefully more powerful host on the network. 
  554.  
  555.     If you are in hurry get the 4LAZY.sun3.tar.Z file. It contains
  556.     all the necessary software to get Xkernel up and running.
  557.  
  558.     Xkernel is attractive to some sites that have a large investment in 
  559.         sun3 platforms, as moving  most of the processing off the sun3 
  560.         cpu makes it tolerable to use.  
  561.  
  562.     Finally, a used 3/50 is competitive with low-end X Terminal and 
  563.         you get a 19" monitor with an optical mouse.  
  564.  
  565.     Some disadvantages are that 4.1.1 is supposed to be the last SunOS
  566.         release on the sun3 and maintenance costs might be higher for
  567.         sun3 hardware.
  568.  
  569.  
  570. 17)    Why is my console login prompt garbled or in some strange
  571.     alphabet after upgrading to 4.1.3?
  572.  
  573.         The problem is /etc/ttytab, with 4.1.3, the console is now
  574.     able to display 8 bits characters and getty must take this 
  575.     into account.
  576.  
  577.     The solution is easy, replace your console entry in /etc/ttytab 
  578.     by the following, the important part is 'cons8':
  579.  
  580.     console "/usr/etc/getty cons8"  sun             on local secure
  581.  
  582.     Also, if you did an upgrade(instead of a full install) you may 
  583.     need to add the following to your /etc/gettytab.
  584.  
  585.     # This is a new entry to internationalize the console.  It needs to be
  586.     # 8 bit clean so that ISO 8859 characters can be displayed without
  587.     # the window system.
  588.     #
  589.     cons8:\
  590.             :p8:lm=\r\n%h login\72 :sp#9600:
  591.  
  592.  
  593. 18)    Why are there "random" missing services at boot time(even
  594.     though the services are in the /etc/services file or NIS map)?
  595.  
  596.     The two primary causes for "random" missing services are
  597.     as follows:
  598.  
  599.         A) "Blank" lines in /etc/services. This is the primary
  600.            cause.
  601.  
  602.         B) NIS/YP server not responding quickly enough
  603.            to the "getservbyname" call. The only fix
  604.            is to replace the systems version of inetd
  605.            with a version that re-tries a "unknown" service.
  606.  
  607.            I have "hacked" a version of munetd(public domain
  608.            replacement for inetd) to do this. It is available
  609.            from thor.ece.uc.edu. Get the file /pub/sun-faq/munetd.tar.Z
  610.  
  611.     Another suggestion that has worked for some people is to
  612.     add the following to your rc.local(right after ypbind is started):
  613.  
  614.         ypwhich > /dev/null 2>&1
  615.  
  616.     This will force ypbind to bind.
  617.  
  618. 19)    Where can I get Data Certified tapes for 8-mm tape drives(at
  619.     reasonable price)?
  620.  
  621.     Here is an incomplete list of vendors how have "data certified"
  622.     tapes for the exabyte.
  623.  
  624.     Misco               800-876-1726   $12 - 15 each.    
  625.     TecBridge          800-972-7405   $12 - 15 each.
  626.     R-Squared          800-777-3478     Sony 112m 120@8.00 Each
  627.     K and K Systems          612-475-1527     $10 Each
  628.     SCR              314-739-0808     $10.95 for Memorex
  629.  
  630. 20)    What is "archie"?
  631.  
  632.     Archie is a database of what is on several thousand anonymous 
  633.     ftp sites. 
  634.  
  635.     To use archie get one of the three archie clients which
  636.     are as follows:
  637.  
  638.         xarchie        -    For use under X11
  639.         c-archie    -     Curses version of Archie
  640.         archie        -     Perl Version of Archie
  641.     
  642.     Theses are available from archie.ans.net in the directory 
  643.     /pub/archie.
  644.  
  645.     List of other publicly available archie servers:
  646.  
  647.         archie.rutgers.edu  128.6.18.15   (Rutgers University)
  648.         archie.unl.edu      129.93.1.14
  649.                                         (University of Nebraska in Lincoln)
  650.         archie.ans.net      147.225.1.2   (ANS archie server)
  651.         archie.au           139.130.4.6   (Australian server)
  652.         archie.funet.fi     128.214.6.100 (European server in Finland)
  653.         archie.doc.ic.ac.uk 146.169.11.3  (UK/England server)
  654.         archiecs.huji.ac.il 132.65.6.15   (Israel server)
  655.     
  656. 21)    How do I synchronize time on my Sun Network?
  657.  
  658.     You should use xntp version 3 to synchronize your time. Xntp 
  659.     synchronizes to "atomic" and/or Radio Frequency clocks. Using
  660.     xntp time should always be within a few "milliseconds" of the
  661.     actual time.
  662.  
  663.     xntp is available from udel.edu. Get the file /pub/ntp/xntp3.tar.Z
  664.     
  665.  
  666.  
  667. 22)    What is the phone number for Sun Express or other important Sun 
  668.     phone numbers?
  669.  
  670.     Sun Express:         1-800-USE-SUNX (1-800-873-7869)
  671.     Main Sun Helpline:     1-800-USA-4SUN (1-800-872-4786)
  672.     
  673.  
  674. 23)     How do I join sun related  mailing lists?
  675.  
  676.     Mailing Lists:
  677.  
  678.     Sun Managers:    Used for "emergency" information only. The
  679.             users of this list are "very" knowledgable.
  680.         sun-managers-request@eecs.nwu.edu    add requests
  681.         sun-managers@eecs.nwu.edu        submissions
  682.  
  683.         Sun-386i:   discussion about the Sun 386i product
  684.             sun-386i-request@ssg.com        add requests
  685.             sun-386i@ssg.com                    submissions
  686.  
  687.         Suns-at-home:   discussion about maintaining Sun2/3/4/4c
  688.                         systems at home
  689.             suns-at-home-request@orchestra.ecn.purdue.edu   add requests
  690.             suns-at-home@orchestra.ecn.purdue.edu           submissions
  691.  
  692.         Auspex:  managers of Auspex NFS file servers
  693.             auspex-request@princeton.edu                    add requests
  694.             auspex@princeton.edu                            submissions
  695.  
  696.         Epoch:  managers of Epoch NFS file servers       
  697.             EPoch Users Forum  (EPUF)             
  698.             epuf-request@mcs.anl.gov                        add requests 
  699.             epuf@mcs.anl.gov                                submissions
  700.  
  701.     sun-flash: Provides articles about Sun products 
  702.            and services.
  703.  
  704.         Subscription request should be sent to
  705.             sunflash-request@sunvice.East.Sun.COM
  706.  
  707.  
  708.     NOTE!!!  if you wish to be added to one of the above mailing lists,
  709.              send mail to the REQUEST address!  Do not send add requests 
  710.          to the main address!
  711.  
  712.  
  713. 24)    How do I use Mac floppies in a SUN drive?
  714.     
  715.     The easiest way is to use suntar on the Macintosh to
  716.     copy files to a "high density" floppy.  Then you can use 
  717.     "tar" on the Sun to get the files off the floppy.
  718.  
  719.     It is available from sumex-aim.stanford.edu. Get the file
  720.     /info-mac/util/suntar-131.hqx
  721.  
  722.     Also, you could use the Apple File Exchanger to translate
  723.     the files to MS-DOS format. Then use one of the methods
  724.     for transferring MS-DOS disks to Sun.
  725.  
  726.  
  727.     Note: There are  several commercial packages available for
  728.           this purpose.
  729.  
  730.           Also, low density Mac floppies are not comparable with
  731.           low density Sun floppies. 
  732.  
  733.  
  734. 25)    How can transfer floppies back and forth between MS-DOS and Sparc?
  735.  
  736.     There are two packages which allow you to do this(mtools and mntdsk)
  737.  
  738.     Mtools writes directly to the floppy device and it does not
  739.     require special privileges. It is faster than mntdsk
  740.     but it requires the user to learn a new set of commands.
  741.  
  742.     mntdisk "mounts" the floppy using the "pcfs" filesystem type. Once
  743.     mounted you can use regular UNIX commands(cp,mv,and rm)
  744.     to access it.
  745.  
  746.     A copy of mtools can be found on thor.ece.uc.edu. Get
  747.     the file  /pub/sun-faq/mtools-2.0.7.tar.Z
  748.  
  749.     Mntdisk is available in your local comp.sources.misc, Volume 22,
  750.     Issue 31. Mntdsk can be used to mount CD-ROMS and even
  751.     UFS floppies.
  752.  
  753.     Note:    You should not use "setuid" shell scripts for mounting
  754.         floppies.
  755.  
  756.  
  757. 26)    Why is my biff not "biffing" when using biff in a networked
  758.     environment?
  759.  
  760.     In its current form comsat/biff are only usable on the mail
  761.     server. You need to replace them network capable programs.
  762.  
  763.     A shar file containing network capable versions of comsat
  764.     and biff is available from thor.ece.uc.edu. Get the
  765.     file /pub/sun-faq/biff-comsat.
  766.  
  767. 27)    How do I disable L1-A(STOP-A) or re-map it?
  768.  
  769.     You need to get one of the many re-mapping programs. Two
  770.     of these are available from thor.ece.uc.edu. Get the file
  771.     disable-L1-A.tar.Z
  772.  
  773. 28)     Why are all the local users "unknown" when using sendmail under 4.1.2?
  774.  
  775.     There is a known problem with sendmail and frozen config
  776.     files under 4.1.2.
  777.  
  778.     The fix is to remove /etc/sendmail.fc or consider replacing
  779.     it with IDA sendmail. You could also try moving it to the
  780.     end of /etc/rc.local.
  781.  
  782.  
  783. 29)    What is the dump parameters for an exabyte 8200 or 8500?
  784.  
  785.     8200 -- dump 0budfs 126 54000 /dev/rst0 6000
  786.     8500 -- dump 0budfs 126 54000 /dev/rst0 12000
  787.  
  788. 30)    What are the guidelines for setting up swap space ?
  789.  
  790.     This question under construction.
  791.  
  792. 31)    What are the general guidelines for maxusers to be set to on machine X?
  793.  
  794.     This question under construction.
  795.  
  796. 32)    What does "zsN: silo overflow" mean?
  797.  
  798.         The CPU serial ports - both ordinary serial ports A and B, and
  799.         the port for the keyboard and mouse - use the Zilog Z8530 SCC
  800.         chip.  That chip has a 3-character on-board buffer called the
  801.         "silo".  If a character arrives in the silo, the chip interrupts
  802.         the CPU at a high priority, and the interrupt service routine
  803.         reads the character out of the silo.
  804.  
  805.         If the interrupt isn't serviced in time, more than 3 characters
  806.         can be placed in the silo by the chip; if so, the chip notes
  807.         that the silo "overflowed", and the interrupt service routine,
  808.         when called, will note that a "silo overflow" occurred.
  809.  
  810.         If the machine is printing a message from the kernel, interrupts
  811.         from the chip will be held off; if the message takes long enough
  812.         to print, and characters are coming in quickly enough on the
  813.         serial port, more than 3 can arrive, and a "silo overflow" will
  814.         occur.
  815.  
  816.         It is possible that a machine that's sufficiently busy in other
  817.         code that runs with interrupts held off could get a silo
  818.         overflow as well.
  819.  
  820. 33)    What does the "N" in "zsN: silo overflow", and other "zsN" messages,
  821.     signify?
  822.  
  823.         The name "zsN" is ambiguous.
  824.  
  825.         In kernel "config" files, and in the boot-time autoconfig
  826.         messages, "zs0" is the first on-board Z8530 chip, the two
  827.         channels of which handle "ttya" and "ttyb", respectively, and
  828.         "zs1" is the second on-board Z8530 chip, the two channels of
  829.         which handle the keyboard and mouse ports, respectively.
  830.  
  831.         In "zsN: silo overflow" messages and the like:
  832.  
  833.                 "zs0" is the A channel on the first on-board Z8530, handling
  834.                     "ttya";
  835.  
  836.                 "zs1" is the B channel on the first on-board Z8530, handling
  837.                     "ttyb";
  838.  
  839.                 "zs2" is the A channel on the second on-board Z8530, handling
  840.                     the keyboard;
  841.  
  842.                 "zs3" is the B channel on the second on-board Z8530, handling
  843.                     the mouse.
  844.  
  845.         So a "zs0: silo overflow" error is for "ttya", and a "zs1: silo
  846.         overflow" error is for "ttyb", not for the keyboard or mouse.
  847.         Keyboard silo overflows are "zs2: silo overflow"; mouse silo
  848.         overflows are "zs3: silo overflow".
  849.  
  850.  
  851. 34)    How do I set up a Sun serial port both for dial-in and dial-out?
  852.  
  853.         You need to read Chapter 11 in  the "Systems and Network 
  854.     Administration" manual.
  855.  
  856. 35)    I can't get my Sun, running SunOS 4.1[.x], to establish a UUCP
  857.     connection to some non-Sun machine; it won't log in.  What's wrong?
  858.  
  859.         The 4.1[.x] UUCP normally runs in even-parity mode when logging
  860.         into another machine.  If the other machine is running in 8
  861.         bits, no parity, mode, the fact that the 8th bit is set on some
  862.         of the characters the Sun is sending to it will confuse it.
  863.  
  864.         The Sun can be made to turn the 8th bit off by putting P_ZERO in
  865.         the appropriate place in the appropriate UUCP configuration file
  866.         [I may have been the one to put P_ZERO there, but I forget the
  867.         details; it's in the send-expect sequence in the Systems file
  868.         entry for the machine, and I think you have an "expect" string
  869.         of "" - i.e., "expect nothing" - and a "send" string of P_ZERO -
  870.         i.e., make the parity bit zero.  Check the UUCP stuff in the
  871.         "Systems and Network Administration" document to make sure.]
  872.  
  873.  
  874. 36)    Do the Sun serial ports support RTS/CTS flow control?
  875.  
  876.         The serial port hardware can do CTS-based control of the flow of
  877.         data *from* the Sun *out* the serial port automatically.  The
  878.         tty driver option for that is the CRTSCTS option; it can be
  879.         specified in:
  880.  
  881.                 the "printcap" "ms" capability for a printer;
  882.  
  883.                 in the "gettytab" "ms", "m0", "m1", or "m2" capabilities
  884.                 for a dial-in port;
  885.  
  886.                 the "STTY=" option for a dial-out line for UUCP or "cu"
  887.                 [check the UUCP documentation for details];
  888.  
  889.         and can be specified with the "hf" capability in "/etc/remote"
  890.         for "tip".
  891.  
  892.         The hardware cannot directly do RTS-based control of the flow of
  893.         data *into* the Sun, and the software does not currently support
  894.         controlling the flow of data into the Sun with RTS.
  895.  
  896.         NOTE: the EEPROM options in newer Suns do not affect the flow
  897.  
  898.         control performed by the OS; in fact, the OS ignores the
  899.         "ttya-mode", "ttyb-mode", "ttya-rts-dtr-off", and
  900.         "ttyb-rts-dtr-off" EEPROM options entirely.  You don't need to
  901.         set them to change the way the OS handles the tty, and even if
  902.         you do set them, it won't change the way the OS handles the tty.
  903.  
  904.  
  905.  
  906. 37)    How do I specify that a serial port should, or should not, ignore the
  907.     state of the Carrier Detect line?
  908.  
  909.         Prior to SunOS 4.1, you do so either by:
  910.  
  911.                 changing the "flags" field for the serial port device in the
  912.                 kernel "config" file, re-running "config", rebuilding
  913.                 the kernel, and rebooting with the new kernel;
  914.  
  915.         or, on the Sun-4c machines:
  916.  
  917.                 changing the setting of the "ttya-ignore-cd" or
  918.                 "ttyb-ignore-cd" EEPROM settings if the port is one of
  919.                 the CPU serial ports.
  920.  
  921.         In SunOS 4.1 (and, I think, some SunOS 4.0[.x] releases for the
  922.         Sun386i), you do so by changing the "/etc/ttytab" line for the
  923.         port in question to have the "local" attribute if CD is to be
  924.         ignored, or not to have it if CD is not to be ignored, and
  925.         running the "ttysoftcar" command to tell the kernel that the
  926.         status of the "ignore CD" flag should be changed.
  927.  
  928.         In 4.1, there's no need to change the EEPROM setting to change
  929.         SunOS's behavior; it may affect the PROM's behavior, but that's
  930.         the only reason why it'd be necessary.
  931.  
  932. 38)    I put in a new "termcap" entry, or updated an existing "termcap" entry,
  933.     for a terminal, but "vi" doesn't seem to know about my change.  Why?
  934.  
  935.         The "vi" in SunOS 4.1[.x] is based on the System V Release 3.1
  936.         "vi", because that version of "vi" supports 8-bit character
  937.         sets.  That version of "vi" uses "terminfo", not "termcap"; you
  938.         have to change the "terminfo" entry for the terminal.
  939.  
  940.         You may first have to convert the compiled "terminfo" entry to a
  941.         text entry; "/usr/5bin/infocmp -I <terminal-type>" will write
  942.         the text of the "terminfo" entry for the terminal
  943.         <terminal-type> to its standard output.
  944.  
  945.         If you already have a "termcap" entry, you can convert it to a
  946.         "terminfo" entry with "/usr/5bin/captoinfo".
  947.  
  948.         A text "terminfo" entry must be recompiled in order for programs
  949.         using "terminfo" to use it; "/usr/5bin/tic" will recompile it.
  950.  
  951. 39)    I have a Type 5 keyboard, and find its placement of the Caps Lock,
  952.     Control, and Esc keys inconvenient.  How do I remedy this?
  953.  
  954.         Well, one remedy may be to buy the "UNIX layout" version of the
  955.         Type 5; this option seems, unfortunately, to be little-known to
  956.         Sun customers, and Sun may not be promoting it as they should.
  957.         That keyboard has a layout much more friendly to the traditional
  958.         UNIX user than do the normal PC-style layouts for the Type 5.
  959.  
  960.         If you don't have that option, you can use the appropriate
  961.         program to reprogram the keys; see the next question.
  962.  
  963. 40)    How can I move keys around on a Sun keyboard, for example exchanging the
  964.     Caps Lock and Control keys on a Type 5 keyboard?
  965.  
  966.         It depends on which window system you're running, if any.
  967.  
  968.         If you're not using any window system, or you're using a window
  969.         system such as SunView that uses the OS's keyboard event
  970.         translation mechanism, you can dump the tables used by the OS's
  971.         keyboard event translation mechanism with the "dumpkeys"
  972.         command, and load changes to that table with the "loadkeys"
  973.         command; see LOADKEYS(1).
  974.  
  975.         If you're using X11 - either in its MIT incarnation, or Sun's
  976.         Open Windows incarnation - or some other window system that
  977.         shuts off the OS's keyboard event translation mechanism, you
  978.         need to use the window system's commands, if any, for that
  979.         function.
  980.  
  981.         In X11, the command for that is "xmodmap"; its translation
  982.         tables can be printed with "xmodmap -pk", and changes to that
  983.         table can be loaded with "xmodmap" as well.
  984.  
  985.         NOTE: in the particular case of the Control and Caps Lock keys,
  986.         while MIT X appears to handle interchanging those two keys
  987.         correctly, so that the new Caps Lock key is a toggle and the new
  988.         Control key is not, some versions of Open Windows do not - even
  989.         though the keys have had their mappings exchanged, the window
  990.         system server still thinks that the *old* Caps Lock key, which
  991.         is now the Control key, should be a toggle, and that the *old*
  992.         Control key, which is now the Caps Lock key, should not be a
  993.         toggle.
  994.  
  995. 41)    My Sun doesn't have an ANSI C compiler.  How can I get one?
  996.  
  997.         SunOS releases prior to 5.0 come with a C compiler; however,
  998.         it's an old compiler, and doesn't support ANSI C syntax or such
  999.         ANSI C features as function prototypes.
  1000.  
  1001.         Many vendors offer ANSI C compilers for SunOS.  Sun sells Sun C
  1002.         1.1 for SPARC, which includes an ANSI C compiler (although not a
  1003.         full ANSI C environment, i.e. it doesn't necessarily include all
  1004.         the ANSI C include files or library routines); various other
  1005.         vendors (Lucid? Others?) sell ANSI C compilers as well.
  1006.  
  1007.         The Free Software Foundation's GCC also supports ANSI C syntax
  1008.         and ANSI C features; it can be FTP'ed in source form from many
  1009.         sites, and in binary form from some sites.  [Sorry, I don't have
  1010.         details.]
  1011.  
  1012.         SunOS 5.0 - the OS component of Solaris 2.0 - doesn't come with
  1013.         a C compiler of any sort (NOTE: it isn't necessary for kernel
  1014.         configuration).  If you want a C compiler for it, you'll have to
  1015.         buy or otherwise obtain one; Sun has or will have one for SunOS
  1016.         5.0, and a version of GCC for Solaris 2.0 is also available.
  1017.         The include files and libraries in SunOS 5.0 should (modulo
  1018.         bugs) fully support ANSI C. 
  1019.  
  1020.     A compiled version of GCC for SunOS 5.0 is avaliable from 
  1021.     ftp.uu.net in the /systems/sun/gnu-solaris directory.
  1022.  
  1023.  
  1024. 42)    How do I change the time zone setting on my machine?
  1025.  
  1026.         In releases prior to SunOS 4.0, you will have to reconfigure
  1027.         your kernel, recompile it, install the new kernel, and reboot.
  1028.         See the documentation on kernel configuration.
  1029.  
  1030.         In SunOS 4.0 and later releases, you will need to run the "zic"
  1031.         command with the "-l" flag, with the appropriate time zone
  1032.         setting as the argument.  For example, to set the time zone to
  1033.         US Eastern Time, do:
  1034.  
  1035.                 zic -l US/Eastern
  1036.  
  1037.         to set it to the proper setting for Great Britain and Eire, do:
  1038.  
  1039.                 zic -l GB-Eire
  1040.  
  1041.         and so on.
  1042.  
  1043.         You will then probably want to reboot your machine, in order to:
  1044.  
  1045.                 1) cause any daemons started before the time zone was
  1046.                    changed to restart, and pick up the new time zone;
  1047.  
  1048.                2) run "tzsetup" for the benefit of old pre-SunOS 4.0
  1049.                    binaries, old programs not converted to use the new
  1050.                    routines to convert local time to UNIX time, and
  1051.                    Calendar Manager.
  1052.  
  1053.         You can also manually link "/usr/share/lib/zoneinfo/localtime"
  1054.         to the appropriate time zone file, but there's really no point
  1055.         in doing so when "zic -l" will do that for you.
  1056.  
  1057. 43)    I'm getting messages that say (one of):
  1058.  
  1059.         proc: table is full
  1060.  
  1061.         file: table is full
  1062.  
  1063.         dquot: table is full
  1064.  
  1065.         inode: table is full
  1066.  
  1067.     What does this mean, and how do I fix the situation?
  1068.  
  1069.         In SunOS releases prior to 5.0, many tables in the system are
  1070.         allocated once at system startup time, with a fixed size, and do
  1071.         not grow in size.  If the system needs more entries than are
  1072.         present in that table to perform some operation, it can't
  1073.         perform the operation, and it will log a message and return a
  1074.         failure indication.
  1075.  
  1076.         The sizes of the tables in question are based on the "maxusers"
  1077.         value in the configuration file for your kernel; to increase the
  1078.         size of the table, change the configuration file for your kernel
  1079.         to have a larger "maxusers" value, re-run "config" on that file,
  1080.         rebuild the kernel, install the new kernel, and reboot.
  1081.  
  1082.         SunOS 4.1 and later shouldn't get "inode: table is full", as
  1083.         that table is dynamically allocated; SunOS 5.0 should
  1084.         dynamically allocate entries in most if not all of those tables.
  1085.  
  1086.     I did that, and I'm still getting that message.  What do I do now?
  1087.  
  1088.         Presumably, then, either:
  1089.  
  1090.                 1) you didn't increase "maxusers" enough
  1091.  
  1092.         or
  1093.  
  1094.                 2) some process is consuming resources from the table in
  1095.                    question without bound.
  1096.  
  1097.  
  1098.     Note: SunOS kernels(up to 4.1.3) by default allow the user to use 
  1099.           all available process slots(except for the last 5). 
  1100.  
  1101.           If you are running out of process slots you may want to 
  1102.           change the kernel parameter that controls the maximum number
  1103.           of per user processes. You can change this in the param.c
  1104.           in /sys/conf.common. You will need to change the following
  1105.           define:
  1106.  
  1107.             #define MAXUPRC (NPROC - 5)
  1108.  
  1109.           to something more reansable like
  1110.  
  1111.             #define MAXUPRC (NPROC - 5)/2
  1112.  
  1113.           After making this change you should re-config and re-build
  1114.           your kernel.
  1115.  
  1116.         The "proc" table has one entry for every process on the system;
  1117.         if it's overflowing, some process on the system may be creating
  1118.         new processes over and over again.  If you can, do a "ps -ax" to
  1119.         see what processes are on the system, and see if that gives any
  1120.         clues as to what process, if any, is spawning those other
  1121.         processes.
  1122.         
  1123.  
  1124.         The "file" table has one entry for every "active file
  1125.         descriptor" on the system; each time an "open", "dup", "socket",
  1126.         etc. call is made, a new "active file descriptor" is required.
  1127.         There's no way of finding out what process or processes are
  1128.         consuming file descriptors that's as convenient as "ps" can be
  1129.         for finding out what process or processes are spawning additional
  1130.         processes; "/usr/etc/pstat -f" will print the "open file table"
  1131.         of "active file descriptors", but it's tricky for the novice
  1132.         user, programmer, or administrator to interpret the output of
  1133.         "pstat -f", and that output doesn't indicate which processes are
  1134.         using a given "active file descriptor".
  1135.  
  1136.  
  1137. 44)     How do I run both OpenWindows and MIT X11R5?
  1138.  
  1139.     To get X11R5(or R4) applications to run under Openwindows you will
  1140.     need to set the appropriate LD_LIBRARY_PATH. 
  1141.  
  1142.         Assuming you installed the MIT libraries in
  1143.         /usr/lib and the OpenWindows libraries are in
  1144.         /usr/openwin/lib, set the following before you start the
  1145.         windowing system:
  1146.  
  1147.         MIT X11R4 environment
  1148.  
  1149.                 set path = (/usr/bin/X11 $path)
  1150.                 setenv LD_LIBRARY_PATH /usr/lib
  1151.  
  1152.        OpenWindows
  1153.  
  1154.                 set path = (/usr/openwin/bin /usr/openwin/demo $path)
  1155.                 setenv LD_LIBRARY_PATH /usr/openwin/lib
  1156.  
  1157.         You can also run clients from one environment under a different
  1158.         server on a one command at a time basis.  This example runs a
  1159.  
  1160.          OpenWindows client under the MIT server:
  1161.  
  1162.                 (setenv LD_LIBRARY_PATH /usr/openwin/lib; x_soundtool)
  1163.  
  1164.  
  1165.     A better way to handle this(in the long run) is to re-compile 
  1166.     the X server clients to include a "hard" coded shared library
  1167.     search path. You will need to link the clients with -L
  1168.     option.  For example, if your X11 libraries are installed
  1169.     in /usr/local/lib/X11 you will link your application by
  1170.  
  1171.            cc -o app app.c -L/usr/local/lib/X11 -lX11 -lXext
  1172.  
  1173.     By doing this to all applications you can eliminate the need
  1174.     to set the LD_LIBRARY_PATH. 
  1175.  
  1176.     For applications that you do not have source for you should
  1177.     write a shell script wrapper similar to the following:
  1178.  
  1179.     #!/bin/sh
  1180.     LD_LIBRARY_PATH=/usr/local/lib/X11; export LD_LIBRARY_PATH
  1181.     /usr/local/bin/X11/xterm.bin $*
  1182.     
  1183.  
  1184.     Note: Source code for the Xview toolkit and MIT X11R5 are
  1185.           available from prep.ai.mit.edu. 
  1186.  
  1187.  
  1188.         The OpenWindows server has the ability to display PostScript that
  1189.         several of the OpenWindows applications require to run.  Sun's
  1190.         AnswerBook is an example that requires PostScript.  These clients
  1191.         will not run under the MIT server.   
  1192.  
  1193.     You can get a limited PostScript preview capability under 
  1194.     either server with GNU Ghostscript, a GNU "copyleft" package
  1195.     available from various ftp sites.  
  1196.  
  1197.     Two enhanced versions of Ghostscript are also available,
  1198.         CSPreview and Ghostview, they both offer fancier preview capabilities.
  1199.         These programs are currently available via anonymous ftp:
  1200.  
  1201.         Ghostscript is on prep.ai.mit.edu (18.71.0.38) in /pub/gnu
  1202.         GSPreview   is on export.lcs.mit.edu (18.24.0.12) in /contrib
  1203.         Ghostview   is on prep.ai.mit.edu (128.105.2.196) in /pub/gnu
  1204.  
  1205.  
  1206. 45)    Where do I find a "restricted" shell for SunOS?
  1207.  
  1208.     /usr/lib/rsh is a "restricted" Bourne shell.
  1209.  
  1210. 46)    Will SunOS 4.1.x binaries run under Solaris 2.0?
  1211.  
  1212.     This question under construction.
  1213.  
  1214. 47)    When I try to compile MITs X11R4 applications under Openwindows 3.0,
  1215.     I get the following "undefined" symbols(_get_wmShellWidgetClass, and
  1216.     _get_applicationShellWidgetClass). What is the Problem?
  1217.  
  1218.     There are problems with the Xmu shared library as shipped from Sun.
  1219.  
  1220.     There are two "fixes". One is to get the Openwindows patches
  1221.     that apply to this problem and the other is to "statically" link
  1222.     the Xmu library into the executable.
  1223.  
  1224.     The patches you will need are as follows:
  1225.  
  1226.         Patch i.d.      Bug i.d.'s      O/S     Description
  1227.         ----------      -------------------------------------------------------
  1228.         100512-02       1086793 1086912     4.1.x OpenWindows 3.0 libXt 
  1229.             1074766         Jumbo patch
  1230.  
  1231.         100573-03       1087332         4.1.x OpenWindows 3.0 undefined
  1232.                         symbols when using shared
  1233.                         libXmu.
  1234.  
  1235.     To "statically" link your executable with libXmu modify the
  1236.     compile line as follows:
  1237.  
  1238.           -Bstatic -lXmu -lBdynamic 
  1239.  
  1240.  
  1241. 48)    What is Solaris?
  1242.     
  1243.     Solaris consists of the following facilities:
  1244.  
  1245.         1) SunOS 
  1246.         2) Openwindows
  1247.         3) Openwindows deskset tools
  1248.         4) ONC networking products and services(which includes NFS
  1249.            and NIS)
  1250.  
  1251.     Solaris is not an operating system but a "complete" user
  1252.     environment.
  1253.  
  1254. 49)     What does the "nres_gethostbyaddr !=" error mean?
  1255.  
  1256.         This message is from "ypserv" and has been determined to be
  1257.         "harmless" (bug #1039839). Sun supplied a patch 100141-01 to
  1258.         quiet it, but the patched version appears to die silently at
  1259.         random times, so Sun now has a new patch, 100141-02.
  1260.  
  1261.     This message can be generated because the Domain Name Server lacks
  1262.     a reverse map entry for that particular host.
  1263.  
  1264.  
  1265. 50)     How come my mouse only works in the vertical(or horizontal) direction,
  1266.     how do I repair it?
  1267.  
  1268.     One of the LEDs on the under side of the mouse has probably 
  1269.     "burnt" out.
  1270.  
  1271.     You can probably repair it yourself(if you can get a replacement 
  1272.     LED and you know how to use a Soldiering Iron) by following
  1273.     a set of directions available from thor.ece.uc.edu. Get the
  1274.     file /pub/sun-faq/mouse.fix.
  1275.  
  1276.     Finally, you should try turning your mouse pad 90 degrees and
  1277.     see if that corrects the problem.
  1278.  
  1279.         Note: Also, you may have one of the bad mice that came with
  1280.           early SS-1 shipments.  The LED on the underside of the 
  1281.           mouse can fail.  Request a replacement from Sun.
  1282.     
  1283.  
  1284. 51)    What do the following undefined symbols mean(dlopen, and dlclose)?
  1285.  
  1286.     If you have just installed a new shared library under 4.1.2 or
  1287.     greater you need to modify the Makefile for the shared libraries
  1288.     and re-install. You will need to change the following line
  1289.  
  1290.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp`
  1291.     to read 
  1292.         ld -assert pure-text `${OBJSORT} lorder-sparc tmp` -ldl
  1293.  
  1294.     Note: You should change both such lines.
  1295.  
  1296.     If the above problem is not the case, you may need to install
  1297.     the "Linker Jumbo Patch"(Patch id# 100257-03 or greater). 
  1298.  
  1299. 52)    What does "No network locking on host" mean after upgrading to
  1300.     Solaris 2.0?
  1301.  
  1302.     Your SunOS 4.x(or above) machines are running an old version
  1303.     of rpc.lockd. You need to get and install patch number 
  1304.     100075-09 to correct this problem.
  1305.  
  1306. 53)    Does Password Aging work with NIS(YP) ?
  1307.  
  1308.     Password aging will only work under SunOS 5.0 with NIS+.
  1309.  
  1310.     Sun does not support password aging under NIS(OS version
  1311.     to 4.1.3). The rpc.yppasswdd needs to modified to 
  1312.     make password aging work. 
  1313.  
  1314. 54)    What does "rpc.lockd: Cannot contact status monitor!" mean?
  1315.     
  1316.     For some reason rpc.lockd can not talk to rpc.statd. 
  1317.  
  1318.     Check to see if rpc.statd is running. If rpc.statd
  1319.     is not running re-start it. If rpc.statd is running, 
  1320.     kill it and restart it. 
  1321.  
  1322.     To get rpc.statd to re-start you may need to
  1323.     remove the /etc/sm and /etc/sm.bak directories.
  1324.  
  1325. 55)    How do I join the Sun User Group(SUG)?
  1326.  
  1327.     Here is the information on joining SUG.
  1328.  
  1329.         Sun User Group, Inc.
  1330.         1330 Beacon Street, Suite 315
  1331.         Brookline, MA 02146
  1332.         USA
  1333.         voice: +1 617 232-0514        fax: +1 617 232-1347
  1334.         office@sug.org 
  1335.  
  1336.     With your membership you get the following:
  1337.         
  1338.         *  Vendor Discounts
  1339.         *  Technical Conferences
  1340.         *  Software Distribution
  1341.         *  README Newsletter
  1342.         *  Annual Exhibits
  1343.         *  Local User Group Support
  1344.         *  Newsgroup comp.org.sug 
  1345.  
  1346.  
  1347. 56)    How do I increase the number of "pseudo" terminals(ptys) ?
  1348.  
  1349.     To add more ptys you must install a new kernel. 
  1350.  
  1351.     The default number of "ptys" is  48.  To get more "ptys" 
  1352.     change the kernel config line "pseudo-device pty" to 
  1353.     "pseudo-device pty#" where '#" is the number of "ptys"
  1354.     you want. 
  1355.  
  1356.     Be warned the maximum number you can have is 255(don't use 256,
  1357.     this wraps to 0)
  1358. -- 
  1359. Rob Montjoy                           - Rob.Montjoy@UC.Edu
  1360. Computer Engineer                      - montjoy@ucbeh.BITNET
  1361. University of Cincinnati              - montjoy@babbage.ece.uc.edu
  1362. Electrical and Computer Engineering    - uunet!uceng!rmontjoy
  1363.  
  1364. --  To Save the Earth. The Humans must die.
  1365.  
  1366. -- 
  1367. Rob Montjoy                           - Rob.Montjoy@UC.Edu
  1368. Computer Engineer                      - montjoy@ucbeh.BITNET
  1369. University of Cincinnati              - montjoy@babbage.ece.uc.edu
  1370. Electrical and Computer Engineering    - uunet!uceng!rmontjoy
  1371.  
  1372. --  To Save the Earth. The Humans must die.
  1373.  
  1374.