Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
2Activity
×
0 of .
Results for:
No results containing your search query
P. 1
Troubleshooting-Maintenance of HP-UX

Troubleshooting-Maintenance of HP-UX

Ratings:

5.0

(8)
|Views: 4,627|Likes:
Published by sachinsharma10

More info:

Published by: sachinsharma10 on Apr 16, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
See More
See less

01/22/2011

 
Troubleshooting/Maintenance of HP-UX
Where to get information about problems:
dmesg --> provides a finite list of diagnostic messages
/var/adm/syslog/syslog.log --> system log
/opt/resmon/log/error.log -->
/etc/shutdownlog --> shutdown information
/etc/rc.log --> system startup log
/var/tombstones/ts99 --> crash analysis file
cstm - command line support tool manager 
mstm - menu based support tool manager 
o
<alt><underlined letter of command>
o
<tab> --> to move to another portion of the screen, such as the dropdown menu area
Service Processor 
o
<ctrl> <b> from a serial console
o
he - help
o
co - return to console mode (exits the program)
o
sl - show log
Panic Reboots
Check these files for clues:
/var/tombstones/ts99
/etc/shutdownlog
Bad disk 
1. Check the syslog (/var/adm/syslog/syslog.log) looking for disk errors.2. Check the ioscan (ioscan -fnC disk), looking for NO_HW rather than Claimed.3. If diaglogd is running then check STM logs (/var/opt/resmon/log/event.log)4. Check the volume group to see if the disk is listed and whether there is any problemwith it's status (vgdisplay -v | more)5. Check lvmtab to see if the disk is supposed to be in a volume group (strings/etc/lvmtab | more)
Filesystem do not mount after a reboot
1. Reactivate the Volume Group --> vgchange -a y /dev/<volume group>2. Remount the filesystems --> mount -a
 
3. If still no success then perform a filesystem check --> fsck /dev/<volumegroup>/<logicalvolume>4. Remount the filesystems --> mount -a5. Check to see if all the filesystems are there:a) bdf b) compare with /etc/fstab
Filesystem full
du -kx / | sort -rn | moredu -akx | sort -nr | moreShows directories on the local filesystem and how much space they are taking up
NFS mount - Permission Denied
1. Check to see if the format of the /etc/exports file is correct on the server that is the nfsserver.2. exportfs -av to export the filesystem3. Check the /etc/fstab file on the client to make sure that it is correct4. /usr/sbin/showmount -e <server> on the client to show what is being exported5. To bypass the /etc/exports file execute the following on the nfs server:
exportfs -i -orw <filesystem>.NFS Server
/etc/rc.config.d/nfsconf --> NFS_SERVER=1Verify the proper processes are running:/sbin/init.d/nfs.server stopThe processes should NOT be running:# ps -ef|grep nfsd# ps -ef|grep rpc.mountd# ps -ef|grep rpc.lockd# ps -ef|grep rpc.statd/sbin/init.d/nfs.server start
 
These processes should be running:# ps -ef|grep nfsdroot 3444 1 0 10:39:12 ? 0:00 /usr/sbin/nfsd 4root 3451 3444 0 10:39:12 ? 0:00 /usr/sbin/nfsd 4root 3449 3444 0 10:39:12 ? 0:00 /usr/sbin/nfsd 4root 3445 3444 0 10:39:12 ? 0:00 /usr/sbin/nfsd 4# ps -ef|grep rpc.mountdroot 3485 1 0 10:42:09 ? 0:00 rpc.mountd# ps -ef|grep rpc.lockdroot 3459 1 0 10:39:12 ? 0:00 /usr/sbin/rpc.lockd# ps -ef|grep rpc.statdroot 3453 1 0 10:39:12 ? 0:00 /usr/sbin/rpc.statdTo start a process if it is not running:# ps -ef|grep rpc.mountd# rpc.mountd or /usr/sbin/rpc.mountd# ps -ef|grep rpc.mountdroot 3485 1 0 10:42:09 ? 0:00 rpc.mountd/etc/inetd.conf needs to have the proper services active (not commented out)### WARNING: The rpc.mountd should now be started from a startup script.# Please enable the mountd startup script to start rpc.mountd.###rpc stream tcp nowait root /usr/sbin/rpc.rexd 100017 1 rpc.rexd
rpc dgram udp wait root /usr/lib/netsvc/rstat/rpc.rstatd 100001 2-4 rpc.rstatdrpc dgram udp wait root /usr/lib/netsvc/rusers/rpc.rusersd 100002 1-2rpc.rusersdrpc dgram udp wait root /usr/etc/rpc.mountd 100005 1 rpc.mountd -erpc dgram udp wait root /usr/lib/netsvc/rwall/rpc.rwalld 100008 1rpc.rwalld
#rpc dgram udp wait root /usr/sbin/rpc.rquotad 100011 1 rpc.rquotad
rpc dgram udp wait root /usr/lib/netsvc/spray/rpc.sprayd 100012 1rpc.spraydNIC problems:
The lanadmin utility provides NIC statisticsThe nettladmin utility provides packet trace information

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->