SSC Troubleshooting Basics HP-UX & Solaris Almost Everything You’ll Need To Know So You Won't Smash Your Computer Contributions by DaNae Tyler (SPAWAR) Jim Strachan, Randy Silks Rev. 1.
Changes, additions, and contributions to this document may be made by emailing them to: support@aei-it.com Warning: This document is a troubleshooting guide, and is meant to be used in conjunction with the appropriate product user manual. Copyright © 2004 The information contained in this document represents the current view of AEI Intelligent Technologies, Inc. on the issues discussed as of the date of publication.
Contents HP-UX Operating System ...................................................................................5 HP GCCS-M Basics ...................................................................................... 5 Terminal window: .......................................................................................................................................................... 5 Telnet: ...........................................................................................................
lanscan: ...................................................................................................18 lanadmin: .................................................................................................18 ifconfig: ...................................................................................................18 When Things Go Wrong ..............................................................................18 HP NIC Install Problems: ....................................................
HP-UX Operating System HP GCCS-M Basics Terminal window: • If you are not currently logged on as sysadmin then you will need to use telnet to get to a terminal window • The terminal window is located in file manager, and then click on DIIAPS and then SA Default.
• you must be in a terminal window and at the prompt type, “ping” and then the machine IP or hostname such as: #ping machine_name #ping xxx.xxx.xxx.
HP GCCS-M File System Important Directories / Files Structures. / h usr etc sbin Figure 1 Rev. 1.
/h GWIRE gwire.tar USERS gw.start local cubop signals & other misc are stored in this directory Figure 2 Rev. 1.
/etc defaultrouter /rc.config.d hosts host table netconf Network Configurations Very Important Figure 3 Rev. 1.0 -9- resolv.
/usr local sam It is important to know the paths of SAM and Netscape netscape Figure 4 Rev. 1.
/sbin fsck, mkdir, rm, who, mkfs, newfs, shutdown sbin lists some commands these are just a few examples Figure 5 Rev. 1.
Not So Basic UNIX Commands (HP-UX & Solaris) The vi command: • You have to be in root to edit files • To change information within text files type, “vi” and then the file name: #vi netconf • Once the file is shown you can use the arrow keys to move throughout the file • To insert text first hit the “esc” button, and then “i”. from then on if you type anything it will insert where you left the cursor last • To delete text first hi the “esc” button, and then “x”.
The ps –ef command: • lists machine processes with additional information such as what usr is using that process, process number, what date it started, how long it’s been running, and the path for that process • you can kill the process by typing, “#kill (process number)” The df command: • reports number of free files system disk blocks • use df –k to list in kilobytes (KB).
Important Files netconf : • the netconf file controls most of the networking configurations • it is located in the rc.config.d directory • to get there type,”#cd /etc” and then “#cd rc.config.d” and then type, “ls” and it will list the files • to view the file type, “more netconf” • to edit the file type, “vi netconf” (go to vi instructions) • if you make changes to the file you need to reboot the machine.
HP P100 NIC Instructions 1. Either email driver to machine or put on dat and read driver from this source. 2. tar -xvf "file name" 3. Open SAM 4. Click on “software management” 5. Click on “install software to local host” 6. Get software... change to “local directory” and change path to” /HP” 7. Under actions, select “install (analysis)” 8. After that is done select ok, and then yes, yes 9. It'll install now and then click yes to reboot 10.
15. reboot 16. after reboot do lanscan to see if pfe1 is up (Ref lanscan instructions, page 18) 17. Try pinging another machine and then try pinging DNS 18. If all is good you are done! For 10.20 OS installations, use the December 2000 CD-ROM For earlier installations, you must go into the kernel (Under SAM) and turn on the GSC-to-PCI driver. B2000 Problem: Solution: Place card in system, power up, and system crashes. Upgrade OS to HP-UX 11 and install AEI 11 driver. Solution1: In HP-UX 10.
B2600 Problem: Solution: B3600C Problem: No Link Solution: Use AEI’s an updated driver for the B3600C Call Randy at 951-296-2022, ask for B3600 device driver J6000 Problem: Solution: Rev. 1.
LANSCAN, LANADMIN, AND IFCONFIG lanscan: • This command lists what network device the machine “sees” and which one is being used lanadmin: • This command allows you to view the LAN configurations and edit them ifconfig: • This command shows if the interface is up or not, #ifconfig pfe1 • It will list the IP address that represents the broadcast being received by that machine • You can set the interface as “up” #ifconfig lan0 UP but this only turns it on if it was previously marked as “down”.
No Tracks: • First check the TMS/UCP by logging in as sysadmin. Use the pull down menu for this option and select “TMS Config” • On a client, make sure that “client” and “network” are selected. If this isn’t correct, then that machine won’t see the global files. You will need to reboot the machine if you changed anything with the TMS/UCP. • To see if the machine sees the global files use the pulldown menu for “Hardware” and then select “Disk Manager”.
device you want to boot off of (p1 is typically your hard drive), and then there will be another prompt asking if you want to interact with the IPL, type ‘y’ for yes. Yet another prompt will come up, type: ‘HPUX –iS /stand/vmunix’ • This will boot the computer in Single User Mode. And once booted a username/password prompt appears type : root and the password for root. • When using this mode, some commands will not execute. Such as lanadmin will not work.
Sun Basics Sun Basics: • Most configuration files are in /etc • Some important files are: hostname.pfx0, resolv.
User Notes This blank page has been provided to the user for additional note taking if necessary. Rev. 1.