It's no longer used much anymore and there's a bug in it which will cause it to consume tons of cpu on the system. Turn it off:
ps -ef | grep -i dmisp
/sbin/init.d/Dmisp stop
ch_rc -l -p START_DMI ; ch_rc -a -p START_DMI=0 ; ch_rc -l -p START_DMI
11.11.2006
11.10.2006
HP-UX support timeline
HPUX support end of life timeline:
http://www.hp.com/softwarereleases/releases-media2/history/slide2.html
http://www.hp.com/softwarereleases/releases-media2/history/slide2.html
11.09.2006
HPUX support matrix
HP 9000 server models and OS support matrix:
http://h20338.www2.hp.com/hpux11i/cache/324537-0-0-0-121.html
http://h20338.www2.hp.com/hpux11i/downloads/public_hp-ux_systems_support.pdf
http://h20338.www2.hp.com/hpux11i/cache/324537-0-0-0-121.html
http://h20338.www2.hp.com/hpux11i/downloads/public_hp-ux_systems_support.pdf
11.06.2006
Google Toolbar shortcut - firefox 2
Customize Firefox (2), remove the History menu so that the google toolbar shortcut key will work. If the history menu is present, it overrides the keyboard shortcut for the google toolbar focus (alt - s). Use the instructions here: Geek to Live: Consolidate Firefox's chrome - Lifehacker
The History Menu used to be called the "go" menu, so use the #go-menu keyword
The History Menu used to be called the "go" menu, so use the #go-menu keyword
11.03.2006
AVG free anti-virus
http://free.grisoft.com/doc/39791
requires update to Roxio Easy CD and DVD creator: http://www.roxio.com/enu/support/mserr/cdr4_7.html
requires update to Roxio Easy CD and DVD creator: http://www.roxio.com/enu/support/mserr/cdr4_7.html
11.01.2006
NFS / PCNFS / Hummingbird Maestro problems
NFS maestro PCNFS mounts on PC doesn't work for user. (invalid username or password) UID of user is too big. Either change the UID to less than 60002 or uidrange needs to be added to the pcnfsd.conf file.
http://docs.hp.com/en/5991-1153/ch02s02.html
If your PC NFS client software is assigning user IDs smaller than 101 or greater than 60002, set the uidrange in the /etc/pcnfsd.conf file to allow access to a different range of user IDs, as in the following example:
cat /etc/pcnfsd.conf
uidrange 101-9999999
then:
kill rpc.pcnfsd
/usr/sbin/rpc.pcnfsd
http://docs.hp.com/en/5991-1153/ch02s02.html
If your PC NFS client software is assigning user IDs smaller than 101 or greater than 60002, set the uidrange in the /etc/pcnfsd.conf file to allow access to a different range of user IDs, as in the following example:
cat /etc/pcnfsd.conf
uidrange 101-9999999
then:
kill rpc.pcnfsd
/usr/sbin/rpc.pcnfsd
10.28.2006
difference between autoboot and autostart flags on HP 9000 hardware
difference between autoboot, and autostart flags in the PDC, BCH menu:
From: http://docs.hp.com/en/A7137-96003/A7137-96003.pdf (rp3410 rp3440 operations guide)
When the autostart flag is off, autoboots will be interrupted if a configuration change occurs
which causes reduced performance; thus requiring you to intervene prior to booting to the
internal system loader (ISL).
The auto boot will halt at the BCH prompt and you may continue booting by entering boot.
From: http://docs.hp.com/en/A7137-96003/A7137-96003.pdf (rp3410 rp3440 operations guide)
When the autostart flag is off, autoboots will be interrupted if a configuration change occurs
which causes reduced performance; thus requiring you to intervene prior to booting to the
internal system loader (ISL).
The auto boot will halt at the BCH prompt and you may continue booting by entering boot.
10.27.2006
cron - run command last day of month
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=123030&admit=-682735245+1161911384666+28353475
Solves the problem of running a script on the last day of the month. Put 28-31 (for days) in your crontab and put this little section in for date determination.
#!/bin/sh
if test `TZ=MET-24 date +%d` = 01
then
exec command
else
exit 1
fi
Solves the problem of running a script on the last day of the month. Put 28-31 (for days) in your crontab and put this little section in for date determination.
#!/bin/sh
if test `TZ=MET-24 date +%d` = 01
then
exec command
else
exit 1
fi
pseudo swap on HPUX
explanation of pseudo swap in hp-ux:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=103008
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=103008
10.25.2006
gmail macros
Great keyboard navigation inside gmail using a greasemonkey script.: http://persistent.info/ do a search for gmail macros (or christmas)
Here's a google group that tracks the script and has some enhanced versions: http://groups-beta.google.com/group/gmail-power-users
Here's a google group that tracks the script and has some enhanced versions: http://groups-beta.google.com/group/gmail-power-users
10.10.2006
logins man page
HP-UX 'logins' command displays user account info. the -x option doesn't explain the last field reported:
PS 100506 7 175 -1
the last field is the number of days before the password expires to start warning the user. see the warn option of passwd(1) man page and passwd(4). The warn flag only works on trusted systems, so you'll see a -1 for non-trusted systems.
Remember that the system (at least on non-trusted boxes) will round to the nearest week, Thursday to be specific. So the report of when the passwd was last changed is not the actual day it happened, unless it happened to fall on a Thursday.
PS 100506 7 175 -1
the last field is the number of days before the password expires to start warning the user. see the warn option of passwd(1) man page and passwd(4). The warn flag only works on trusted systems, so you'll see a -1 for non-trusted systems.
Remember that the system (at least on non-trusted boxes) will round to the nearest week, Thursday to be specific. So the report of when the passwd was last changed is not the actual day it happened, unless it happened to fall on a Thursday.
10.06.2006
Gnome / KDE keyboard shortcuts
Linux Desktop manager: Gnome and KDE keyboard shortcuts
http://www.novell.com/coolsolutions/tip/2289.html
http://www.novell.com/coolsolutions/tip/2289.html
non-printable chars in filename
ls -al on a directory produced a "blank" file name. to see the non-printable character, pipe the output to more:
ls -al | more
The file show up as a DEL char (^?); so to delete or view the file do a control-v and ? for the filename.
ls -al | more
The file show up as a DEL char (^?); so to delete or view the file do a control-v and ? for the filename.
configure HP-UX kernel
http://docs.hp.com/en/B2355-90675/ch06s02.html
Synopsis:
cd /stand/build
/usr/lbin/sysadm/system_prep -v -s system
make changes to the /stand/build/system file to add or remove whatever
/usr/sbin/kmsystem -S /stand/build/system -c Y driver-name
creates the /stand/build/vmunix_test
/usr/sbin/mk_kernel -s /stand/build/system
mv /stand/system /stand/system.prev
mv /stand/build/system /stand/system
updates /stand/vmunix and create a bacup /stand/vmunix -> /stand/vmunix.prev before.
/usr/sbin/kmupdate -- tells shutdown script to do the above.
Synopsis:
cd /stand/build
/usr/lbin/sysadm/system_prep -v -s system
make changes to the /stand/build/system file to add or remove whatever
/usr/sbin/kmsystem -S /stand/build/system -c Y driver-name
creates the /stand/build/vmunix_test
/usr/sbin/mk_kernel -s /stand/build/system
mv /stand/system /stand/system.prev
mv /stand/build/system /stand/system
updates /stand/vmunix and create a bacup /stand/vmunix -> /stand/vmunix.prev before.
/usr/sbin/kmupdate -- tells shutdown script to do the above.
10.01.2006
determine bitness of HPUX
HP-UX 64 or 32 bit? : getconf HW_CPU_SUPP_BITS
Sometime you need to determine this whether to install the 32 or 64 bit version of ODE.
Sometime you need to determine this whether to install the 32 or 64 bit version of ODE.
9.26.2006
password aging on non-trusted systems
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=605201
At the end of the encrypted password you add char1, char2.
char1 is the maximum number of weeks the password is valid and
char2 is the minimum number of weeks that must pass before the password can be changed. The following is a good guide: Value # of weeks
. 0
/ 1
0-9 2-11
A-Z 12-37
a-z 38-63
so for example if you wanted a user to change their password somewhere between 11 and 2 weeks you would put ,A9. (man 4 passwd)
At the end of the encrypted password you add char1, char2.
char1 is the maximum number of weeks the password is valid and
char2 is the minimum number of weeks that must pass before the password can be changed. The following is a good guide: Value # of weeks
. 0
/ 1
0-9 2-11
A-Z 12-37
a-z 38-63
so for example if you wanted a user to change their password somewhere between 11 and 2 weeks you would put ,A9. (man 4 passwd)
problem changing password on trusted system (HPUX)
Try changing password on a HP-UX trusted system and get the followin:
Password cannot be changed. Reason: Cannot access protected password entry.
This means the auth files in /tcb are out of sync with the /etc/passwd file. Someone may be making changes manually to the /etc/password file (like adding user acocunts), but that doesn't update or create the appropriate entries in /tcb/files/auth
check it by running the authck -p (or pwck -s) command to verify the trusted computing base /tcb This doesn't fix the problem, you'll have to delete (from /etc/passwd) and add again (via sam or useradd) or use the pwconv command.
Password cannot be changed. Reason: Cannot access protected password entry.
This means the auth files in /tcb are out of sync with the /etc/passwd file. Someone may be making changes manually to the /etc/password file (like adding user acocunts), but that doesn't update or create the appropriate entries in /tcb/files/auth
check it by running the authck -p (or pwck -s) command to verify the trusted computing base /tcb This doesn't fix the problem, you'll have to delete (from /etc/passwd) and add again (via sam or useradd) or use the pwconv command.
9.14.2006
HPUX trusted system
How to determine whether HP-UX system is trusted or not:
/usr/lbin/getprdef
or look for /tcb
/usr/lbin/getprdef
or look for /tcb
8.26.2006
No manual entry for man
error message when trying to get standard man pages: No manual entry for XXXX
I figured out why the normal man pages don't work on some systems. The file /etc/MANPATH overrides the MANPATH variable when /etc/profile runs. So to fix it just add the "normal" man page locations to /etc/MANPATH:
/usr/share/man:/usr/contrib/man:/usr/local/man:
I figured out why the normal man pages don't work on some systems. The file /etc/MANPATH overrides the MANPATH variable when /etc/profile runs. So to fix it just add the "normal" man page locations to /etc/MANPATH:
/usr/share/man:/usr/contrib/man:/usr/local/man:
Subscribe to:
Posts (Atom)