Comanche problem:

I mounted the harddisks of apache on comanche first to check and
see if they are 9GB disks.
unfortunately I have not disconnected the power before I added a drive
and now I get this error when I reboot comanche:

unexpected EOF at line 767 in /etc/rc2.d/S30.network

this file links to /etc/init.d/network
and the last ~300 lines are missing if I comare it to 
/etc/init.d/network at wolfson.

booting into single user mode is ok but I cannot ftp or telnet or do a
cp /hosts/wolfson/etc/init.d/network

we also don't have a system backup of this this yet.
the files network and network.O are truncated although they
are listed with the org. filesize (eg same as on wolfson).
Ordinarily if just a few files are missing one can copy the files on a
externel disk (eg wolfson) and connect that disk to comanche and
boot into single user mode and copy the files over to the
damaged system disk.
If more files are affected or like here we don't know how many files are
affected it's better to re-install some of the core operating system
software from CDROM.


Re-Install system software from CDROM:
======================================

- turn off power on computer and all devices (disks, DATS,...)
  => IMPORTANT: disks might get damaged if not "hot swap-able" (D.S.)
- connect CRROM drive 
- put in part1 of IRIX 6.2 CD
- turn on power
- reboot Indy + press <ESC> or click on "Stop for maintenace" (5)
  (enter PROM)
- install system software from CDROM (2) gets you into "Inst>" prompt
- "Inst>" keep *
- "Inst>" step eoe   (eoe = execution only environment ~ core operating system)
          step eoe.sw.unix   (unix system software is enough in this case)
          -> put "i" before "S" marked items to install them
          -> type "step eoe" again if some items got missed or mixed up
- "Inst>" go
--> part2 of IRIX 6.2 CD not needed (will give interrupt errors if used)
- type: quit on "Inst>" prompt to build new kernel. Ie:
    + build ELF inventory files for real quick start (rqs)
    + invoke rqs
    + restart system
- ftp /etc/config/ifconfig-1.options from cheyenne. Ie: 
    netmask 255.255.255.224
- ftp /etc/resolv.conf from cheyenne. Ie:
    hostresorder local bind
    domain nascom.nasa.gov
    nameserver 150.144.192.49
    nameserver 150.144.192.196
- set correct timezeone in /etc/TIMEZONE. Ie:
    TZ=EST5EDT
- sync time: vi /etc/ntp.conf  Ie:
    server 128.183.10.134         # ns.gsfc.nasa.gov
    server 128.183.115.33         # ns2.gsfc.nasa.gov
    driftfile /etc/ntp.drift
- stop and restart timer:
    cd /etc/init.d
    ./ntp stop
    ./ntp start
- set up automounter: add comanche to /etc/exports on all machines. Ie:
    + cat /hosts/cheyenne/etc/exports
    /disk6 -rw,access=mdisas:cherokee:chippewa:apache:sunshower:comanche
    /disk5 -rw,access=mdisas:cherokee:chippewa:apache:sunshower:comanche
    /disk7 -rw,access=mdisas:cherokee:chippewa:apache:sunshower:comanche
    /      -rw,access=mdisas:cherokee:chippewa:apache:sunshower:comanche
    + cat /hosts/comanche/etc/exports
    /      -rw,access=mdisas:cherokee:chippewa:apache:sunshower:cheyenne
    /disk1 -rw,access=mdisas:cherokee:chippewa:apache:sunshower:cheyenne
- connect external hard disk:
  + shut down power
  + disconnect CDROM and connect external hard disk
  + power up external hard disk a bit before the Indy to let it spin up
- patches not re-installed since system seems to work fine now
- copy cheyenne's /etc/config/static-route.options to new machine
  and activate router via:
    route add default 150.144.199.129
  Try ping sundog.spasci.com from comanche as test.
- edit /etc/cshrc removing the ana setup stuff and IDL setenv
  (IDL will need to be re-installed)
- put shared disk infos in: 
    /etc/exports
- activate autofs with this file via: 
    exportfs -av
- put mail alias infos into:
    /etc/aliases
- activate aliases via:
    newaliases
- configure system via: (see files in /etc/config)
    chkconfig

- add 500MB swap space via swap-file:
    cd /disk1
    mkfile +500m moreswap
    swap -a /disk1/moreswap
=> to have it readded on reboot add this line to /etc/fstab:
    /disk1/moreswap swap swap pri=3 0 0
- check available swap space:
    swap -lnf
    swap -s

- set link for browser:
    ln -s /hosts/cheyenne/disk5/trace_egse_sw /tsw

---------------------------------------------------------------------

important LOG files:
====================

more /var/adm/SYSLOG


important source+script files:
==============================

more /etc/init.d/network
more /etc/init.d/autoconfig
more /etc/config/autofs
more /etc/rc2.d/S99idl5   #IDL startup

ls /etc/init.d/           #initialization
ls /etc/rc2.d/            #started at boot-time
