A 1000Base-T card in an 11.00 box was giving me grief. the switch port was set to 100 full duplex, but the card kept staying at AUTO even though the speed/duplex was changed via sam and verified in the /etc/rc.config.d/hpgelanconf file; that, of course, cause collisions and a bunch of network errors because the card negotiated 100 half duplex. There's a patch that fixes the issue: 28995 make sure the config file has the speed and duplex value in uppercase:
HP_GELAN_SPEED[0]=100FD
12.02.2006
11.24.2006
swinstall and rpc exception communications error
error when doing an swinstall:
* Beginning Selection
ERROR: RPC exception: "Communications failure (dce / rpc)" 11/24/06
17:27:01 PST
ERROR: A Remote Procedure Call to a daemon has failed. Could not
start a management session for "myhost:/". Make sure the host
is accessible from the network, and that its daemon, swagentd,
is running.
* Target connection failed for "myhost:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is myhost:/var/adm/sw/swagentd.log).
* Selection had errors.
fix by restarting swagentd:
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
* Beginning Selection
ERROR: RPC exception: "Communications failure (dce / rpc)" 11/24/06
17:27:01 PST
ERROR: A Remote Procedure Call to a daemon has failed. Could not
start a management session for "myhost:/". Make sure the host
is accessible from the network, and that its daemon, swagentd,
is running.
* Target connection failed for "myhost:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is myhost:/var/adm/sw/swagentd.log).
* Selection had errors.
fix by restarting swagentd:
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
11.20.2006
mkboot complains about logical volumes when none exist
$ mkboot /dev/dsk/c2t6d0
There appear to be non-boot logical volumes on this device.
Overwriting them could destroy all the data on this device
Should the logical volumes be overwritten [y/n]? y
solution:
because PV isn't marked as bootable. pvcreate -B /dev/dsk/c2t6d0
or
PV belongs (or thinks it does) to a volume group already. (tread lightly here!):
Fix by using the -f (force) option: pvcreate -Bf /dev/dsk/c2t6d0
There appear to be non-boot logical volumes on this device.
Overwriting them could destroy all the data on this device
Should the logical volumes be overwritten [y/n]? y
solution:
because PV isn't marked as bootable. pvcreate -B /dev/dsk/c2t6d0
or
PV belongs (or thinks it does) to a volume group already. (tread lightly here!):
Fix by using the -f (force) option: pvcreate -Bf /dev/dsk/c2t6d0
11.19.2006
upgrade vxfs online
update version 3 veritas JFS file system to version 4
vxupgrade -n 4 /mount_point
vxfsconvert -- offline version or to convert an HFS
vxupgrade -n 4 /mount_point
vxfsconvert -- offline version or to convert an HFS
11.17.2006
my favorite vim settings
my vimrc is customized with these, my favorite settings and options for vim / gvim:
set ic
colorscheme torte
set nobackup
set showmatch
set ic
colorscheme torte
set nobackup
set showmatch
11.11.2006
dmisp daemon on HP-UX hogging CPU
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
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.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.
Subscribe to:
Posts (Atom)