home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / sgi / faq / admin next >
Encoding:
Internet Message Format  |  2001-07-06  |  91.0 KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!enews.sgi.com!news.tamu.edu!sgi-faq
  2. From: sgi-faq@viz.tamu.edu (The SGI FAQ group)
  3. Newsgroups: comp.sys.sgi.misc,comp.answers,news.answers
  4. Subject: SGI admin Frequently Asked Questions (FAQ)
  5. Supersedes: <admin_993016817@viz.tamu.edu>
  6. Followup-To: comp.sys.sgi.misc
  7. Date: 6 Jul 2001 05:59:41 GMT
  8. Organization: Visualization Lab, Texas A&M University
  9. Lines: 2226
  10. Approved: news-answers-request@mit.edu
  11. Expires: 3 Aug 2001 06:00:15 GMT
  12. Message-ID: <admin_994399215@viz.tamu.edu>
  13. Reply-To: sgi-faq@viz.tamu.edu (The SGI FAQ group)
  14. NNTP-Posting-Host: viz.tamu.edu
  15. NNTP-Posting-Date: 6 Jul 2001 05:59:41 GMT
  16. Originator: sgi-faq@viz.tamu.edu
  17. Xref: senator-bedfellow.mit.edu comp.sys.sgi.misc:57361 comp.answers:46106 news.answers:210658
  18.  
  19. Archive-name: sgi/faq/admin
  20. Last-modified: Tue Jun 20  1:00:03 CDT 2000
  21. Posting-Frequency: Twice monthly
  22. URL: http://www-viz.tamu.edu/~sgi-faq/
  23.  
  24.     SGI admin Frequently Asked Questions (FAQ)
  25.  
  26. This is one of the Silicon Graphics FAQ series, which consists of:
  27.  
  28.     SGI admin FAQ - IRIX system administration
  29.     SGI apps FAQ - Applications and miscellaneous programming
  30.     SGI audio FAQ - Audio applications and programming
  31.     SGI diffs FAQ - Changes to the other FAQs since the last posting
  32.     SGI graphics FAQ - Graphics and user environment customization
  33.     SGI hardware FAQ - Hardware
  34.     SGI impressario FAQ - IRIS Impressario
  35.     SGI inventor FAQ - IRIS Inventor
  36.     SGI misc FAQ - Introduction & miscellaneous information
  37.     SGI movie FAQ - Movies
  38.     SGI performer FAQ - IRIS Performer
  39.     SGI pointer FAQ - Pointer to the other FAQs
  40.     SGI security FAQ - IRIX security
  41.  
  42. Read the misc FAQ for information about the FAQs themselves. Each FAQ is
  43. posted to comp.sys.sgi.misc and to the news.answers and comp.answers
  44. newsgroups (whose purpose is to store FAQs) twice per month. If you
  45. can't find one of the FAQs with your news program, you can get it from
  46.  
  47.     ftp://viz.tamu.edu/pub/sgi/faq/
  48.     ftp://rtfm.mit.edu/pub/usenet/news.answers/sgi/faq/
  49.  
  50. (rtfm.mit.edu is home to many other FAQs and informational documents,
  51. and is a good place to look if you can't find an answer here.) The FAQs
  52. are on the World Wide Web at
  53.  
  54.     http://www-viz.tamu.edu/~sgi-faq/
  55.  
  56. If you can't use FTP or WWW, send mail to mail-server@rtfm.mit.edu with
  57. the word 'help' on a line by itself in the text, and it will send you a
  58. document describing how to get files from rtfm.mit.edu by mail. Send the
  59. command 'send usenet/news.answers/sgi/faq/misc' to get the SGI misc FAQ,
  60. and similarly for the other FAQs. Send the command 'send
  61. usenet/news.answers/internet-services/access-via-email' to get the
  62. "Accessing the Internet by E-Mail FAQ".
  63.  
  64. You may distribute the SGI FAQs freely and we encourage you to do so.
  65. However, you must keep them intact, including headers and this notice,
  66. and you must not charge for or profit from them. Contact us for other
  67. arrangements. We can't be responsible for copies of the SGI FAQs at
  68. sites which we do not control, and copies published on paper or CD-ROM
  69. are certain to be out of date. The contents are accurate as far as we
  70. know, but the usual disclaimers apply. Send additions and changes to
  71. sgi-faq@viz.tamu.edu.
  72.  
  73. Topics covered in this FAQ:
  74. ---------------------------
  75.    -1- DIAGNOSTICS
  76.    -2- How can I determine which release of IRIX I'm running and which
  77.        patches are applied?
  78.    -3- How can I determine my SGI's Ethernet (and/or FDDI) address?
  79.    -4- My SGI crashed and generated a file, /usr/adm/crash/vmcore.1. How
  80.        can I examine this file to see what crashed my system?
  81.    -5- How can I find out just about everything about my system at once?
  82.    -6- DISKS
  83.    -7- How big can files and filesystems be?
  84.    -8- My XFS filesystem is corrupt or inconsistent.  How do I fix it?
  85.    -9- Does IRIX support sparse files?
  86.   -10- Why is /debug or /proc full of huge files?
  87.   -11- How do I remount the /proc filesystem after accidentally
  88.        unmounting it?
  89.   -12- How do I extend an existing filesystem onto a new disk?
  90.   -13- How do I know if I need more memory and/or swap space?
  91.   -14- How much swap space should I have per megabyte of memory?
  92.   -15- How can I increase my swap space?
  93.   -16- What are virtual and logical swap space? How do they work in IRIX
  94.        3.x, 4.0.x and 5.x?
  95.   -17- Why is there no way to set up a RAM disk under IRIX?
  96.   -18- BOOTING
  97.   -19- How can I boot directly into single-user mode?
  98.   -20- How can I boot from a non-default disk?
  99.   -21- How can I boot my machine using a server on the other side of a
  100.        router?
  101.   -22- How do I make a bootable tape from an IRIX CD?
  102.   -23- Why can't I boot one of the stand-alone programs on a tape or CD?
  103.   -24- INSTALLING
  104.   -25- Is it possible to remotely install IRIX over a network?
  105.   -26- Which IRIX CD is the program 'foo' on?
  106.   -27- How can I extract a single file from an 'inst' subsystem?
  107.   -28- Why doesn't 'inst' work?
  108.   -29- Why doesn't 'inst' work remotely?
  109.   -30- I just installed a new version of IRIX and file X is missing.
  110.        What should I do?
  111.   -31- I reinstalled an IRIX subsystem to restore a missing file or get
  112.        rid of a corrupted file, but it didn't help. Why not?
  113.   -32- Why do 'inst' and 'showprods' say that a subsystem is an "Unknown
  114.        product entry"?
  115.   -33- How can I install IRIX onto a second disk which I can then move
  116.        to another machine?
  117.   -34- How can I copy my system disk onto a second disk which I can then
  118.        move to another machine?
  119.   -35- How can I share parts of IRIX among multiple machines?
  120.   -36- Can I install a "tardist" archive without the "tardist" software?
  121.   -37- I'm running 6.5.x, why can't I install the compilers?
  122.   -38- NETWORKING
  123.   -39- Why isn't my network working?
  124.   -40- How can I measure my network's reliability?
  125.   -41- How do I add a static route?
  126.   -42- How can I make the 'slip' command advertise the Ethernet address
  127.        of the SLIP client?
  128.   -43- I've just edited inetd.conf, and nothing changed. Why?
  129.   -44- Why can't I 'rdist' files between Suns and SGIs?
  130.   -45- Why are there "satwrite failure: inetd" messages in my SYSLOG in
  131.        IRIX 5.3?
  132.   -46- What is causing the "get interface flags" error in my syslog?
  133.   -47- Why are network connections between SGIs and Suns much slower
  134.        than between SGIs and SGIs or Suns and Suns?
  135.   -48- How can I set up IP aliases?
  136.   -49- Where is ipfilterd documented?
  137.   -50- MAIL
  138.   -51- How can I set up 'sendmail' to pass (or not pass) 8-bit
  139.        characters?
  140.   -52- Why are my mailbox files changing ownership?
  141.   -53- Why isn't a valid user getting their mail?
  142.   -54- How can SGIs and Suns share a mail spool?
  143.   -55- What's an "unknown mailer error"?
  144.   -56- What's "mailbox: Error 0"?
  145.   -57- Why am I having problems with my NFS-mounted mail spool?
  146.   -58- Why are incoming mail addresses case-sensitive in IRIX 5.3?
  147.   -59- NFS
  148.   -60- How can I tell what hostname to use in /etc/exports?
  149.   -61- Why can't I export an NFS-mounted filesystem?
  150.   -62- Why can't Ultrix automount SGI filesystems?
  151.   -63- Why does 'tar' work strangely on a filesystem mounted from an
  152.        SGI?
  153.   -64- Why does 'df' report incorrect numbers for a filesystem mounted
  154.        from a Sun?
  155.   -65- Is 'pcnfsd' available for the SGI?
  156.   -66- Can I export a CD-ROM from my SGI to a non-SGI?
  157.   -67- How can I read an IRIX (EFS) CD-ROM on a machine which doesn't
  158.        use EFS?
  159.   -68- How can I get quotas to work on an NFS filesystem?
  160.   -69- Why can't some NFS clients NFS-mount IRIX 5.2 filesystems?
  161.   -70- What's NFS3?
  162.   -71- Why can't Solaris 2.5 clients read directories on NFS3-mounted
  163.        IRIX 6.2 filesystems?
  164.   -72- Why does my NFS server print "fhtovp_end VFS_GET failed" or
  165.        "fhtovp_end vp NULL" to the console/SYSLOG?
  166.   -73- PRINTING
  167.   -74- Why can't lp(1) read my file?
  168.   -75- How can I tell 'lp' to turn banner printing or page reversal off
  169.        or on?
  170.   -76- How can I use 'lpr' instead of or as well as 'lp'?
  171.   -77- How can I print to a printer with a JetDirect card?
  172.   -78- Why won't lpr(1) print very large files?
  173.   -79- SGI DAEMONS
  174.   -80- Why isn't the objectserver working?
  175.   -81- What is sending packets to the sgi-dog.mcast.net multicast
  176.        address?
  177.   -82- Why are the objectserver and directoryserver taking up so much
  178.        memory in IRIX 5.3?
  179.   -83- Why don't the desktop admin tools recognize root as a privileged
  180.        user?
  181.   -84- Why doesn't my desktop deal properly with the CD or tape icons?
  182.   -85- Why doesn't my mediad start up under IRIX 5.3?
  183.   -86- Why do cdman, cdplayer and capture say "permission denied"?
  184.   -87- Why can't 'cformat' format floptical disks, and/or why can't
  185.        'datman' play audio DATs?
  186.   -88- Why is famd hammering my NFS server?
  187.   -89- What is causing "/dev/imon: event queue overflow" in my syslog?
  188.   -90- BUGS
  189.   -91- Why do 'who', 'rusers', etc. show users who aren't really logged
  190.        in?
  191.   -92- What's wrong with ftpd in IRIX 5.2?
  192.   -93- Why isn't /usr/adm/SYSLOG being updated?
  193.   -94- I just edited /etc/inittab, and now I can't start up or shut down
  194.        my SGI! What's wrong?
  195.   -95- Why does timed say "bind: Cannot assign requested address"?
  196.   -96- Why does "ALERT: i2cWaitForXferDone: Xfer Done timeout ERROR"
  197.        appear in my SYSLOG?
  198.   -97- Why has NIS (YP) stopped working under IRIX 6.x?
  199.   -98- MISCELLANEOUS
  200.   -99- How do I set the number of processes allowed on my machine?
  201.  -100- Where can I get a termcap file for 'iris-ansi-net' to install on
  202.        my non-SGI system?
  203.  -101- How can I make my SGI understand strange terminal types from
  204.        other Unix systems?
  205.  -102- Can I change my login shell or other password-file info without
  206.        being superuser?
  207.  -103- How can I administer my Iris without a graphics terminal?
  208.  -104- How can I use the visual admin tools on a system with graphics to
  209.        administer a system without graphics?
  210.  -105- What's /etc/ioctl.syscon?
  211.  -106- Can I log out users automatically?
  212.  -107- How can I change kernel variables and/or rebuild my kernel?
  213.  
  214. ----------------------------------------------------------------------
  215.  
  216. Subject:    -1- DIAGNOSTICS
  217. Date: 15 May 1994 00:00:01 EST
  218.  
  219.   These questions discuss how to find out things about your system.
  220.  
  221. ------------------------------
  222.  
  223. Subject:    -2- How can I determine which release of IRIX I'm running
  224.                 and which patches are applied?
  225. Date: 28 Apr 2000 11:58:53 PDT
  226.  
  227.   On pre-6.5 systems, a 'uname -a' will give you the Irix version of
  228.   the currently running kernel. The 6.5.x release added the '-R' flag
  229.   which reports the current revision number (e.g. 6.5.6m). See the
  230.   uname(1) manpage for other options.
  231.  
  232.   Of more general use, since the running kernel does not always
  233.   reflect installed software, is the versions(1M) command.  'versions'
  234.   with no arguments provides a full listing all the installed software
  235.   components.  'versions -b | grep patch ' provides a brief listing of
  236.   installed patches.  Note that the use of patches is depricated in the
  237.   6.5 release stream.  Software subsystems are now "updated" so in with
  238.   a few exceptions (e.g. systems running legato networker), there should
  239.   be no patches installed.
  240.  
  241.   IRIX 5.2's System Manager ('chost') has the IRIX version number under
  242.   "IRIX Version" and a listing of installed software under "Software"
  243.   (the "Show Installed" button).
  244.  
  245. ------------------------------
  246.  
  247. Subject:    -3- How can I determine my SGI's Ethernet (and/or FDDI)
  248.                 address?
  249. Date: 4 Jun 1997 00:00:01 EST
  250.  
  251.   Many thanks to Miguel Sanchez <miguel@oasis.csd.sgi.com> for
  252.   providing the original version of the following discussion, and to
  253.   Dave Olson <olson@sgi.com> for comments. Andrew Cherenson
  254.   <arc@sgi.com> reminded us that all these methods except the first
  255.   apply to FDDI as well, but we'll just say "Ethernet" below.
  256.  
  257.   Every system on an Ethernet network must have a unique Ethernet
  258.   address for the network to operate properly. The physical Ethernet
  259.   address of your system is the unique number assigned to the Ethernet
  260.   hardware on your system. This unique number is assigned to the
  261.   manufacturer of your Ethernet hardware by the IEEE (formerly by
  262.   Xerox, one of the original developers of Ethernet). This is not to be
  263.   confused with the IP address, which can be set arbitrarily.
  264.  
  265.   You may need to determine your system's Ethernet address if your
  266.   network manager requires it before connecting your system to a
  267.   network.  How to do so depends on whether IRIX is running and what
  268.   operating system version is loaded.  Method 1 only provides the
  269.   Ethernet address of the primary interface.  If you have multiple
  270.   Ethernet interfaces (boards) in a system, use method 2, 3, 4 or 5 to
  271.   determine the address(es) of any other interface(s).
  272.  
  273.   METHOD 1: eaddr
  274.  
  275.       If IRIX is not running, and the system is a Personal IRIS (4D20,
  276.       25, 30, or 35), Indigo, Crimson, Onyx, Challenge, Indy, O2, 
  277.       or Indigo2, you can obtain the Ethernet address by typing 'eaddr'
  278.       (older machines) or 'printenv eaddr' (newer) at the PROM monitor .
  279.       prompt.  On some machines (4D30 or later) you can say 'nvram eaddr'
  280.       while IRIX is running to get the same result.
  281.  
  282.   METHOD 2: netstat
  283.  
  284.       Under IRIX 4.0.1 or later, you can use the netstat command. For
  285.       example,
  286.  
  287.       % /usr/etc/netstat -ia
  288.       Name  Mtu    Network   Address            Ipkts   Ierrs   Opkts  Oerrs  Coll
  289.       ec0   1500   siligrph  luey7              7765678 21648  384477     0  30338
  290.                   192.48.200.251
  291.                   192.0.0.1
  292.                   08:00:69:06:17:c2
  293.       lo0   32880  loopback localhost           41438       0   41438     0      0
  294.                   192.0.0.1
  295.  
  296.       As seen on the fourth address line, the address of the system
  297.       luey7's primary Ethernet interface, "ec0", is 08:00:69:06:17:c2.
  298.  
  299.   METHOD 3: arp
  300.  
  301.       You can obtain the Ethernet address of a Silicon Graphics system
  302.       by using another system on your network. 'ping' the system whose
  303.       Ethernet address you want, then use 'arp'. For example,
  304.  
  305.       % /usr/etc/ping -c 1 luey6
  306.       PING luey6.sgi.com (192.48.200.250): 56 data bytes
  307.       64 bytes from 192.48.200.250: icmp_seq=0 ttl=255 time=0 ms
  308.       ----luey6.sgi.com PING Statistics----
  309.       3 packets transmitted, 3 packets received, 0% packet loss
  310.       round-trip (ms)  min/avg/max = 0/0/0
  311.       % /usr/etc/arp luey6
  312.       luey6 (192.48.200.250) at 8:0:69:6:c:40
  313.       %
  314.  
  315.   METHOD 4: NetVizualyzer/FDDIVizualyzer and the like
  316.  
  317.       SGI's NetVizualyzer/FDDIVizualyzer network monitoring software
  318.       and at least one public domain equivalent ('netman', at
  319.       ftp://ftp.cs.curtin.edu.au/pub/netman/) allow you to find the
  320.       Ethernet address corresponding to any IP address. Read the
  321.       manual.
  322.  
  323.   METHOD 5: System Manager
  324.  
  325.       The Network Setup part ('cnet') of the Indigo Magic System Manager 
  326.       tool ('chost') shows the Ethernet address of each interface.
  327.  
  328.   4DDN: A Special Case
  329.  
  330.       DECnet uses a one-to-one relationship between the DECnet node ID
  331.       and the Ethernet address. If the DECnet address is changed the
  332.       Ethernet address is changed. DECnet Ethernet addresses always
  333.       start with aa:, so you can identify systems running DECnet with
  334.       'arp -a'.
  335.  
  336.       4DDN is Silicon Graphics' DECnet interconnection product. The
  337.       Ethernet address of an IRIS running 4DDN will change when 4DDN is
  338.       started.  Method 1 will return the original Ethernet address for
  339.       the system.  Methods 2-5 will show the Ethernet address currently
  340.       in use.
  341.  
  342.   sysinfo
  343.  
  344.       /etc/sysinfo is intended to return a unique identifier, which on
  345.       some machines includes part or all of the Ethernet address. This
  346.       is best regarded as an amusing coincidence, like HAL's name in
  347.       "2001".  Don't rely on it.
  348.  
  349.   You can find an Ethernet address from a program most efficiently by
  350.   using the SIOCGIFADDR ioctl on a raw socket (SOCK_RAW) using the
  351.   RAWPROTO_SNOOP protocol (thanks to David Peter
  352.   <davep@isltd.insignia.com>) but the program must run as root. If you
  353.   can't run as root, call one of the above programs with system().
  354.  
  355. ------------------------------
  356.  
  357. Subject:    -4- My SGI crashed and generated a file,
  358.                 /usr/adm/crash/vmcore.1. How can I examine this file to
  359.                 see what crashed my system?
  360. Date: 28 Apr 2000 11:58:53 PDT
  361.  
  362.   Under Irix 5.3 and above a system crash will generate a number of 
  363.   files in the /var/adm/crash directory. These files appear in numbered
  364.   sets, with each number (n) corresponding to an event. These files
  365.   include: unix.n (a copy of the kernel), vmcore.n.comp (a compressed 
  366.   dump of the memory), and analysis.n (an analysis file generated by the
  367.   system using the icrash kernel debugger). Note that these files are
  368.   created only is savecore is chkconfig'd on.
  369.  
  370.   Simply viewing the analysis file can often lead to clues regarding the
  371.   reason behind a system crash. 'icrash' can also be run manually. See the
  372.   icrash(1) manpage for details.
  373.  
  374.   SGI's 'icrash' utility can generate helpful reports and allow
  375.   experienced administrators and support people to sift through the core
  376.   file.  Get patch 813 for IRIX 5.3 or patch 769 for IRIX 6.1.  icrash
  377.   is part of eoe.sw.unix (and therefore installed by default) on IRIX
  378.   6.2 and above.
  379.  
  380.   For machines which lack the icrash utility:
  381.  
  382.     dbx -k /var/adm/crash/{unix,vmcore}.#
  383.     t
  384.     &putbuf/1000s
  385.  
  386.   Some machines have a special 'dbx' for crash dumps,
  387.   /usr/adm/crash/dbx.  If it exists, use it instead of /usr/bin/dbx.
  388.  
  389.   The IRIX 5.x Electronic Services package includes a script, 'crpt',
  390.   which does this and more automagically. A copy of the IRIX 5.2
  391.   version lives at ftp://viz.tamu.edu/pub/sgi/software/admin/crpt.
  392.  
  393. ------------------------------
  394.  
  395. Subject:    -5- How can I find out just about everything about my system
  396.                 at once?
  397. Date: 06 Apr 1996 00:00:01 EST
  398.  
  399.   IRIX comes with hinv(1M) and gfxinfo(1G). If that's not enough, get
  400.   Michael Cooper <mcooper@acamar.usc.edu>'s 'sysinfo', recently ported
  401.   to IRIX, from ftp://usc.edu/pub/sysinfo/. Change "PROG" in the
  402.   Makefile from "sysinfo" to "Sysinfo" so it doesn't get in the way of
  403.   /sbin/sysinfo, which isn't nearly as entertaining but which other
  404.   software may require. This is probably also a good place to mention
  405.   Dave Olson's 'scsicontrol', at
  406.   http://reality.sgi.com/employees/olson/Olson/.
  407.  
  408. ------------------------------
  409.  
  410. Subject:    -6- DISKS
  411. Date: 15 May 1994 00:00:01 EST
  412.  
  413.   These questions deal with disks and swap space.
  414.  
  415. ------------------------------
  416.  
  417. Subject:    -7- How big can files and filesystems be?
  418. Date: 15 Jun 1996 00:00:01 EST
  419.  
  420.   A file on an EFS filesystem can be only 2G in size. The filesystem can
  421.   be no more than 8G in size, whether or not it is on a logical volume.
  422.   A physical or logical volume can be larger than 8G, but not usefully
  423.   so: mkfs still can't make a filesystem larger than 8G on it. (Each
  424.   block (512 bytes) has a unique number which must fit into 24 bits; 512
  425.   * 2^24 = 8G. See also inode(4).)
  426.  
  427.   Note that 'fx' had a bug in versions of IRIX before 4.0.5H which
  428.   prevented it from *exercising* disks larger than 2G, but other 'fx'
  429.   functions and other parts of IRIX have no trouble with disks
  430.   (filesystems) up to 8G.
  431.  
  432.   Files and filesystems on SGI's new XFS filesystem can be 1 terabyte
  433.   (1K gigabytes) in size. On 64-bit machines running IRIX 6.2, a file
  434.   will be able to be 9 exabytes (9 gigagigabytes) in size and a
  435.   filesystem will be able to be 18 exabytes in size.  See the misc FAQ
  436.   under "WWW pages" for a pointer to a demonstration.
  437.  
  438. ------------------------------
  439.  
  440. Subject:    -8- My XFS filesystem is corrupt or inconsistent.  How do I
  441.                 fix it?
  442. Date: 28 Apr 2000 11:58:53 PDT
  443.  
  444.   Under IRIX 6.2, get the latest XFS rollup patch and install it.
  445.   (At the time of this writing, the latest XFS rollup patch was patch
  446.   1768.)  This patch comes with xfs_repair, a tool that can often fix
  447.   corrupted XFS filesystems.  (If the partition you wish to repair is
  448.   your boot partition, you will have to boot from the miniroot that
  449.   comes with the patch and run xfs_repair from it.)  Actual installation
  450.   of the patch requires the installation of one of the recent kernel
  451.   rollup patches; read the XFS rollup patch release notes before doing
  452.   anything else with it.
  453.  
  454.   Under the 6.5.x release stream, 'xfs_repair' and 'xfs_check' are
  455.   installed by default as part of eoe.sw.base. Please note that xfs
  456.   check and repair operations are performed on unmounted filesystems.
  457.   See the xfs_repair(1) manpage for details. Also, it is best to
  458.   do an initial scan on a damaged filesystem using 'xfs_repair -n',
  459.   (no modify mode) as extremely corrupted filesystems can occasionally
  460.   cause an xfs_repair to fail with a core dump.
  461.  
  462. ------------------------------
  463.  
  464. Subject:    -9- Does IRIX support sparse files?
  465. Date: 09 Dec 1995 00:00:01 EST
  466.  
  467.   EFS does not; XFS does.
  468.  
  469. ------------------------------
  470.  
  471. Subject:   -10- Why is /debug or /proc full of huge files?
  472. Date: 10 Dec 1993 00:00:01 EST
  473.  
  474.   Those aren't disk files, they're interfaces to running processes.
  475.   Read the debug(4) (IRIX 4.0.x) and/or proc(4) (IRIX 5.x) manpages.
  476.  
  477. ------------------------------
  478.  
  479. Subject:   -11- How do I remount the /proc filesystem after accidentally
  480.                 unmounting it?
  481. Date: 4 Jun 1997 00:00:01 EST
  482.  
  483.   Run /etc/mntproc as root.
  484.  
  485. ------------------------------ 
  486.  
  487. Subject:   -12- How do I extend an existing filesystem onto a new disk?
  488. Date: 28 Apr 2000 11:58:53 PDT
  489.  
  490.   Back up the existing filesystem (just in case) then run 'mklv' and
  491.   'growfs'. 'mklv' and 'growfs' are nondestructive, so you don't need
  492.   to restore the backup unless you screw up. Don't use 'mkfs', which
  493.   does destroy existing data.
  494.  
  495.   Under modern IRIX versions (w/ the XFS filesystem) lv (the original
  496.   logical volume manager) has been replaced with xlv. The requisite
  497.   subsystems are _not_ installed by default. If you wish to use logical
  498.   volumes, you must install eoe.sw.xlv, and if you wish to use mirroring
  499.   (RAID 1), you must also install eoe.sw.xlvplex. This option requires a
  500.   license be purchased from sgi.
  501.  
  502.   To simply grow the filesystem to another disk, you must first create a
  503.   concatenated logical volume. This will change the volume headers of the
  504.   target disks and let the system know that they should be treated as one
  505.   volume. You can then use an 'xfs_growfs' to expand the filesystem on to
  506.   the new disk. see the manpages for xlv_make(1), xlv_mgr(1), and
  507.   xfs_growfs(1) for more details.
  508.  
  509.   Please not that it is NOT POSSIBLE to have a successfully striped or
  510.   concatenated root filesystem. The only available logical volume
  511.   configuration for the root filesystem is a mirror (RAID1). Any
  512.   attempt to use another logical volume configuration will most
  513.   likely work until the next system reboot. Since the Logal volume
  514.   management software funtions on the OS level, it is unavailable
  515.   during the inital phases of the boot process. Syncing of the
  516.   mirrored filesystem will occur after the system comes up.
  517.  
  518. ------------------------------
  519.  
  520. Subject:   -13- How do I know if I need more memory and/or swap space?
  521. Date: 20 Feb 1994 00:00:01 EST
  522.  
  523.   If processes are killed due to lack of memory/swap, you need more
  524.   memory and/or swap space. If your CPU is always waiting for swapping
  525.   (run 'osview' and look at the "%Swap" entry under "Wait Ratio") you
  526.   need more memory.
  527.  
  528. ------------------------------
  529.  
  530. Subject:   -14- How much swap space should I have per megabyte of
  531.                 memory?
  532. Date: 4 Jun 1997 00:00:01 EST
  533.  
  534.   An oft-recommended ratio is X memory:2.5 X swap, but this may be too
  535.   low. Decide how much of your favorite program (plus IRIX) needs to
  536.   be resident for good performance and how much doesn't, and make sure
  537.   you have enough memory for the former and enough memory plus swap for
  538.   the latter. Put "rmem" and "swp" in your ~/.grosview file, run
  539.   'gr_osview' and run your favorite program to see what it needs.
  540.  
  541. ------------------------------
  542.  
  543. Subject:   -15- How can I increase my swap space?
  544. Date: 28 Apr 2000 11:58:53 PDT
  545.  
  546.   The Jan/Feb 1993 and May/Jun 94 Pipelines have detailed writeups on how
  547.   to do this in IRIX 4.0.x and 5.x respectively. The Jul/Aug Pipeline
  548.   has a correction to the latter article. If you like you can call the
  549.   TAC and have them fax you the very latest version.
  550.  
  551.   It is also possible to add swapfiles within the filesystem structure.
  552.   You can allocate space for swap in the filesystem by doing a 'mkfile'
  553.   and adding this file to the system as swap space. See mkfile(1) for more
  554.   information. The created file can be added by using a 'swap -a <file>'.
  555.   If you intend this to be a permanent resource, make sure that you add
  556.   an appropriate line to the /etc/fstab file. See the fstab(4) manpage
  557.   for details.
  558.  
  559. ------------------------------
  560.  
  561. Subject:   -16- What are virtual and logical swap space? How do they
  562.                 work in IRIX 3.x, 4.0.x and 5.x?
  563. Date: 05 Jul 1994 00:00:01 EST
  564.  
  565.   Two terms whose meanings should already be clear: Physical swap space
  566.   is an area on disk, either a partition or (in IRIX 5.x) a swap file.
  567.   Virtual memory is the sum of physical memory and swap space.
  568.  
  569.   IRIX 3.x accepts a memory request only if enough virtual memory is
  570.   free. Even if a process isn't using most of the memory it requested
  571.   (which happens often, e.g. when a large process forks and execs a
  572.   small process, or with Fortran 77 programs which allocate all storage
  573.   statically), its memory is unavailable to other processes until it
  574.   exits. IRIX 3.x has no virtual or logical swap space.
  575.  
  576.   In IRIX 4.0.x, IRIX accepts every memory request, and does not
  577.   allocate virtual memory until a process actually tries to use it.
  578.   This allows programs which request more memory than they use to run
  579.   with much less memory than would otherwise be required. If too many
  580.   processes actually use their memory requests so that virtual memory
  581.   is in danger of filling up, IRIX kills one or more processes. IRIX
  582.   usually kills the process which is using the most virtual memory,
  583.   which may well not be the process which most recently requested
  584.   virtual memory.
  585.  
  586.   IRIX 5.x works like IRIX 4.0.x, but one can set the amount of virtual
  587.   memory which IRIX is allowed to overallocate. This amount is called
  588.   "virtual swap space". "Logical swap space" is the sum of physical and
  589.   virtual swap. There is no virtual swap space by default, so IRIX 5.x
  590.   behaves like IRIX 3.x. One can set virtual swap to any amount of
  591.   memory; if it is set sufficiently high, memory requests will always
  592.   be granted, just like IRIX 4.0.x. Using jargon retroactively, IRIX
  593.   4.0.x has an infinite amount of virtual swap space.
  594.  
  595.   Large or infinite amounts of virtual swap space work well for many
  596.   people, because most programs don't use all the virtual memory they
  597.   request, at least not at once. If your programs do use all their
  598.   virtual memory, they'll be killed and you'll see "Process killed due
  599.   to insufficient memory/swap" messages in your SYSLOG.
  600.  
  601.   Under IRIX 4.0.x, you can only turn virtual swap off completely by
  602.   setting the kernel variable availsmem_accounting to 1. Doing so makes
  603.   IRIX 4.0.x behave like IRIX 3.x, allocating memory only if it is
  604.   actually available.
  605.  
  606.   Under IRIX 5.x, you can turn virtual swap on or off by doing
  607.   'chkconfig vswap off' or 'chkconfig vswap on', or change the size of
  608.   virtual swap by editing /etc/config/vswap.options, and rebooting. You
  609.   can also use 'swap -v' to do any of these things directly and without
  610.   rebooting.
  611.  
  612.   Remember that IRIX 5.x comes with virtual swap turned off and set to
  613.   zero.  If you were happy with IRIX 4.0.x, you should turn virtual
  614.   swap on and set its size to a very large number. If programs are
  615.   killed, decrease the size of virtual swap or turn it off.
  616.  
  617.   See the swap(1M) and swapctl(2) manpages for details.
  618.  
  619. ------------------------------
  620.  
  621. Subject:   -17- Why is there no way to set up a RAM disk under IRIX?
  622. Date: 29 Apr 1995 00:00:01 EST
  623.  
  624.   IRIX has no way to set up a RAM disk (a personal computerish term for
  625.   a part of memory which can be used like a very fast disk) because it
  626.   already has a sophisticated disk caching mechanism, which will
  627.   probably do a better job of minimizing disk reads than you would if
  628.   you were deciding what to put on a RAM disk.
  629.  
  630. ------------------------------
  631.  
  632. Subject:   -18- BOOTING
  633. Date: 15 May 1994 00:00:01 EST
  634.  
  635.   As the song says, "There must be fifty ways to boot your Iris."
  636.  
  637. ------------------------------
  638.  
  639. Subject:   -19- How can I boot directly into single-user mode?
  640. Date: 8 Mar 1996 00:00:01 CST
  641.  
  642.   Use the PROM monitor's 'single' command.
  643.  
  644.   For machines earlier than 4D35s, whose PROMs don't have that command,
  645.   first boot into sash from the PROM monitor with "boot", then type
  646.   "boot initstate=s".
  647.  
  648. ------------------------------
  649.  
  650. Subject:   -20- How can I boot from a non-default disk?
  651. Date: 31 May 1995 00:00:01 CST
  652.  
  653.   Says Justin Mason <jmason@iona.ie>: If your disk is SCSI ID 4, do
  654.  
  655.     boot -f dksc(0,4,8)sash dksc(0,4,0)unix root=dks0d4s0
  656.  
  657.   or
  658.  
  659.     setenv bootfile dksc(0,4,8)sash
  660.     setenv path dksc(0,4,8)
  661.     setenv root dks0d4s0        # This is the tricky part 
  662.     auto
  663.  
  664.   from the PROM. The first method works once, so that subsequent
  665.   reboots use SCSI ID 1, and the second method sets the PROM to boot
  666.   from ID 4 every time (until you reset the PROM variables).
  667.  
  668.   Dave Olson <olson@sgi.com> adds: "If you have a separate / and /usr,
  669.   you'll probably want to add 'initstate=s' at least the first time, or
  670.   the usr partition on your normal root will be mounted.  Boot in single
  671.   user, then do 'cd /dev; ./MAKEDEV disklinks; multi'.  After this, you
  672.   won't need 'initstate=s' since the link will now be to the usr
  673.   partition on the alternate boot disk.
  674.  
  675. ------------------------------
  676.  
  677. Subject:   -21- How can I boot my machine using a server on the other
  678.                 side of a router?
  679. Date: 24 Jan 1994 00:00:01 EST
  680.  
  681.   Tell the router to forward BOOTP packets. If it can't, NFS-mount the
  682.   remote volumes on another machine on the same subnet and use the
  683.   nearby machine for your boot server.
  684.  
  685. ------------------------------
  686.  
  687. Subject:   -22- How do I make a bootable tape from an IRIX CD?
  688. Date: 03 Sep 1995 00:00:01 EST
  689.  
  690.   See the Sep/Oct 1993 Pipeline and/or
  691.   ftp://viz.tamu.edu/pub/sgi/software/admin/making-bootable-tape for a
  692.   detailed description, or just follow Dave Olson <olson@sgi.com>'s
  693.   summary: Take a look at the distcp(1M) manpage, and do something like
  694.  
  695.       tapehost# mount -o ro cdhost:/CDROM /mnt
  696.       tapehost# distcp /mnt/dist /dev/nrtape
  697.  
  698.   Note that 'fx', 'ide', and 'sash' for all machines are in the dist/sa
  699.   file.  'sa' is an image of the first part of the tape; use 'mkbootape
  700.   -f sa -l' to see the contents.
  701.  
  702. ------------------------------
  703.  
  704. Subject:   -23- Why can't I boot one of the stand-alone programs on a
  705.                 tape or CD?
  706. Date: 03 Apr 1994 00:00:01 EST
  707.  
  708.   One reason is that some CPU names are preceded by periods and some
  709.   aren't. Another is that the Indigo R4000 and later CPUs use the
  710.   suffix 'ARCS', not 'IP20' or whatever as one might expect from
  711.   'hinv'. For example, the correct command to boot fx directly from the
  712.   PROM monitor on an Indigo R4000 is 'boot -f dksc(ctlr,unit,8)sashARCS
  713.   dksc(ctlr,unit,7)stand/fx.ARCS'. Note the use of 'ARCS' instead of
  714.   'IP20' and the missing period in 'sashARCS'.
  715.  
  716. ------------------------------
  717.  
  718. Subject:   -24- INSTALLING
  719. Date: 15 May 1994 00:00:01 EST
  720.  
  721.   These questions discuss software installation.
  722.  
  723. ------------------------------
  724.  
  725. Subject:   -25- Is it possible to remotely install IRIX over a network?
  726. Date: 20 May 1993 00:00:01 CST
  727.  
  728.   Yes. You can install IRIX from a remote machine which has a CD-ROM, a
  729.   tape drive, or an IRIX distribution directory.  All of these
  730.   scenarios (and several others) are described in detail in the "IRIS
  731.   Software Installation Guide".  Examples are provided.
  732.  
  733. ------------------------------
  734.  
  735. Subject:   -26- Which IRIX CD is the program 'foo' on?
  736. Date: 25 May 1994 00:00:01 EST
  737.  
  738.   Mount the CD and try 'grep foo /CDROM/dist/*.idb'. If you don't get
  739.   any output, 'foo' isn't on that CD. If you do, it is, and one of the
  740.   fields is the subsystem in which 'foo' lives. Entries in *.idb files
  741.   don't have a leading slash so you must leave it out if you grep for a
  742.   full path, e.g. 'grep usr/bin/lp /CDROM/dist/*.idb', not 'grep
  743.   /usr/bin/lp /CDROM/dist/*.idb'.
  744.  
  745. ------------------------------
  746.  
  747. Subject:   -27- How can I extract a single file from an 'inst'
  748.                 subsystem?
  749. Date: 05 Feb 1995 00:00:01 EST
  750.  
  751.   Under IRIX 5.2 and earlier, you need to be clever. 'inst' guru Paul
  752.   Jackson <pj@sgi.com> reveals all:
  753.  
  754.   - Find the subsystem in which the file lives, as described in the
  755.     previous question. For this example we'll extract /sbin/ed, which
  756.     lives in eoe1.sw.unix.
  757.  
  758.   - Follow the bouncing prompt:
  759.  
  760.     > su
  761.     > cd /usr/tmp
  762.     > mkdir -p tmproot/var/inst
  763.     > inst -f /CDROM/dist/eoe1 -r /usr/tmp/tmproot
  764.     > Inst> keep *
  765.     > Inst> install eoe1.sw.unix
  766.     > Inst> go
  767.     > Inst> q
  768.     > ls -l /usr/tmp/tmproot/sbin/ed
  769.     -rwxr-xr-x    1 root     sys        75480 May 24 13:57 /usr/tmp/tmproot/sbin/ed
  770.  
  771.   - Move your file somwhere else and 'rm -r /usr/tmp/tmproot'.
  772.  
  773.   - That was under IRIX 5.x. Under IRIX 4.0.x or earlier, use
  774.     '/usr/tmp/tmproot/usr/lib/inst' for a temporary inst directory
  775.     instead of '/usr/tmp/tmproot/var/inst'.
  776.  
  777.   In IRIX 5.3, inst's '-Y' flag allows you to install a single file. See
  778.   inst(1M) for more.
  779.  
  780. ------------------------------
  781.  
  782. Subject:   -28- Why doesn't 'inst' work?
  783. Date: 16 Jan 1994 00:00:01 EST
  784.  
  785.   One possibility is that you're using an old 'inst' with new
  786.   software.  Always use an 'inst' at least as new as what you're
  787.   installing.
  788.  
  789. ------------------------------
  790.  
  791. Subject:   -29- Why doesn't 'inst' work remotely?
  792. Date: 05 May 1994 00:00:01 EST
  793.  
  794.   Usually because it can't log in to the machine with the distribution
  795.   media.  'inst' uses the guest account to do so, so make sure that
  796.   guest on the machine on which you want to install software can rlogin
  797.   to guest on the machine with the distribution media without a
  798.   password.
  799.  
  800. ------------------------------
  801.  
  802. Subject:   -30- I just installed a new version of IRIX and file X is
  803.                 missing. What should I do?
  804. Date: 14 Oct 1995 00:00:01 EST
  805.  
  806.   'inst' doesn't deal well with some cases where a file moves from one
  807.   subsystem to another between IRIX versions. Upgrading may cause such a
  808.   file to disappear entirely. To bring it back, reinstall the subsystem
  809.   to which the file belongs in the newer IRIX with "set neweroverride
  810.   on" in 'inst' (or, equivalently, remove and reinstall the subsystem).
  811.   You might want to install only the missing file; see the entry on
  812.   installing a single file above.
  813.   
  814.   Popular examples of this include several headers in /usr/include/sys
  815.   in IRIX 4.0.5/IDO 4.1.1, which are in eoe1.sw.unix, the mount(1M)
  816.   manpage in IRIX 5.3, which is in eoe1.man.unix, and
  817.   /usr/lib/X11/dyDDX/glx.so, also in 5.3, which is in x_eoe.sw.Server.
  818.  
  819.   One way to detect files which have disappeared in this manner in IRIX
  820.   5.3 is 'showfiles -B'.
  821.  
  822. ------------------------------
  823.  
  824. Subject:   -31- I reinstalled an IRIX subsystem to restore a missing
  825.                 file or get rid of a corrupted file, but it didn't help.
  826.                 Why not?
  827. Date: 13 Apr 1994 00:00:01 EST
  828.  
  829.   'inst' doesn't bother to install a subsystem if the same or a newer
  830.   version is already installed. Tell it to install anyway by saying
  831.   'set neweroverride' before you say 'go'. Removing the subsystem and
  832.   reinstalling it will do more or less the same thing.
  833.  
  834. ------------------------------
  835.  
  836. Subject:   -32- Why do 'inst' and 'showprods' say that a subsystem is an
  837.                 "Unknown product entry"?
  838. Date: 12 May 1996 00:00:01 EST
  839.  
  840.   Paul "Mr. inst" Jackson of SGI <pj@sgi.com> explains two reasons:
  841.  
  842.   - The "orphan" subsystem is a special subsystem for directories in
  843.     which more than one product keeps files. inst will remove these
  844.     directories as they become empty. Do NOT remove the subsystem
  845.     yourself. In fact, you can only see it due to a cosmetic bug in some
  846.     versions of inst.
  847.  
  848.   - The product spec file in /var/inst which describes that subsystem is
  849.     damaged, due either to the usual sort of file-damaging problems or
  850.     to a bug in IRIX 5.3's inst. This also makes inst think that that
  851.     product is version 0, and thus incompatible with every other
  852.     subsystem. There is no patch for the bug. The workaround is to
  853.     reinstall the affected subsystems with all files restricted, so that
  854.     no files are actually installed but the product spec file is
  855.     updated, like so:
  856.   
  857.     inst -f whatever -X/
  858.     Inst> set exclusions        # Should be set to "Value /"
  859.     Inst> keep *
  860.     Inst> install upgrade
  861.     Inst> list i            # Should see the unknown entries
  862.     Inst> go
  863.     Inst> quit
  864.  
  865. ------------------------------
  866.  
  867. Subject:   -33- How can I install IRIX onto a second disk which I can
  868.                 then move to another machine?
  869. Date: 20 Jan 1994 00:00:01 EST
  870.  
  871.   With difficulty. Many parts of the installation process assume that
  872.   you're installing IRIX onto your system disk (SCSI ID 1). Just fiddle
  873.   with SCSI ID switches and/or move disks around to make the disk onto
  874.   which you want to install IRIX the system disk for the duration of
  875.   the installation.
  876.  
  877.   Furthermore, IRIX has many hardware dependencies, so you should only
  878.   move system disks between absolutely identical machines. If you want
  879.   to make a system disk for a machine without a network connection,
  880.   CD-ROM or tape drive, the easiest and safest way is to borrow another
  881.   CD-ROM or tape drive.
  882.  
  883.   If you want to try anyway, Justin Mason <jmason@iona.ie> reports that
  884.   the following works under IRIX 5.1.1:
  885.  
  886.   Set up the disk, e.g. with SCSI id 4, fx a generic "[bo]otable"
  887.   partition setup onto it, and mkfs the partitions. Copy sash, etc.
  888.   from your system disk to the new disk with dvhtool. Boot up the
  889.   miniroot as usual, go into inst, choose "admin" from the menu and do
  890.   the following, replacing SCSI IDs and partition numbers as
  891.   appropriate:
  892.  
  893.     umount /root
  894.     umount /root/usr
  895.     mount /dev/dsk/dks0d4s0 /root
  896.     mount /dev/dsk/dks0d4s6 /root/usr
  897.     mount                # Just to check
  898.     return                # Go back to main inst menu
  899.  
  900.   Then install as you like.
  901.  
  902. ------------------------------
  903.  
  904. Subject:   -34- How can I copy my system disk onto a second disk which I
  905.                 can then move to another machine?
  906. Date: 03 Sep 1995 00:00:01 EST
  907.  
  908.   See the article in the Jul/Aug 1992 Pipeline and the addendum in the
  909.   Nov/Dec 1992 Pipeline, and note that the warning about hardware
  910.   dependencies in the previous question applies here too.  Steve
  911.   Kotsopoulos <steve@ecf.toronto.edu> has written a script which does
  912.   this automatically; you can FTP it from
  913.   ftp://viz.tamu.edu/pub/sgi/software/admin/clonedisk. Be sure to read
  914.   the comments before running it!
  915.  
  916.   If your machine has FlashPROMs, which are normally updated by 'inst',
  917.   you'll need to update them yourself; see flashio(1M) and heed its
  918.   warnings.
  919.  
  920. ------------------------------
  921.  
  922. Subject:   -35- How can I share parts of IRIX among multiple machines?
  923. Date: 15 May 1994 00:00:01 EST
  924.  
  925.   Diskless machines, for one. Share trees, for another. Look in the
  926.   misc FAQ under "WWW pages" for the "IRIX share trees" WWW page.
  927.  
  928. ------------------------------
  929.  
  930. Subject:   -36- Can I install a "tardist" archive without the "tardist"
  931.                 software?
  932. Date: 23 Sep 1995 00:00:01 EST
  933.  
  934.   Certainly. A tardist archive is just a tar archive of an 'inst'
  935.   distribution.  Retrieve the tardist file directly to disk (in Mosaic
  936.   or Netscape one does this by shift-clicking the link to the tardist
  937.   file), name it something.tar, untar it as you would any tar file, and
  938.   install it as you would any inst distribution.
  939.  
  940. ------------------------------
  941.  
  942. Subject:   -37- I'm running 6.5.x, why can't I install the compilers?
  943. Date: 28 Apr 2000 11:58:53 PDT
  944.  
  945.   This is a common problem, having to do with the way that inst deals
  946.   with version numbering. Essentially, the distributions on the
  947.   Development Foundation and Development Libraries are looking for the
  948.   stock 6.5 version of eoe.sw.base. In order to install successfully
  949.   from these distributions, you must have the following distributions
  950.   open (inst under 6.5 supports having multiple open distributions):
  951.   irix-6.5-foundation-1, and overlay disks for your current os level
  952.   (e.g irix-6.5.6-installation-tools-and-overlays-1-of-2-11-99, and
  953.   irix-6.5.6-overlays-2-of-2-11-99)
  954.  
  955.   Once these distributions are open, you should issue a keep *, so
  956.   that nothing will be installed from these distributions. You should
  957.   now be able to install the development system with minimal difficulty.
  958.  
  959. ------------------------------
  960.  
  961. Subject:   -38- NETWORKING
  962. Date: 15 May 1994 00:00:01 EST
  963.  
  964.   These questions discuss general networking.
  965.  
  966. ------------------------------
  967.  
  968. Subject:   -39- Why isn't my network working?
  969. Date: 03 Sep 1995 00:00:01 EST
  970.  
  971.   A list of good things to try is at
  972.   ftp://viz.tamu.edu/pub/sgi/software/admin/network-checklist.
  973.  
  974. ------------------------------
  975.  
  976. Subject:   -40- How can I measure my network's reliability?
  977. Date: 22 Oct 1995 00:00:01 EST
  978.  
  979.   Don't worry about collisions. They are part of normal operation on a
  980.   crowded Ethernet. You *should* worry about late collisions (which are
  981.   logged to the console) and lost packets (which you can easily measure
  982.   with the command 'ping -fs 3000 -c 1000 someotherhost'), which usually
  983.   mean network hardware problems or a misconfigured bridge or router.
  984.  
  985.   See the Ethernet FAQ (posted to comp.dcom.lans.ethernet and FTPable
  986.   from ftp://rtfm.mit.edu/pub/usenet/comp.dcom.lans.ethernet/ and other
  987.   news.answers archives), Chapter 18 of the "IRIX Advanced Site and
  988.   Server Administration Guide" and the Sep/Oct 1993 Pipeline for more.
  989.  
  990. ------------------------------
  991.  
  992. Subject:   -41- How do I add a static route?
  993. Date: 07 Sep 1996 00:00:01 EST
  994.  
  995.   Some sites handle IP routing by designating a routing machine and
  996.   having all other hosts define a static route to that machine. The way
  997.   to do this on SGIs is in the /etc/init.d/network.local script.
  998.  
  999.   1) Read the paragraph just before the copyright at the top of
  1000.      /etc/init.d/network and make the links it specifies.
  1001.  
  1002.   2) Put something like the following in /etc/init.d/network.local,
  1003.      replacing ROUTER'S.IP.ADDRESS.HERE with the address of your router.
  1004.      Under IRIX 6.x, omit the "1" at the end of the same line.
  1005.  
  1006.      #! /bin/sh
  1007.      IS_ON=/sbin/chkconfig
  1008.      case "$1" in
  1009.      'start')
  1010.          if $IS_ON network; then    # network must be chkconfig'ed on
  1011.              /usr/etc/route add default ROUTER'S.IP.ADDRESS.HERE 1
  1012.          fi
  1013.          ;;
  1014.      'stop')
  1015.          /usr/etc/route delete default ROUTER'S.IP.ADDRESS.HERE ;;
  1016.      *)
  1017.          echo "Usage: $0 {start|stop}" ;;
  1018.      esac
  1019.  
  1020.   Check the script with 'sh -v /etc/init.d/network.local'.
  1021.  
  1022.   The above setup will not allow you to NFS-mount (or unmount) disks
  1023.   from the other side of the static route gracefully, because the route
  1024.   will be added after the mount attempt during startup and deleted
  1025.   before the unmount attempt during shutdown. Instead of putting the
  1026.   routing commands in a separate script, put them in /etc/init.d/network
  1027.   itself. Put the 'route add' just after the "$ROUTE $RFLUSHFLAG" line
  1028.   and the 'route delete' after the '/sbin killall mount ...' line.
  1029.  
  1030.   There is no reason to define a static route and also to run routed. If
  1031.   you do so, routed will delete the static route and you'll be confused.
  1032.   'chkconfig routed off'.
  1033.  
  1034.   Under IRIX 6.2 or later, remove the '1' from the end of the 'route
  1035.   add' line.
  1036.  
  1037. ------------------------------
  1038.  
  1039. Subject:   -42- How can I make the 'slip' command advertise the Ethernet
  1040.                 address of the SLIP client?
  1041. Date: 10 Dec 1993 00:00:01 EST
  1042.  
  1043.   You can't. Just add something like
  1044.  
  1045.     /usr/etc/arp -s $USER `netstat -ia | grep :` pub
  1046.  
  1047.   to the shell script in which you start the SLIP process. $USER is the
  1048.   SLIP client. The 'netstat | grep' part gets the host's Ethernet
  1049.   address, and 'arp' advertises the host as an ARP server for $USER.
  1050.   See also the arp(1M) manpage.
  1051.  
  1052. ------------------------------
  1053.  
  1054. Subject:   -43- I've just edited inetd.conf, and nothing changed. Why?
  1055. Date: 15 Feb 1995 00:00:01 EST
  1056.  
  1057.   You need to make 'inetd' reread inetd.conf. Do 'killall -HUP inetd'.
  1058.   If that doesn't work, comment out the entry you modified, 'killall
  1059.   -HUP inetd', uncomment the entry and 'killall -HUP inetd' again.  If
  1060.   that doesn't work, 'killall -TERM inetd'. If that doesn't work,
  1061.   reboot.
  1062.  
  1063. ------------------------------
  1064.  
  1065. Subject:   -44- Why can't I 'rdist' files between Suns and SGIs?
  1066. Date: 30 Jan 1995 00:00:01 EST
  1067.  
  1068.   Sun's 'rdist' expects SGI's 'rdist' to live in /usr/ucb, but it's
  1069.   actually in /usr/bsd. Make a symbolic link from /usr/ucb/rdist to
  1070.   /usr/bsd/rdist and all will be well.
  1071.  
  1072.   In IRIX 5.3 or later, you may need to use ordist(1).
  1073.  
  1074. ------------------------------
  1075.  
  1076. Subject:   -45- Why are there "satwrite failure: inetd" messages in my
  1077.                 SYSLOG in IRIX 5.3?
  1078. Date: 4 Jun 1997 00:00:01 EST
  1079.  
  1080.   Says Ellen Desmond <desmond@orange.engr.sgi.com>:
  1081.   This is due to a bug in inetd that is manifest only when eoe2.sw.audit
  1082.   has been installed.  Inetd calls satwrite() to generate an audit
  1083.   record every time it spawns a server.  The bug is that the call to
  1084.   satwrite() is made after the process has done a setuid() to the user
  1085.   specified for that server in inetd.conf.  Because satwrite() is a
  1086.   superuser-only call, it fails for servers that don't run as root, such
  1087.   as fingerd.
  1088.  
  1089.   The bug is fixed by patch 1268. If you don't use auditing, you can just
  1090.   ignore the messages or remove the eoe2.sw.audit subsystem and rebuild
  1091.   your kernel.
  1092.  
  1093. ------------------------------
  1094.  
  1095. Subject:   -46- What is causing the "get interface flags" error in my
  1096.                 syslog?
  1097. Date: 06 Apr 1996 00:00:01 EST
  1098.  
  1099.   Walter Roberson <roberson@hamer.ibd.nrc.ca> says: As part of its
  1100.   licensing verification, Framemaker 4.0 attempts to get interface flags
  1101.   on a fixed ethernet interface instead of using the hardware inventory
  1102.   functions to figure out what the name of the ethernet is. This results
  1103.   in an error like
  1104.  
  1105.   broadcast: ioctl (get interface flags): No such device or address
  1106.  
  1107.   Speak with Frame Technologies.
  1108.  
  1109.   Patch 1092 includes fixes for "frame license daemon" and might fix the
  1110.   above problem; we don't know yet.
  1111.  
  1112. ------------------------------
  1113.  
  1114. Subject:   -47- Why are network connections between SGIs and Suns much
  1115.                 slower than between SGIs and SGIs or Suns and Suns?
  1116. Date: 13 Aug 1995 00:00:01 EST
  1117.  
  1118.   Dave Olson <olson@sgi.com> explains: Some older Sun systems (I don't
  1119.   remember which, but not current systems) have ethernet *chips* (this
  1120.   isn't an OS issue) that can't handle the recommended 9.6 usec
  1121.   interpacket gap. This is not a problem when sending packets, but when
  1122.   receiving packets from faster systems (like SGI Indigos and later) it
  1123.   results in lost packets, retransmission and major slowdown.
  1124.  
  1125. ------------------------------
  1126.  
  1127. Subject:   -48- How can I set up IP aliases?
  1128. Date: Wed Sep 22 16:50:53 CDT 1999
  1129.  
  1130.   An IP alias is an extra IP address which may be in a completely
  1131.   different subnet and domain than a host's primary IP address. This is
  1132.   often desired by WWW presence providers. An IP aliasing is a step
  1133.   beyond a DNS alias, which is an extra hostname for the same IP
  1134.   address. HTTP requests do not include the host name, so a server has
  1135.   no way of knowing the host name to which a particular request was
  1136.   sent. A server *can* determine the IP address to which a particular
  1137.   request was sent and respond accordingly, so IP aliasing allows one to
  1138.   have multiple independent servers on a single machine.
  1139.  
  1140.   Patch 1356 to IRIX 5.3 allows IP aliasing. IRIX 6.2 and later does IP 
  1141.   aliasing without patches. The interim solution once available from
  1142.   Silicon Surf is no longer available.
  1143.  
  1144.   See also
  1145.  
  1146.       http://www.amazing.com/internet/virtual-homer.html
  1147.       http://www.apache.org/docs/virtual-host.html
  1148.       http://www.thesphere.com/~dlp/TwoServers/
  1149.  
  1150.   for general information and descriptions of other implementations.
  1151.  
  1152. ------------------------------
  1153.  
  1154. Subject:   -49- Where is ipfilterd documented?
  1155. Date: 15 Jun 1996 00:00:01 EST
  1156.  
  1157.   In IRIX 6.1 and earlier, ipfilterd itself is part of eoe.sw.ipgate but
  1158.   the ipfilterd(1M) manpage is part of eoe2.sw.netman and the
  1159.   netsnoop(1M) manpage (ipfilterd uses netsnoop syntax) is part of the
  1160.   extra-cost NetVisualyzer package. A copy of netsnoop(1M) is at
  1161.   ftp://viz.tamu.edu/pub/sgi/software/admin/netsnoop.1, and both
  1162.   manpages are in the uman database (see the misc FAQ under "WWW
  1163.   pages"). In IRIX 6.2 and later, ipfilterd(1M), netsnoop and
  1164.   netsnoop(1M) are all part of the base OS.
  1165.  
  1166.   Note that patch 1249 fixes a number of ipfilterd problems.
  1167.  
  1168. ------------------------------
  1169.  
  1170. Subject:   -50- MAIL
  1171. Date: 15 May 1994 00:00:01 EST
  1172.  
  1173.   These questions discuss mail configuration and problems.
  1174.  
  1175. ------------------------------
  1176.  
  1177. Subject:   -51- How can I set up 'sendmail' to pass (or not pass) 8-bit
  1178.                 characters?
  1179. Date: 30 Jan 1995 00:00:01 EST
  1180.  
  1181.   Many experts say "don't try". RFC822 requires mail transport agents to
  1182.   *clear* the eighth bit, and many hosts do.  Some which don't may crash
  1183.   when they get mail with the eighth bit set. Instead, use a
  1184.   MIME-compatible mail program. MIME, described in RFC1521, is a
  1185.   standard for enclosing non-RFC822 material in your mail. The apps FAQ
  1186.   discusses several mail programs which support it.
  1187.  
  1188.   In IRIXes up to 5.2, one can flout this doctrine by running sendmail
  1189.   with the '-o8' flag to allow 8-bit characters in message bodies (*not*
  1190.   headers). Read the description of that option in sendmail(1) for more
  1191.   reasons not to use it. In IRIX 5.3, sendmail runs in 8-bit mode by
  1192.   default, but one can use the '-o7' flag to get the old behavior.
  1193.  
  1194. ------------------------------
  1195.  
  1196. Subject:   -52- Why are my mailbox files changing ownership?
  1197. Date: 15 Oct 1995 00:00:01 EST
  1198.  
  1199.   If your mail directory is mounted from another machine, your machine
  1200.   does not have root access to that directory, and the other machine has
  1201.   BSD-style "restricted chown" (the restricted_chown kernel variable is
  1202.   turned on or it's not an SGI) /bin/mail will change mail file
  1203.   ownership when delivering local mail. Without unrestricted chown *or*
  1204.   root access, /bin/mail is unable to give a mail file back to its owner
  1205.   after delivering mail. You can fix the problem by turning off re-
  1206.   stricted chown on the other machine (if it's an SGI) or exporting the
  1207.   mail directory with root access for your machine. This problem was to
  1208.   have been fixed in IRIX 5.2, but apparently is still present in 5.3.
  1209.  
  1210. ------------------------------
  1211.  
  1212. Subject:   -53- Why isn't a valid user getting their mail?
  1213. Date: 24 Jan 1994 00:00:01 EST
  1214.  
  1215.   IRIX' mail system requires "valid users" to have both valid password
  1216.   file entries (whether local or via NIS) and home directories. The
  1217.   latter often trips one up when installing POP servers and whatnot,
  1218.   where home directories aren't really necessary. Just make a fake
  1219.   one.
  1220.  
  1221. ------------------------------
  1222.  
  1223. Subject:   -54- How can SGIs and Suns share a mail spool?
  1224. Date: 05 Feb 1994 00:00:01 EST
  1225.  
  1226.   Paul Riddle <paulr@umbc.edu> has written up how he did it. Read
  1227.   ftp://ftp.umbc.edu/pub/sgi/shared-spool.text.
  1228.  
  1229. ------------------------------
  1230.  
  1231. Subject:   -55- What's an "unknown mailer error"?
  1232. Date: 20 Feb 1994 00:00:01 EST
  1233.  
  1234.   See ftp://viz.tamu.edu/pub/sgi/software/mail/mail-errors.
  1235.  
  1236. ------------------------------
  1237.  
  1238. Subject:   -56- What's "mailbox: Error 0"?
  1239. Date: 05 Mar 1994 00:00:01 EST
  1240.  
  1241.   It's a harmless bug; don't worry about it. It is fixed in IRIX
  1242.   versions 4.0.5H/4.0.5IOP and later.
  1243.  
  1244. ------------------------------
  1245.  
  1246. Subject:   -57- Why am I having problems with my NFS-mounted mail spool?
  1247. Date: 02 Mar 1996 00:00:01 EST
  1248.  
  1249.   Perhaps for one of the following reasons:
  1250.  
  1251.   - IRIX 5.2 NFS has a bug which prevents writing to a zero-length file
  1252.     if the writing process has group write permission but not group read
  1253.     (or user write) permission. IRIX 5.2 /bin/mail likes to set the
  1254.     permissions of /var/mail/<user> to mode 620, exactly what is needed
  1255.     to exercise the NFS bug. There is no patch for these bugs, but both
  1256.     are fixed in IRIX 5.3. Meanwhile, you can work around the problem by
  1257.     chmod'ing your mail files to 660 and setting the appropriate option
  1258.     in your mail program to make sure that empty mail files are not
  1259.     removed.
  1260.  
  1261.   - lockd must be running on the NFS server to allow programs on the
  1262.     client to lock mail files. If it is not, Zmail/MediaMail will
  1263.     complain that "file cannot be locked". One could tell MediaMail to
  1264.     not request a lock with "unset dot_lock", but that would risk mail
  1265.     file corruption.
  1266.  
  1267.   - IRIX 5.3 lockd is broken. Typical symptoms include "Warning: could
  1268.     not lock /var/mail/user after 100 trys." (from /usr/sbin/Mail) and
  1269.     the presence of user.lock and user.rolock files in /var/mail. Patch
  1270.     1128 fixes at least some of these problems.  If the client and
  1271.     server are both IRIX 5.3, you can also work around the problem by
  1272.     changing the mount type to NFS3. (See notes on NFS3 elsewhere in
  1273.     this FAQ.)
  1274.  
  1275.   See also "NFS Mounting Mail with IRIX 5.3 and IRIX 6.0.1" in the
  1276.   Sep/Oct 1995 Pipeline.
  1277.  
  1278. ------------------------------
  1279.  
  1280. Subject:   -58- Why are incoming mail addresses case-sensitive in IRIX
  1281.                 5.3?
  1282. Date: 31 May 1995 00:00:01 EST
  1283.  
  1284.   It's a configuration change. To change it back, find each line in your
  1285.   /etc/sendmail.cf which begins with "M"; these are mailer definitions.
  1286.   Each has a field beginning with "F="; these are the mailer flags.
  1287.   Remove the "u" from each mailer flags field.
  1288.  
  1289. ------------------------------
  1290.  
  1291. Subject:   -59- NFS
  1292. Date: 15 May 1994 00:00:01 EST
  1293.  
  1294.   These questions discuss NFS.
  1295.  
  1296. ------------------------------
  1297.  
  1298. Subject:   -60- How can I tell what hostname to use in /etc/exports?
  1299. Date: 07 Feb 1994 00:00:01 EST
  1300.  
  1301.   NFS servers may need a particular form of a client's name in
  1302.   /etc/exports to allow the client access. This may not be obvious, for
  1303.   example if the server is also a router. Log in from the client to the
  1304.   server and say 'echo $REMOTEHOST' to see what the server thinks the
  1305.   client is called, and put that in /etc/exports.
  1306.  
  1307.   The System Manager ('chost') should be able to determine the correct
  1308.   hostname for you.
  1309.  
  1310. ------------------------------
  1311.  
  1312. Subject:   -61- Why can't I export an NFS-mounted filesystem?
  1313. Date: 10 Dec 1993 00:00:01 CST
  1314.  
  1315.   This is known as multi-hop NFS. It is not allowed or supported in
  1316.   (Sun's) NFS because it is not in general possible to detect errors
  1317.   such as infinite mount loops, on either the client or the server.
  1318.  
  1319. ------------------------------
  1320.  
  1321. Subject:   -62- Why can't Ultrix automount SGI filesystems?
  1322. Date: 10 Dec 1993 00:00:01 CST
  1323.  
  1324.   Ultrix's automount uses an "untrusted" port for mount requests. Add
  1325.   an '-n' to the mountd lines in /usr/etc/inetd.conf (/etc/inetd.conf
  1326.   in IRIX 5.x), like so:
  1327.  
  1328.   mountd/1    stream  rpc/tcp wait    root    /usr/etc/rpc.mountd     mountd -n
  1329.   mountd/1    dgram   rpc/udp wait    root    /usr/etc/rpc.mountd     mountd -n
  1330.  
  1331.   then 'killall mountd' and 'killall -HUP inetd' or reboot.
  1332.  
  1333. ------------------------------
  1334.  
  1335. Subject:   -63- Why does 'tar' work strangely on a filesystem mounted
  1336.                 from an SGI?
  1337. Date: 15 Oct 1995 00:00:01 EST
  1338.  
  1339.   When user A extracts a file owned by user B from a tar archive, 'tar'
  1340.   makes the file owned by user A unless user A is the superuser.  Some
  1341.   systems allow users to give files away (e.g. IRIX); some do not
  1342.   (e.g. SunOS).  On some systems with the restricted behavior (SunOS
  1343.   among them), 'tar' tries to give the file to user B whether or not
  1344.   user A is the superuser, assuming that the chown system call will fail
  1345.   if user A is not.  This is not true if user A is using 'tar' on (e.g.)
  1346.   a Sun to extract files onto a filesystem NFS-mounted from (e.g.) an
  1347.   SGI.  'tar' may create zero-length files or give away directories and
  1348.   then be unable to extract files into them.
  1349.  
  1350.   Work around the problem by doing the 'tar' on the SGI or extracting
  1351.   onto a Sun filesystem. It is possible that third-party versions of
  1352.   'tar' (e.g. GNU tar) are smarter; if so, let us know. You could turn
  1353.   the restricted_chown kernel variable on on the SGI, but be aware that
  1354.   some programs may depend on unrestricted chown, notably /bin/mail as
  1355.   discussed elsewhere in this FAQ.
  1356.  
  1357. ------------------------------
  1358.  
  1359. Subject:   -64- Why does 'df' report incorrect numbers for a filesystem
  1360.                 mounted from a Sun?
  1361. Date: 29 Apr 1995 00:00:01 EST
  1362.  
  1363.   Sun's filesystem reserves space, usually 10%, and Sun's 'df' reports
  1364.   only the unreserved space. SGI's filesystem (efs) does not reserve
  1365.   space, so SGI's 'df' doesn't correct for reserved space.
  1366.  
  1367. ------------------------------
  1368.  
  1369. Subject:   -65- Is 'pcnfsd' available for the SGI?
  1370. Date: 20 Apr 1996 00:00:01 EST
  1371.  
  1372.   For IRIX 4.0.x, look in ftp://ftp.sgi.com/support/pcnfsd.sysV/. (Note
  1373.   that although SGI makes this available, they do not support it.) For
  1374.   IRIX 5.x, look in ftp://viz.tamu.edu/pub/sgi/software/pcnfsd/ or
  1375.   http://www.sgi.com/Technology/Connectivity/pcnfsd.html. See also the
  1376.   pcnfsd bug mentioned in the security FAQ.
  1377.  
  1378. ------------------------------
  1379.  
  1380. Subject:   -66- Can I export a CD-ROM from my SGI to a non-SGI?
  1381. Date: 10 Dec 1993 00:00:01 EST
  1382.  
  1383.   Not in IRIX 4.0.x. You can in IRIX 5.x, as you would any other
  1384.   filesystem.
  1385.  
  1386. ------------------------------
  1387.  
  1388. Subject:   -67- How can I read an IRIX (EFS) CD-ROM on a machine which
  1389.                 doesn't use EFS?
  1390. Date: 18 Jun 1995 00:00:01 EST
  1391.  
  1392.   You want 'efslook', at
  1393.   ftp://viz.tamu.edu/pub/sgi/software/efslook.tar.gz.
  1394.  
  1395. ------------------------------
  1396.  
  1397. Subject:   -68- How can I get quotas to work on an NFS filesystem?
  1398. Date: 16 Dec 1994 00:00:01 EST
  1399.  
  1400.   Mount the filesystem with the 'quotas' option, by adding it to
  1401.   /etc/fstab or the automounter map as appropriate, and make sure the
  1402.   nfs.sw.nis subsystem, which contains the NFS quota daemon
  1403.   (/usr/etc/rpc.rquotad) is installed. That's nfs.sw.nis, not
  1404.   nfs.sw.nfs! See fstab(4), rquotad(1M) and perhaps automount(1M) for
  1405.   details.
  1406.  
  1407. ------------------------------
  1408.  
  1409. Subject:   -69- Why can't some NFS clients NFS-mount IRIX 5.2
  1410.                 filesystems?
  1411. Date: 07 Sep 1996 00:00:01 EST
  1412.  
  1413.   IN IRIX 5.2, SGI's mount daemons (/usr/etc/mount_*) can fool some NFS
  1414.   clients (TGV's Multinet NFS for VMS, for one) into thinking that the
  1415.   mount daemons are NFS servers and trying to connect to them as
  1416.   such. If the client can mount filesystems from your machine when no
  1417.   mount daemons are running, but not when they are, this is your
  1418.   problem. Fix it by upgrading to IRIX 5.3 or, if you're daring,
  1419.   stealing the mount daemons from an IRIX 5.3 machine.
  1420.  
  1421.   Zsolt Bagoly <bagoly@ludens.elte.hu> reports that DEC OSF1 and Linux
  1422.   clients can work around this problem with the option "port=2049",
  1423.   e.g. 'mount -t nfs -o port=2049 server:/path /mount-point'.
  1424.  
  1425. ------------------------------
  1426.  
  1427. Subject:   -70- What's NFS3?
  1428. Date: 21 Nov 1995 00:00:01 EST
  1429.  
  1430.   An improved NFS which comes with IRIX 5.3. It is described in detail
  1431.   in ftp://gatekeeper.dec.com/pub/standards/nfs/NFS3.spec.ps.Z and the
  1432.   Nov/Dev 1995 Pipeline. Its quirks are still being discovered by users;
  1433.   one prominent quirk is that it is not supported by the automounter.
  1434.   Another is that a bug causes ~/.Xauthority files on an NFS3 volume to
  1435.   be truncated; patch 216 fixes the bug. Another is that it interacts
  1436.   poorly with XFS; patch 547 fixes that and many other problems.
  1437.  
  1438. ------------------------------
  1439.  
  1440. Subject:   -71- Why can't Solaris 2.5 clients read directories on NFS3-
  1441.                 mounted IRIX 6.2 filesystems?
  1442. Date: 8 Mar 1997 00:00:01 EST
  1443.  
  1444.   Solaris 2.5, a 32-bit operating system, can't understand 64-bit data
  1445.   from IRIX 6.2 NFS3 servers. This will be fixed in Solaris 2.6.
  1446.   Meanwhile, export the IRIX 6.2 filesystems with the 32bitclients
  1447.   option. See also 'relnotes nfs 5'.
  1448.  
  1449. ------------------------------
  1450.  
  1451. Subject:   -72- Why does my NFS server print "fhtovp_end VFS_GET failed"
  1452.                 or "fhtovp_end vp NULL" to the console/SYSLOG?
  1453. Date: 8 Mar 1997 00:00:01 CST
  1454.  
  1455.   Walter Roberson <roberson@ibd.nrc.ca> explains:  You installed an
  1456.   NFS patch on your server, but you missed installing the NFS client
  1457.   patch on your 5.3 system.  You can either force the mount to use NFS2
  1458.   or patch your 5.3 NFS client system.
  1459.  
  1460. ------------------------------
  1461.  
  1462. Subject:   -73- PRINTING
  1463. Date: 15 May 1994 00:00:01 EST
  1464.  
  1465.   These questions discuss printing.
  1466.  
  1467. ------------------------------
  1468.  
  1469. Subject:   -74- Why can't lp(1) read my file?
  1470. Date: 10 Dec 1993 00:00:01 EST
  1471.  
  1472.   lp(1) is setuid, so it can only read world-readable files. You can say
  1473.   'lp < file' if you don't want to make your file world-readable.
  1474.  
  1475. ------------------------------
  1476.  
  1477. Subject:   -75- How can I tell 'lp' to turn banner printing or page
  1478.                 reversal off or on?
  1479. Date: 13 Nov 1994 00:00:01 EST
  1480.  
  1481.   'lp' controls printers via shell scripts, called 'models', which live
  1482.   in /var/spool/lp/model. When you install a printer, the appropriate
  1483.   model script is copied to /var/spool/lp/interface/<name-of-printer>.
  1484.  
  1485.   To temporarily change a printer's behavior, look at the manpage for
  1486.   its interface script (or, if there is none, the script itself) to see
  1487.   what options it wants, and pass them to the script with 'lp's '-o'
  1488.   option.  For example, 'lp -o"-nobanner" file' tells a "Generic
  1489.   Postscript" printer (described in the gpsinterface(1) manpage) to
  1490.   print 'file' without a banner page.
  1491.  
  1492.   To permanently change a printer's behavior, edit its interface
  1493.   script.  The following are true for "Generic Postscript" printers,
  1494.   but the idea is the same for others:
  1495.  
  1496.   - To turn banner printing off or on, change the line 'BANNER=1' to
  1497.     'BANNER=0' or vice versa.
  1498.  
  1499.   - To turn page reversal off or on, change the line
  1500.     'send=/usr/lib/print/lptops' to 'send="/usr/lib/print/lptops -U"'
  1501.     (note the quotes) or vice versa.
  1502.  
  1503.   In IRIX 5.x, you can change these settings in the printpanel. You can
  1504.   also turn banner printing off on a per-user basis by doing 'echo
  1505.   nobanner >> /var/spool/lp/settings/<printername>/<yourusername>'.
  1506.  
  1507. ------------------------------
  1508.  
  1509. Subject:   -76- How can I use 'lpr' instead of or as well as 'lp'?
  1510. Date: 06 Apr 1996 00:00:01 EST
  1511.  
  1512.   IRIX is based on System V Unix and as such uses the lp(1) printing
  1513.   protocol. The lp software is sufficient (and preferred) for printing
  1514.   to local printers, printing to network printers attached to SGIs or
  1515.   other machines using the lp protocol, and acting as a print server to
  1516.   machines using the lp protocol. In IRIX 5.3/6.1 or later, it can also
  1517.   print to remote printers using the lpr protocol and act as an lpr
  1518.   server. SGI's standard lp interface scripts handle several common
  1519.   file formats (text, PostScript, RGB images) automatically, and
  1520.   Impressario (which works through the lp software) handles much more.
  1521.   The lp software is installed by default.
  1522.  
  1523.   lpr(1) is the BSD Unix printing protocol. SGI provides and supports
  1524.   the lpr software only for printing to network printers attached to
  1525.   computers which use the lpr protocol, e.g. a BSD Unix machine, an HP
  1526.   printer with an appropriately configured JetDirect card or a
  1527.   Macintosh running lpDaemon. It can also be used, unofficially, for
  1528.   controlling a local printer and for a print server. It comes with no
  1529.   support for handling different file formats at all. The lpr software
  1530.   is not installed by default. It is in the eoe2.sw.bsdlpr subsystem in
  1531.   IRIX 4.0.x and print.sw.bsdlpr in IRIX 5.x.
  1532.  
  1533.   You can use lpr to print to a local printer in one of two ways:
  1534.  
  1535.   - Set the printer up as an lp printer and write a printcap(4) entry
  1536.     with an output filter which is just a wrapper around lp. If that
  1537.     isn't crystal-clear, ask SGI for their writeup on "Integrating The
  1538.     AT&T Spooler With The BSD LPR Print Spooler". A not-guaranteed-to-
  1539.     be-up-to-date copy is at
  1540.     ftp://viz.tamu.edu/pub/sgi/software/print/lpr-to-lp.
  1541.  
  1542.   - Write a printcap entry and set up the printer as an lpr printer
  1543.     just as you would on a BSD system. SGI doesn't support this use of
  1544.     lpr, and comp.sys.sgi.* won't be much help either.
  1545.  
  1546.     Now that the printer is set up as an lpr printer, you won't be able
  1547.     to use lp with it directly. You can make lp(1) send files to a
  1548.     local lpr printer in one of two ways:
  1549.  
  1550.     - Use an lp interface script that calls lpr. You can use
  1551.       mkbsdpr(1M), which comes with Impressario 1.1 and later (see the
  1552.       Impressario FAQ), write one yourself or ask SGI for their writeup
  1553.       "LPTOLPR, A Model File for LP". A not-guaranteed-to-be-up-to-date
  1554.       copy of the last is at
  1555.       ftp://viz.tamu.edu/pub/sgi/software/print/lp-to-lpr.
  1556.  
  1557.     - Replace lp with a script which calls lpr. One such script is
  1558.       ftp://viz.tamu.edu/pub/sgi/software/print/lp-wrapper-for-lpr.
  1559.  
  1560.   You can print to an lpr server in one of two ways:
  1561.  
  1562.   - Under IRIX 5.3/6.1 or later, use the lp software. Just use
  1563.     printers(1M) to add the remote printer. The "list printer" button
  1564.     will not list lpr printers; just enter the name of the remote
  1565.     printer manually. This may or may not work for a printer with a
  1566.     JetDirect card; see the next entry.
  1567.  
  1568.   - Under older IRIXes, or if you're used to it, use the lpr software.
  1569.     See SGI's "Advanced Site and Server Administration Guide".
  1570.  
  1571.   You can set up an lpr server in one of two ways:
  1572.  
  1573.   - Under IRIX 5.3/6.1 or later, you don't need to, because the lp
  1574.     server is also an lpr server. This is officially documented only in
  1575.     'relnotes print 3'. There are some caveats:
  1576.  
  1577.     - Don't define printers to the lp and lpr software (i.e. in
  1578.       /var/spool/lp/interface and /etc/printcap) with the same name.
  1579.     - Clients must be in ~lp/.rhosts or /etc/hosts.equiv; lpsched
  1580.       won't look in /etc/hosts.lpd.
  1581.     - lpd must not be running when lpsched starts up. If you want to
  1582.       switch from lpd to lpsched, do '/etc/init.d/bsdlpr stop;
  1583.       /etc/init.d/lp stop; /etc/init.d/lp start'. /etc/init.d/bsdlpr
  1584.       can't be chkconfig'ed off, so if you want to leave the lpr
  1585.       software installed you'll have to move /etc/init.d/bsdlpr to
  1586.       another name so it won't run on bootup.
  1587.     - The client must send the control file before the data file. Most
  1588.       Unixes do; some PCs do not. It might be informative to run lpsched
  1589.       with the -debug flag, or just try it and see if it works. lpd
  1590.       accepts either file order; lpsched should, and will in IRIX 6.2.
  1591.  
  1592.   - Under older IRIXes, or if you can't get the previous solution to
  1593.     work, or if you're a BSD head, use the lpr software. Set up your
  1594.     local printer as an lpr printer (see above) and edit /etc/hosts.lpd
  1595.     to grant access to the clients. Again, SGI won't support this.
  1596.  
  1597. ------------------------------
  1598.  
  1599. Subject:   -77- How can I print to a printer with a JetDirect card?
  1600. Date: 18 May 1996 00:00:01 EST
  1601.  
  1602.   Configure the JetDirect card to act as an lpr print server (see the
  1603.   JetDirect documentation) and set up your SGI to use it as you would
  1604.   any remote lpr printer (see above). You may also want to set up a
  1605.   bridge to the 'lp' system; again, see above.
  1606.  
  1607.   Unless you have a very recent JetDirect card, you will not be able
  1608.   to use printers(1M) to set up the JetDirect as a remote lpr printer.
  1609.   You can either use the lpr software on the SGI (see above), or you
  1610.   can circumvent printers(1M) in one of the following ways:
  1611.  
  1612.   - Use printers(1M) to add a normal 'lpr' print server with the local
  1613.     printer name you'll want to use for the JetDirect printer.
  1614.   - Do '/usr/lib/lputil add /dev/null netface <local-printer-name>'.
  1615.   - Do '/usr/lib/lpadmin -p<local-printer-name> -mnetface -v /dev/null',
  1616.     and create by hand all of the directories and little files in
  1617.     /var/spool/lp.
  1618.  
  1619.   Each of the above will create an interface script in
  1620.   /var/spool/lp/interface/<local-printer-name>. Since you subverted the
  1621.   usual installation process, some of the settings in the script won't
  1622.   be right yet. Change HOSTNAME to the JetDirect's hostname, NETTYPE to
  1623.   "bsd" and (thanks to Ken Harris <kenh@netcom.com> for this one) SYNC
  1624.   to 0. If it's a Postscript printer, change TYPE to "PostScript" and
  1625.   CONVTYPE to "PostScriptFile".
  1626.  
  1627.   Bill Poitras <bill@ba.msi.com> adds: To print from a PC using SAMBA
  1628.   via your SGI, you can either modify the interface script so that
  1629.   specifying "-oraw" to lp (as suggested in the SAMBA documentation)
  1630.   will set CONVTYPE to nothing, or set up a second interface to the same
  1631.   printer and set its CONVTYPE to nothing permanently.
  1632.  
  1633.   If your JetDirect card is very old, it may not understand the lpr
  1634.   protocol at all. If it is very, very old, you may have to resort to
  1635.   sending the file over TCP port 9100 directly. If it is only very old,
  1636.   you may be able to upgrade the card to a version which does understand
  1637.   lpr. Upgrading the JetDirect is beyond the scope of this FAQ.
  1638.  
  1639. ------------------------------
  1640.  
  1641. Subject:   -78- Why won't lpr(1) print very large files?
  1642. Date: 24 Aug 1996 00:00:01 EST
  1643.  
  1644.   lpd(1M) intentionally places an upper limit on spool file size. To
  1645.   remove it, add "mx#0" to your printcap(4) entry.
  1646.  
  1647. ------------------------------
  1648.  
  1649. Subject:   -79- SGI DAEMONS
  1650. Date: 08 Oct 1995 00:00:01 EST
  1651.  
  1652.   This section deals with the objectserver and its tricky pals, the
  1653.   directoryserver, famd and mediad.
  1654.  
  1655. ------------------------------
  1656.  
  1657. Subject:   -80- Why isn't the objectserver working?
  1658. Date: 24 Aug 1996 00:00:01 EST
  1659.  
  1660.   Install patch 1096. If you still have problems, read on.
  1661.  
  1662.   First, consider whether you really need the objectserver. Without it,
  1663.   you'll lose "business cards" and the graphical admin software. They're
  1664.   probably not worth the headache.
  1665.  
  1666.   Anne Eagle <annee@sgi.com> posted most of the following:
  1667.  
  1668.   - Its database may be corrupt. If the objectserver appears to start
  1669.     OK but crashes later, this is probably the case. Rebuild it like
  1670.     so:
  1671.  
  1672.       /etc/init.d/cadmin stop
  1673.       /etc/init.d/cadmin clean
  1674.       /etc/init.d/cadmin start
  1675.  
  1676.     If the preceding doesn't work, try this
  1677.  
  1678.       /etc/init.d/cadmin stop
  1679.       mv /var/Cadmin/data /var/Cadmin/data.old
  1680.       /usr/Cadmin/bin/parseclasses
  1681.       /etc/init.d/cadmin start
  1682.  
  1683.     Note that either method destroys "Privileged User" and "Business
  1684.     Card" information. (This is the ONLY known drawback of rebuilding
  1685.     your objectserver database, and the ONLY reason why SGI
  1686.     documentation recommends that you consult with the TAC before doing
  1687.     so. For most people that means that there's no reason why you
  1688.     shouldn't rebuild whenever the need arises.)
  1689.  
  1690.   - One of your system configuration files (including but not limited to
  1691.     /etc/exports, /etc/fstab, /etc/inittab, /etc/mtab, /etc/passwd and
  1692.     /etc/printcap) may have minor format problems which don't bother
  1693.     IRIX proper but do bother the objectserver. Such problems include a
  1694.     last line which doesn't end with a linefeed, a backspace not
  1695.     preceded by a space in /etc/exports, or unprintable characters. Gary
  1696.     Lin <glin@csd.sgi.com> suggests that you ensure that /etc/exports
  1697.     has explicit -ro or -rw export options and that you remove
  1698.     continuation lines (\) from /etc/printcap. Ken Gant
  1699.     <krgant@musetech.com> points out that, as specified in gettydefs(4),
  1700.     the last line of /etc/gettydefs must be blank. One sign that you
  1701.     have such a problem is a core file in /var/Cadmin/data. If you find
  1702.     and fix a problem, rebuild the databases as above.
  1703.  
  1704.     If you can't find the problem, try the following:
  1705.  
  1706.       par -s -i -N open -l -SS /usr/Cadmin/bin/objectserver -d
  1707.  
  1708.     The last file objectserver opens is probably where the problem is.
  1709.     If you're really desperate, the TAC will give you an objectserver
  1710.     compiled with -g and help you run dbx on it.
  1711.  
  1712.   - You may be swamping the objectserver with NIS (YP) users. There are
  1713.     several ways around this:
  1714.  
  1715.     - Start a directoryserver on a machine on your local network.
  1716.  
  1717.     - Use netgroups or the "+user" form in /etc/passwd instead of just
  1718.       a "+" and rebuild the databases as above.
  1719.  
  1720.     - Most severely, remove the NIS object definition files so that the
  1721.       objectserver will not create NIS objects, rebuild the
  1722.       objectserver database (without the NIS objects) and restart the
  1723.       objectserver as follows. You will not be able to manipulate NIS
  1724.       users with Cadmin if you do this.
  1725.  
  1726.       killall fm
  1727.       mediad -k
  1728.       killall objectserver
  1729.       mv /var/Cadmin/data /var/Cadmin/data.orig
  1730.       cp -pr /usr/Cadmin/classes /usr/Cadmin/classes.orig
  1731.       rm /usr/Cadmin/classes/groupObject.op
  1732.       rm /usr/Cadmin/classes/nisAccountObject.op
  1733.       rm /usr/Cadmin/classes/peopleNISObject.op
  1734.       rm /usr/Cadmin/classes/peopleObject.op
  1735.       /usr/Cadmin/bin/parseclasses
  1736.       /usr/Cadmin/bin/objectserver
  1737.       ps -ef | grep obj
  1738.       
  1739.       Wait until you see 2 objectserver processes running, then do
  1740.  
  1741.       mediad
  1742.       fm -lrb &
  1743.  
  1744.   - Chris Riney <chris.riney@tandy.com> says: "We have just discovered
  1745.     here at our site that if you do not have a route defined for the
  1746.     SGI multicast subnet, then objectserver will gobble up memory.  I
  1747.     established a route for 224.0.0.0, and objectserver has been up for
  1748.     over a week without consuming additional memory." This route is
  1749.     defined in the stock /etc/init.d/network.
  1750.  
  1751.   - Andreas Klingler <andreas.klingler@rrze.uni-erlangen.de> fixed his
  1752.     objectserver by removing /usr/Cadmin/classes/printerObject.op and
  1753.     then rebuilding /var/Cadmin/data as above.
  1754.  
  1755.   - David Carrigan <vermeer@panix.com> fixed his objectserver by editing
  1756.     his /etc/passwd file so userids were in ascending order.
  1757.  
  1758.   - Tovar ? <tvr@skywebs.com> suggests shutting off your objectserver,
  1759.     then running 'objecterver -d'.
  1760.  
  1761.   - Urpo Kotipalo <nightis@raita.oulu.fi> had trouble with shadow
  1762.     passwords and the objectserver, which he fixed by waiting until
  1763.     '/etc/init.d/cadmin clean' had finished running pwconv(1M) before
  1764.     doing '/etc/init.d/cadmin start'.
  1765.  
  1766.  
  1767.   See also "Indigo Magic Tips and Tricks" in the Sep/Oct 1994 Pipeline
  1768.   and the entry on the imon queue below.
  1769.  
  1770. ------------------------------
  1771.  
  1772. Subject:   -81- What is sending packets to the sgi-dog.mcast.net
  1773.                 multicast address?
  1774. Date: 06 Apr 1996 00:00:01 EST
  1775.  
  1776.   The objectserver. It's using that address intentionally; SGI just
  1777.   didn't bother to define a new one. Scott Henry <scotth@sgi.com> points
  1778.   out that if you don't use any directoryservers and want to get rid of
  1779.   the objectserver multicast packets, you can add '-t 0' to
  1780.   /etc/config/objectserver.options and they will go away.
  1781.  
  1782. ------------------------------
  1783.  
  1784. Subject:   -82- Why are the objectserver and directoryserver taking up
  1785.                 so much memory in IRIX 5.3?
  1786. Date: 02 Mar 1996 00:00:01 EST
  1787.  
  1788.   They really aren't. Doing 'ps -ef' in IRIX 5.3 and looking at the SZ
  1789.   column shows that these programs have extremely large address spaces,
  1790.   about 128M each. That's not the same thing as the physical memory they
  1791.   occupy, which is shown in the RSS column and which should be much
  1792.   smaller. See ps(1) and the IRIX 5.3 Cadmin release notes for more.
  1793.  
  1794.   However, there is a bug in the objectserver which makes it grow
  1795.   continuously when it can't find a directoryserver.  SGI claims to have
  1796.   fixed this in patch 1096; however, some disagree.
  1797.  
  1798. ------------------------------
  1799.  
  1800. Subject:   -83- Why don't the desktop admin tools recognize root as a
  1801.                 privileged user?
  1802. Date: 28 Jul 1995 00:00:01 EST
  1803.  
  1804.   The objectserver isn't working. Clean the database as described above.
  1805.  
  1806. ------------------------------
  1807.  
  1808. Subject:   -84- Why doesn't my desktop deal properly with the CD or tape
  1809.                 icons?
  1810. Date: 02 Mar 1996 00:00:01 EST
  1811.  
  1812.   Install patch 1096. If you still have problems, read on.  Thanks to
  1813.   Anne Eagle <annee@milamber.csd.sgi.com> for the following:
  1814.  
  1815.   This is a known bug both in 5.2 and 5.3.  Essentially, the desktop
  1816.   icons stop responding to insertion/removal of mediad, although the
  1817.   media itself is mounted properly and is accessible either from the
  1818.   command line or by opening your home directory and then changing to
  1819.   /CDROM or /floppy or starting cdman by hand or whatever is
  1820.   appropriate for the media.  Double clicking on the icon for the
  1821.   peripheral results in a dialog saying that the drive is unloaded,
  1822.   which of course it is not.
  1823.  
  1824.   Here are a number of workarounds. If the first doesn't work, try the
  1825.   second, and so on.  Below, if the command begins with the "%" symbol,
  1826.   that command can be executed by any user.  Commands beginning with
  1827.   "#" must be executed by root.
  1828.  
  1829.   * Restart the File Manager:
  1830.  
  1831.     % /usr/lib/desktop/telldesktop quit
  1832.     % fm -lrb
  1833.  
  1834.   * Restart both the File Manager and mediad:
  1835.  
  1836.     % /usr/lib/desktop/telldesktop quit
  1837.         % su -
  1838.         # /etc/init.d/mediad stop
  1839.         # /etc/init.d/mediad start
  1840.         # exit
  1841.         % fm -lrb
  1842.  
  1843.   * Restart the File Manager, mediad and the objectserver:
  1844.  
  1845.     % /usr/lib/desktop/telldesktop quit
  1846.         % su -
  1847.         # /etc/init.d/mediad stop
  1848.         # /etc/init.d/cadmin stop
  1849.         # /etc/init.d/cadmin start
  1850.         # /etc/init.d/mediad start
  1851.         # exit
  1852.         % fm -lrb
  1853.  
  1854.   * See if the icons from the Shared Resources in the upper right hand
  1855.     corner of the System Manager are responsive to insertion/removal of
  1856.     media.  If so, access the icons from the System Manager.
  1857.  
  1858.   * Reboot the system:
  1859.  
  1860.     # reboot
  1861.  
  1862.   * The media will have to be accessed by hand.  Open a directory
  1863.     view either by double-clicking on the home directory icon or
  1864.     choosing "Desktop/Home Directory" from the Toolchest.  Then change
  1865.     to the appropriate directory for the device.  For instance, the
  1866.     floppy or floptical drives are access by default from /floppy and
  1867.     the CDROM from /CDROM.
  1868.  
  1869.     Find the "cdman" icon via "Find/An Icon" and then double click on
  1870.     it to listen to music CD's over the scsi audio port.
  1871.  
  1872.   See also the Sep/Oct 1994 Pipeline.
  1873.  
  1874.   Greg Morlock <gmorlock@osmre.GOV> fixed his device icons by adding
  1875.   entries to the local copy of /etc/passwd for each NIS user, with no
  1876.   password and a '+' at the beginning of each userid.
  1877.  
  1878.   Alternatively, mediad may never have started; see the next question.
  1879.  
  1880. ------------------------------
  1881.  
  1882. Subject:   -85- Why doesn't my mediad start up under IRIX 5.3?
  1883. Date: 04 Feb 1995 00:00:01 EST
  1884.  
  1885.   If your mediad is dying with the message "mediad: Initialization of my
  1886.   address failed.  Cannot contact objectserver." to the syslog, your
  1887.   machine may not be able to get its IP address.  Try adding the line
  1888.  
  1889.       hostresorder local bind
  1890.  
  1891.   or (if you use NIS)
  1892.  
  1893.       hostresorder local nis bind
  1894.  
  1895.   to your /etc/resolv.conf file.  Make sure the local machine's hostname
  1896.   and IP address are in the local /etc/hosts file, and then either
  1897.   restart the objectserver, mediad, and desktop or reboot.
  1898.  
  1899.   This problem manifests itself when the objectserver cannot grab the
  1900.   local machine's IP address from DNS (aka bind).  When the resolver is
  1901.   told to look at the /etc/hosts file first, it should find the local
  1902.   machine's address without asking DNS about it.
  1903.  
  1904.   Thanks to Dave Olson and Alexis Cousein (both of SGI) for tracking
  1905.   this down.
  1906.  
  1907. ------------------------------
  1908.  
  1909. Subject:   -86- Why do cdman, cdplayer and capture say "permission
  1910.                 denied"?
  1911. Date: 02 Feb 1996 00:00:01 EST
  1912.  
  1913.   You've installed patch 708 or 1048, which come with a broken mediad.
  1914.   You really should have patch 1048 or later, which fixes a bad security
  1915.   hole in the objectserver (see the security FAQ).  If you don't care
  1916.   about automounting CDs, turn off mediad with '/etc/init.d/mediad stop;
  1917.   /etc/chkconfig mediad off'. If you do, use the mediad from IRIX 5.3,
  1918.   (which you'll find in /var/inst/patchbase/usr/etc/mediad after
  1919.   installing the patch) or upgrade to patch 1096 (but see below).
  1920.  
  1921. ------------------------------
  1922.  
  1923. Subject:   -87- Why can't 'cformat' format floptical disks, and/or why
  1924.                 can't 'datman' play audio DATs?
  1925. Date: 16 Mar 1996 00:00:01 EST
  1926.  
  1927.   You've installed patch 1096, which breaks cformat(1M) and datman(1).
  1928.   You really should have patch 1048 or later, which fixes a bad security
  1929.   hole in the objectserver (see the security FAQ), so you should either
  1930.   use mkfp(1M) instead of cformat and turn off mediad(1M) when you want
  1931.   to use datman, or back down to patch 1048 (but see above).
  1932.  
  1933. ------------------------------
  1934.  
  1935. Subject:   -88- Why is famd hammering my NFS server?
  1936. Date: 24 Oct 1995 00:00:01 EST
  1937.  
  1938.   It's partly a bug; get patch 165 for IRIX 5.2 and patch 166 for IRIX
  1939.   5.3. It's partly just famd's nature; you can try to calm it down by
  1940.   changing its polling interval (6 seconds by default, specified by the
  1941.   '-t 6' flag) in /etc/inetd.conf.  If you do install the patch, don't
  1942.   forget to add the '-l' flag to famd's line in /etc/inetd.conf.
  1943.  
  1944. ------------------------------
  1945.  
  1946. Subject:   -89- What is causing "/dev/imon: event queue overflow" in my
  1947.                 syslog?
  1948. Date: 24 Oct 1995 00:00:01 EST
  1949.  
  1950.   Probably famd. Try the measures in the previous entry. If those don't
  1951.   work, try increasing the value of QSIZE in /var/sysgen/master.d/imon
  1952.   and rebuilding your kernel.
  1953.  
  1954. ------------------------------
  1955.  
  1956. Subject:   -90- BUGS
  1957. Date: 03 Jun 1995 00:00:01 EST
  1958.  
  1959.   These questions discuss miscellaneous bugs in IRIX. Note also the
  1960.   entry on bugs and patches in the misc FAQ, and Walter Roberson's patch
  1961.   lists in the "WWW pages" section of the same FAQ.
  1962.  
  1963. ------------------------------
  1964.  
  1965. Subject:   -91- Why do 'who', 'rusers', etc. show users who aren't
  1966.                 really logged in?
  1967. Date: 30 Jan 1995 00:00:01 EST
  1968.  
  1969.   Several bugs in different versions of IRIX cause /etc/utmp to not be
  1970.   updated properly after a user logs out. Programs incorrectly reporting
  1971.   logins are correctly reporting the incorrect contents of /etc/utmp.
  1972.   One such bug is present in an unspecified part of IRIX 4.0.x and fixed
  1973.   in IRIX 5.x, and another is in ftpd in IRIX 5.2 and fixed in patch 162
  1974.   and IRIX 5.3.
  1975.  
  1976.   If one can't fix the bug which causes the incorrect /etc/utmp
  1977.   entries, one can run a separate program to remove them from /etc/utmp
  1978.   after the fact. Jeremy DuBois <jer@asdc.com>, David Hinds
  1979.   <dhinds@allegro.stanford.edu> and Patrick M. Ryan <pat@gsfc.nasa.gov>
  1980.   have written such programs, which can be found in
  1981.   ftp://viz.tamu.edu/pub/sgi/software/utmp/. SGI provides such a
  1982.   program, /usr/sbin/chkutent, in IRIX 5.3; the root crontab runs it
  1983.   daily.
  1984.  
  1985. ------------------------------
  1986.  
  1987. Subject:   -92- What's wrong with ftpd in IRIX 5.2?
  1988. Date: 30 Jan 1995 00:00:01 EST
  1989.  
  1990.   It doesn't maintain utmp properly (see the previous entry) and it dies
  1991.   during 'mget's. Get patch 162 or upgrade to 5.3.
  1992.  
  1993. ------------------------------
  1994.  
  1995. Subject:   -93- Why isn't /usr/adm/SYSLOG being updated?
  1996. Date: 20 Dec 1996 00:00:01 CST
  1997.  
  1998.   Popular causes include:
  1999.  
  2000.   - running out of disk space. Once syslogd is unable to write to
  2001.     /usr/adm/SYSLOG, it won't try again until it is `killall -HUP
  2002.     syslogd`ed.
  2003.  
  2004.   - installing IRIX 4.0.x and failing to heed the nagging from
  2005.     the system when it is rebooted to run 'versions changed' and
  2006.     combine new and old configuration files.  In this case, the trouble
  2007.     is in /usr/spool/cron/crontabs/root.
  2008.  
  2009.   - Separating fields in /etc/syslog.conf with spaces instead of tabs.
  2010.     If you use spaces, syslogd will silently segv when it reads that
  2011.     file. 
  2012.  
  2013. ------------------------------
  2014.  
  2015. Subject:   -94- I just edited /etc/inittab, and now I can't start up or
  2016.                 shut down my SGI! What's wrong?
  2017. Date: 03 Dec 1994 00:00:01 EST
  2018.  
  2019.   If the last line of /etc/inittab is a comment, init will screw up
  2020.   horribly.  If your machine is still running, remove the comment and
  2021.   everything will be OK. If not, go to the miniroot, run the shell and
  2022.   remove the comment from there. The following sequence of commands is
  2023.   one possible way to do this:
  2024.  
  2025.     cd /root/etc
  2026.     cat inittab        # Decide how many lines to remove (say three)
  2027.     wc inittab        # See how many lines inittab has (say 120)
  2028.     head -117 inittab > inittab.new   # Keep the first 120 - 3 lines
  2029.     mv inittab inittab.old
  2030.     mv inittab.new inittab
  2031.     cat inittab        # Just making sure
  2032.  
  2033.   and reboot. Don't forget the 'cd'; from the miniroot's point of view,
  2034.   /etc/inittab is /root/etc/inittab.
  2035.  
  2036.   The problem should be fixed in IRIX 5.3.
  2037.  
  2038. ------------------------------
  2039.  
  2040. Subject:   -95- Why does timed say "bind: Cannot assign requested
  2041.                 address"?
  2042. Date: 29 Oct 1994 00:00:01 EST
  2043.  
  2044.   timed is incompatible with the rld which comes with patchSG0000023,
  2045.   which is needed for DeltaCC. There are two solutions to this problem
  2046.   (thanks to Alan Davis <davis@masig.fsu.edu>):
  2047.  
  2048.   - Get a new timed from SGI.
  2049.  
  2050.   - Replace the following line in /etc/init.d/network.options (line 664
  2051.     in an unmodified IRIX 5.2 file)
  2052.  
  2053.     /usr/etc/timed -M `cat $CONFIG/timed.options 2> /dev/null` &
  2054.  
  2055.     with
  2056.  
  2057.     env _RLD_ARGS="-clearstack" /usr/etc/timed `cat $CONFIG/timed.options 2> /dev/null` &
  2058.  
  2059. ------------------------------
  2060.  
  2061. Subject:   -96- Why does "ALERT: i2cWaitForXferDone: Xfer Done timeout
  2062.                 ERROR" appear in my SYSLOG?
  2063. Date: 22 Oct 1995 00:00:01 EST
  2064.  
  2065.   These messages appear when the Indycam is unplugged. They are
  2066.   harmless, but if they bother you you can banish them with patch 486.
  2067.  
  2068. ------------------------------
  2069.  
  2070. Subject:   -97- Why has NIS (YP) stopped working under IRIX 6.x?
  2071. Date: 04 Jul 1996 00:00:01 EST
  2072.  
  2073.   Joshua Hart <hart@mcbi-36.med.nyu.edu> writes: Under earlier IRIXes,
  2074.   NIS domain names could contain uppercase letters. Under IRIX 6.x they
  2075.   may not; only lowercase letters are permitted.
  2076.  
  2077. ------------------------------
  2078.  
  2079. Subject:   -98- MISCELLANEOUS
  2080. Date: 15 May 1994 00:00:01 EST
  2081.  
  2082.   Everything else.
  2083.  
  2084. ------------------------------
  2085.  
  2086. Subject:   -99- How do I set the number of processes allowed on my
  2087.                 machine?
  2088. Date: 13 Nov 1994 00:00:01 EST
  2089.  
  2090.   Use systune(1M) to change 'nproc' (in the 'numproc' group of
  2091.   parameters) and reboot.
  2092.  
  2093. ------------------------------
  2094.  
  2095. Subject:  -100- Where can I get a termcap file for 'iris-ansi-net' to
  2096.                 install on my non-SGI system?
  2097. Date: 4 Jun 1997 00:00:01 CST
  2098.  
  2099.   SGIs use terminfo, so you need to translate the terminfo description
  2100.   to termcap. 'infocmp -Cr iris-ansi-net' will produce an iris-ansi-net
  2101.   termcap file. See infocmp(1) for more. Note that 'infocmp' is in the
  2102.   eoe2.sw.terminf subsystem in IRIX 5.x, 6.0.x, and 6.1, and is not 
  2103.   installed by default.  (infocmp is part of eoe.sw.unix in IRIX 6.2
  2104.   and above and is installed by default.)
  2105.  
  2106. ------------------------------
  2107.  
  2108. Subject:  -101- How can I make my SGI understand strange terminal types
  2109.                 from other Unix systems?
  2110. Date: 4 Jun 1997 00:00:01 EST
  2111.  
  2112.   If the other system uses terminfo:
  2113.   Brent L. Bates <blbates@vigyan.com> has been able to copy binary 
  2114.   terminfo files directly between several different types of systems.
  2115.   (On IRIX 5.x and above, the terminfo files are located under 
  2116.   /usr/share/lib/terminfo.)  However, if for some reason this does not
  2117.   work, use 'infocmp -I whatever > file' to extract the source 
  2118.   erminfo entry for the terminal. Transfer the file to your SGI and
  2119.   do 'tic file' (as root) to put the entry into the terminfo database.
  2120.   
  2121.   If the other system uses termcap:
  2122.   Snip the termcap entry out of /etc/termcap (or wherever) with an 
  2123.   editor, transfer it to your SGI and (as root) do 'captoinfo file
  2124.   > newfile' and 'tic newfile'.
  2125.  
  2126.   See also the infocmp(1), captoinfo(1), tic(1) and terminfo(4)
  2127.   manpages, and make sure you've installed eoe2.sw.terminf (under
  2128.   IRIX 5.x, 6.0.x, and 6.1), which is not installed by default. 
  2129.   On IRIX 6.2 and above, these utilities are part of eoe.sw.unix.
  2130.  
  2131.   Many unusual terminal devices can be taken care of in IRIX 6.2 and
  2132.   above by installing eoe.sw.terminfo, which includes terminfo files
  2133.   for many devices. 
  2134.  
  2135. ------------------------------
  2136.  
  2137. Subject:  -102- Can I change my login shell or other password-file info
  2138.                 without being superuser?
  2139. Date: 27 Jan 1996 00:00:01 EST
  2140.  
  2141.   At a graphics terminal, use the User Manager. At a text terminal, if
  2142.   your account is on NIS (Yellow Pages) use 'ypchpass'.  If it isn't
  2143.   you're stuck, because IRIX has no way to change a local user's
  2144.   password-file info from the command line.  You might ask your
  2145.   superuser to install one of the many free implementations of 'chsh'
  2146.   and/or 'chfn' (one is in volume 3 of comp.sources.unix, at
  2147.   ftp://ftp.uu.net/usenet/comp.sources.unix/volume3/) but they'll want
  2148.   to make sure that those programs know how to lock /etc/passwd
  2149.   properly.
  2150.  
  2151. -----------------------------
  2152.  
  2153. Subject:  -103- How can I administer my Iris without a graphics
  2154.                 terminal?
  2155. Date: 13 Apr 1994 00:00:01 EST
  2156.  
  2157.   The visual admin tools in IRIX 4.0.x ('vadmin') need GL, and do not
  2158.   work on X terminals or workstations without GL. You can use 'sysadm'
  2159.   on text terminals for some tasks, but beware of bugs and
  2160.   inadequacies: SGI judged 'sysadm' to be too buggy to be worth
  2161.   updating for IRIX 5.x.
  2162.  
  2163.   The visual admin tools in IRIX 5.2 and later should display on any X
  2164.   display, *except* for the backup/restore tool which is an exact port
  2165.   from IRIX 4.0.x and requires GL. Some images will be missing when GL
  2166.   is unavailable, but the tools will function properly. As for text
  2167.   terminals, you're out of luck: 'sysadm' does not exist in IRIX 5.x.
  2168.  
  2169.   Of course, you can always use a text editor and write scripts, or see
  2170.   the next question.
  2171.  
  2172. ------------------------------
  2173.  
  2174. Subject:  -104- How can I use the visual admin tools on a system with
  2175.                 graphics to administer a system without graphics?
  2176. Date: 12 Feb 1994 00:00:01 EST
  2177.  
  2178.   rlogin to the graphics-less system and run 'vadmin' (IRIX 4.0.x) or
  2179.   'chost' (IRIX 5.x).  Make sure that the DISPLAY environment variable
  2180.   is set correctly and that both the vadmin/sysadmdesktop and the
  2181.   shared library subsystems are installed on the graphics-less system
  2182.   (which they are in the default installation).
  2183.  
  2184.   Under IRIX 5.x, look at the READMEs in /var/sysadmdesktop/rsysmanapps
  2185.   and /var/sysadmdesktop/sysmanapps to find out how to use 'chost' to
  2186.   run commands on remote systems. Finally, in a future release of IRIX
  2187.   5.x, the sysadmdesktop tools will be able to manage remote systems
  2188.   *without* doing an rlogin.
  2189.  
  2190. ------------------------------
  2191.  
  2192. Subject:  -105- What's /etc/ioctl.syscon?
  2193. Date: 09 Apr 1995 00:00:01 EST
  2194.  
  2195.   The default 'stty' setings to use on the console in single user mode,
  2196.   in 'stty -g' format.
  2197.  
  2198. ------------------------------
  2199.  
  2200. Subject:  -106- Can I log out users automatically?
  2201. Date: 29 Apr 1995 00:00:01 EST
  2202.  
  2203.   It depends on the sense of "log out" you want. If your users use the
  2204.   'tcsh' shell you can set the autologout shell variable (and possibly
  2205.   make it read-only) in a startup script to log out inactive shells.
  2206.   This won't do anything to an instantiation of tcsh which is waiting
  2207.   for another program to quit (e.g. a 'more' process in mid-file) or to
  2208.   programs other than tcsh (e.g. a 'jot' window), and it won't log one
  2209.   out of the graphics console. One can imagine a program similar to a
  2210.   screen saver which would log one out after so many minutes of
  2211.   keyboard/mouse inactivity, but we don't know of one. However, if
  2212.   you're only worried about security (rather than resource hogging) it
  2213.   may suffice to use 'xlock' to lock the screen rather than actually
  2214.   logging one out. For that matter, tcsh can also lock itself rather
  2215.   than logging one out; this wouldn't be helpful on a graphics console
  2216.   but might be on a simple terminal.
  2217.  
  2218. ------------------------------
  2219.  
  2220. Subject:  -107- How can I change kernel variables and/or rebuild my
  2221.                 kernel?
  2222. Date: 14 Oct 1995 00:00:01 EST
  2223.  
  2224.   To change a kernel variable under IRIX 5.x, use systune(1M). It saves
  2225.   the tuned kernel in /unix.install; if this file exists, it is moved to
  2226.   /unix on the next reboot. systune will change the parameters in the
  2227.   running kernel if it can, and tell you to reboot if it can't.
  2228.  
  2229.   To actually rebuild the kernel, use 'autoconfig -f'. This leaves the
  2230.   rebuilt kernel in /unix.install. You must reboot to begin using the
  2231.   rebuilt kernel; "rebuild your kernel" elsewhere in the FAQs implies
  2232.   rebooting.
  2233.  
  2234.   IRIX 4.0.x does not have systune. To change a kernel variable, edit
  2235.   the file in /usr/sysgen/master.d which contains the variable, rebuild
  2236.   the kernel and reboot.
  2237.  
  2238. ------------------------------
  2239.  
  2240. End of sgi/faq/admin Digest
  2241. ******************************
  2242. -- 
  2243. The SGI FAQ group <sgi-faq@viz.tamu.edu>   http://www-viz.tamu.edu/~sgi-faq/
  2244. Finger us for info on the SGI FAQs, or look in ftp://viz.tamu.edu/pub/sgi/.
  2245.