home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / sun / admin / 7987 < prev    next >
Encoding:
Internet Message Format  |  1992-11-05  |  50.2 KB

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