3.16.2022

random HPUX notes, nwmgr.log, OVO commands, ldap tweak



/tmp/AAA issue


/opt/OV/bin/opctemplate -d "HP Logins_DS021"

#/opt/OV/bin/opctemplate -e "HP Logins_DS021"

> /var/adm/wtmp ; > /var/adm/btmp ; > /var/adm/wtmps ; > /var/adm/btmps ; > /var/adm/wtmpx



bdf /tmp


unalias rm


> /tmp/nwmgr_apa.log ; rm /tmp/nwmgr_apa.log ; ln -s /dev/null /tmp/nwmgr_apa.log


bdf /tmp


ll /tmp/nwmgr_apa.log




file system OV OM agent repeat:

/var/opt/OV/local/log/dskmon.log to see if the alarm has cleared.

The monitor fires every 15 minutes, so may need to wait a bit to check.

If you donĂ­t see a message like the one high-lighted below, you may need to recycled opcagt:

/opt/OV/bin/opcagt -stop

/opt/OV/bin/opcagt -start




LDAPUX update:

/sbin/init.d/ldapclientd.rc stop


swinstall -x mount_all_filesystems=false -s host:/path/11.31.v PHCO_41855

swinstall -x mount_all_filesystems=false -s host:/path/11.31.v PHCO_44582

swinstall -x mount_all_filesystems=false -s host:/path/11.31.v LDAPUX

vi /etc/default/nssgrenh

30000

15

chmod 755 /etc/default/nssgrenh


ndd -set /dev/sockets socket_buf_max 2530032


vi /etc/rc.config.d/nddconf


TRANSPORT_NAME[31]=sockets

NDD_NAME[31]=socket_buf_max

NDD_VALUE[31]=2530032


/sbin/init.d/pwgr stop

/sbin/init.d/pwgr start


/sbin/init.d/ldapclientd.rc start


/usr/dt/bin/dtconfig -kill

/usr/dt/bin/dtconfig -e

/sbin/init.d/dtlogin.rc start