- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: strange errors on rp2470
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 07:29 AM
09-03-2008 07:29 AM
[1] % sysdiag
sysdiag: Command not found.
[2] % swlist
swlist: Command not found.
[20] % ioscan -fnC disk
ioscan: Command not found.
I am logged in as root... but still I do not know why I do not get the o/p..
[10] % uptime
8:18am up 8 mins, 2 users, load average: 0.00, 0.05, 0.04
[11] % bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 147456 146871 585 100% /
/dev/vg00/lvol1 298928 37544 231488 14% /stand
/dev/vg00/lvol8 1081344 464346 583582 44% /var
/dev/vg00/lvol7 737280 621631 108442 85% /usr
/dev/vgSYS/lvolTRNS
3072000 1426738 1542496 48% /usr/sap/trans
/dev/vgSYS/lvolUSR 3072000 91421 2794319 3% /usr/sap/TXW
/dev/vg00/lvol4 65536 18261 44927 29% /tmp
/dev/vgSYS/lvolSAPMNT
3072000 770635 2157586 26% /sapmnt/TXW
/dev/vgDB/lvolSTAGE
2048000 927955 1050059 47% /oracle/stage/817_32
/dev/vgDB/lvolORA 102408192 99166320 3216600 97% /oracle/TXW
/dev/vgSYS/lvolOLA 204800 48575 146467 25% /oracle/TXW/origlogA
/dev/vgSYS/lvolMLB 204800 42119 152520 22% /oracle/TXW/mirrlogB
/dev/vg00/lvol6 409600 222494 175453 56% /opt
/dev/INST/lvolINST 35549184 12059824 23305880 34% /inst
/dev/vg00/lvol5 32768 1455 29410 5% /home
[12] % vgdisplay
vgdisplay: Command not found.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 07:35 AM
09-03-2008 07:35 AM
Re: strange errors on rp2470
/sbin/ioscan
or
/sbin/vgdisplay should work.
Try
echo $PATH
and inspect your .profile and /etc/profile
What shell are you using?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 07:40 AM
09-03-2008 07:40 AM
Re: strange errors on rp2470
/var
[46] % ll
total 22
drwxr-xr-x 3 bin bin 96 Aug 11 2004 X11
drwxr-xr-x 11 adm adm 1024 Sep 3 08:10 adm
drwxr-xr-x 4 root sys 2048 Sep 3 08:12 dt
drwxrwxrwt 2 bin bin 96 Aug 11 2004 home
drwxr-xr-x 2 root root 96 Aug 11 2004 lost+found
drwxrwxr-x 2 bin mail 96 Aug 21 06:55 mail
drwxrwxrwx 2 bin bin 96 Aug 11 2004 news
dr-xr-xr-x 11 bin bin 1024 Sep 17 2004 opt
drwxrwxrwx 3 root sys 2048 Aug 13 2004 patches
drwxrwxrwx 2 bin bin 96 Aug 11 2004 preserve
drwxrwxrwx 2 bin bin 96 Aug 11 2004 rbootd
dr-xr-xr-x 2 bin bin 96 Jul 30 2007 run
dr-xr-xr-x 9 bin bin 1024 Sep 3 08:11 sam
drwxr-xr-x 13 root sys 1024 Aug 13 2004 spool
drwxr-xr-x 4 root sys 96 Aug 11 2004 statmon
drwxrwxrwx 3 bin bin 2048 Sep 3 08:11 tmp
dr-xr-xr-x 6 bin bin 96 Aug 11 2004 uucp
drwxr-xr-x 3 root sys 1024 Aug 11 2004 yp
[47] %
*******There is no Tombstones directory***********
[47] % echo $PATH
/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/b
in:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/hparray/b
in:/opt/graphics/common/bin
I do not find any issues in these .profile and /etc/profile
[53] % cat .profile
# @(#) $Revision: 74.2 $
# Default (example of) super-user's .profile file
# Do not put "." in PATH; it is a potential security breach.
# Do not put "/usr/local/bin" in PATH; it is a potential security breach.
# Example assumes /home/root exists.
set +u
PATH=/usr/sbin:$PATH:/sbin:/home/root
# Be sure that VUE does not invoke tty commands
if [ ! "$VUE" ]; then
# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
tabs
echo
echo "Value of TERM has been set to \"$TERM\". "
export TERM
EDITOR=vi
export EDITOR
fi # if !VUE
# Set up shell environment:
set -u # error if undefined variable.
trap "echo 'logout root'" 0 # what to do on exit.
# Set up shell variables:
MAIL=/var/mail/root
# don't export, so only login shell checks.
echo "WARNING: YOU ARE SUPERUSER !!\n"
[54] %
[55] % cat /etc/profile
# @(#) $Revision: 74.2 $
# Default (example of) system-wide profile file (/usr/bin/sh initialization).
# This should be kept to the bare minimum every user needs.
# Ignore HUP, INT, QUIT now.
trap "" 1 2 3
# Set the default paths - Do NOT modify these.
# Modify the variables through /etc/PATH and /etc/MANPATH
PATH=/usr/bin:/usr/ccs/bin:/usr/contrib/bin
MANPATH=/usr/share/man:/usr/contrib/man:/usr/local/man
# Insure PATH contains either /usr/bin or /sbin (if /usr/bin is not available).
if [ ! -d /usr/sbin ]
then
PATH=$PATH:/sbin
else if [ -r /etc/PATH ]
then
# Insure that $PATH includes /usr/bin . If /usr/bin is
# present in /etc/PATH then $PATH is set to the contents
# of /etc/PATH. Otherwise, add the contents of /etc/PATH
# to the end of the default $PATH definition above.
grep -q -e "^/usr/bin$" -e "^/usr/bin:" -e ":/usr/bin:"\
-e ":/usr/bin$" /etc/PATH
if [ $? -eq 0 ]
then
PATH=`cat /etc/PATH`
else
PATH=$PATH:`cat /etc/PATH`
fi
fi
fi
export PATH
# Set MANPATH to the contents of /etc/MANPATH, if it exists.
if [ -r /etc/MANPATH ]
then
MANPATH=`cat /etc/MANPATH`
fi
export MANPATH
# Set the TIMEZONE
if [ -r /etc/TIMEZONE ]
then
. /etc/TIMEZONE
else
TZ=MST7MDT # change this for local time.
export TZ
fi
# Be sure that VUE does not invoke tty commands
if [ ! "$VUE" ]; then
# set term if it's not set
if [ "$TERM" = "" -o "$TERM" = "unknown" -o "$TERM" = "dialup" \
-o "$TERM" = "network" ]
then
eval `ttytype -s -a`
fi
export TERM
# set erase to ^H, if ERASE is not set
if [ "$ERASE" = "" ]
then
ERASE="^H"
export ERASE
fi
stty erase $ERASE
# Set up shell environment:
trap "echo logout" 0
# This is to meet legal requirements...
cat /etc/copyright
# Message of the day
if [ -r /etc/motd ]
then
cat /etc/motd
fi
# Notify if there is mail
if [ -f /usr/bin/mail ]
then
if mail -e
then echo "You have mail."
fi
fi
# Notify if there is news
if [ -f /usr/bin/news ]
then news -n
fi
# Change the backup tape
if [ -r /tmp/changetape ]
then echo "\007\nYou are the first to log in since backup:"
echo "Please change the backup tape.\n"
rm -f /tmp/changetape
fi
fi # if !VUE
# Leave defaults in user environment.
trap 1 2 3
[56] %
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 07:43 AM
09-03-2008 07:43 AM
Re: strange errors on rp2470
# whence bdf
/usr/bin/bdf
# whence uptime
/usr/bin/uptime
# whence ioscan
/usr/sbin/ioscan
# whence vgdisplay
/usr/sbin/vgdisplay
# grep /usr/sbin /.profile
PATH=/usr/sbin:$PATH:/sbin:
/usr/sbin is likely missing in your PATH!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 07:50 AM
09-03-2008 07:50 AM
Re: strange errors on rp2470
:-((
What shell are you using?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 07:54 AM
09-03-2008 07:54 AM
Re: strange errors on rp2470
How can I update it...
Also when i wanted to find the pdf version i give mstm and i hit the following it errorrs...
[59] % mstm
mstm: Command not found.
[60] % model
9000/800/A500-7X
[61] % uname -a
HP-UX taxware B.11.00 U 9000/800 864899611 unlimited-user license
The tombstones directory is not there...
No crash dumps...
The GSP hasen't been configured..there is no IP address for it to access GSP remotely..I can only log in with the console.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 08:02 AM
09-03-2008 08:02 AM
Re: strange errors on rp2470
Your prompt does not look right for a root user on Hp-UX.
It looks more like you are using a csh or ksh.
Please do:
env| grep SHELL
Also, do :
who am i
whoami
if you are logged in as a normal user, did you use su to switch to root user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 08:03 AM
09-03-2008 08:03 AM
Re: strange errors on rp2470
# whence mstm
/usr/sbin/mstm
Your PATH variable is still missing the /usr/sbin
Please run
# ps
and post.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 08:09 AM
09-03-2008 08:09 AM
Re: strange errors on rp2470
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 08:18 AM
09-03-2008 08:18 AM
Re: strange errors on rp2470
And then i'll start troubleshooting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 08:41 AM
09-03-2008 08:41 AM
Re: strange errors on rp2470
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 09:45 AM
09-03-2008 09:45 AM
Re: strange errors on rp2470
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1265280
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 10:02 AM
09-03-2008 10:02 AM
Re: strange errors on rp2470
[2] % whence mstm
whence: Command not found.
[3] % /usr/sbin/mstm
/usr/sbin/mstm: Command not found.
[4] % ps
PID TTY TIME COMMAND
2797 pts/ta 0:00 csh
2796 pts/ta 0:00 telnetd
3440 pts/ta 0:00 ps
[5] % env| grep SHELL
SHELL=/usr/bin/csh
[6] % whoami
root
[7] % who am i
root pts/ta Sep 3 10:50
[8] %
I also would like to change the root prompt as I do not like that prompt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 10:06 AM
09-03-2008 10:06 AM
Re: strange errors on rp2470
Should be always /sbin/sh - please check
/etc/passwd
for this.
Also check if csh is started in your profile.
The csh "profile" is different and doesn't include /usr/sbin - that's why you cannot "find" the commands.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 10:09 AM
09-03-2008 10:09 AM
Re: strange errors on rp2470
# grep root /etc/passwd
/sbin/sh or something different?
How about /.profile ?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 10:14 AM
09-03-2008 10:14 AM
Re: strange errors on rp2470
root:ru06NmEN8FuMQ:0:3::/:/usr/bin/csh
[9] % cat .profile
# @(#) $Revision: 74.2 $
# Default (example of) super-user's .profile file
# Do not put "." in PATH; it is a potential security breach.
# Do not put "/usr/local/bin" in PATH; it is a potential security breach.
# Example assumes /home/root exists.
set +u
PATH=/usr/sbin:$PATH:/sbin:/home/root
# Be sure that VUE does not invoke tty commands
if [ ! "$VUE" ]; then
# Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
tabs
echo
echo "Value of TERM has been set to \"$TERM\". "
export TERM
EDITOR=vi
export EDITOR
fi # if !VUE
# Set up shell environment:
set -u # error if undefined variable.
trap "echo 'logout root'" 0 # what to do on exit.
# Set up shell variables:
MAIL=/var/mail/root
# don't export, so only login shell checks.
echo "WARNING: YOU ARE SUPERUSER !!\n"
[10] %
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 10:15 AM
09-03-2008 10:15 AM
Re: strange errors on rp2470
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 10:18 AM
09-03-2008 10:18 AM
Solution8] % grep root /etc/passwd
root:ru06NmEN8FuMQ:0:3::/:/usr/bin/csh
First change this! This is important!
change
/usr/bin/csh
to
/sbin/sh
log out and back in.
Now try this if you like it:
export PS1='$LOGNAME'@`uname -n`:'$PWD # '
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 10:28 AM
09-03-2008 10:28 AM
Re: strange errors on rp2470
root:ru06NmEN8FuMQ:0:3::/:/sbin/sh
When I press a shift 2(@) the entire line at the command prompt disappears...
So unable to type the entire command
export PS1='$LOGNAME'@`uname -n`:'$PWD # '
I thpe " export PS1='$LOGNAME' " and then @ and the entire line vanishes... When I press backspace I get ^H^H^H( some junk)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 10:29 AM
09-03-2008 10:29 AM
Re: strange errors on rp2470
vgdisplay: Command not found.
[16] % sysdiag
sysdiag: Command not found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 10:30 AM
09-03-2008 10:30 AM
Re: strange errors on rp2470
Try this instead
export PS1='$LOGNAME'#`uname -n`:'$PWD # '
;-)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 10:52 AM
09-03-2008 10:52 AM
Re: strange errors on rp2470
o There is no /var/tobmstones directory or the
ts99,ts98.... files
o There is no crash info in /var/adm/crash
o I see the following message in syslogs
Sep 3 10:39:43 taxware syslog: IRMD[Info]: Adapter 0/6/0/1: Battery is fully ch
arged. It is safe to set the cache policy to WRBACK if desired. In order to do
that, please run irm. Select the RAID adapter at /dev/iop0 and change the cach
e policy of the desired logical drives to WRBACK.
o Also I get the following errors
root@taxware:/ # echo "selclass qualifier cpu;info;wait;infolog" | cstm
sh: cstm: not found.
root@taxware:/ # echo "map selall info;wait infolog" | cstm
sh: cstm: not found.
root@taxware:/ #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 10:58 AM
09-03-2008 10:58 AM
Re: strange errors on rp2470
o There is no /var/tobmstones directory or the
ts99,ts98.... files
o There is no crash info in /var/adm/crash
Be lucky - no crashes.
The syslog message comes from your RAID4si adapter - use "irm" to adjust the settings.
Finally, you still have your PATH problem.
use
echo "selclass qualifier cpu;info;wait;il" | /usr/sbin/cstm
echo "sel dev all;info;wait;il" | /usr/sbin/cstm
Did you really log out completely?
Your profile was not executed so far...
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 11:13 AM
09-03-2008 11:13 AM
Re: strange errors on rp2470
Vgdisplay, ioscan are all working..
but the cstm command dosen't work... ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 11:17 AM
09-03-2008 11:17 AM
Re: strange errors on rp2470
# swlist | grep -i diag
OnlineDiag B.11.11.20.03 HPUX 11.11 Support Tools Bundle, December 2007
# ll /usr/sbin/cstm
-r-xr-xr-x 1 bin bin 588 Aug 24 1995 /usr/sbin/cstm
Is it running?
# ps -ef | grep diagmond
root 22913 1 0 Jun 23 ? 46:29 /usr/sbin/stm/uut/bin/sys/diagmond
start it!
/usr/sbin/cstm
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!