Bad Drive

Goes out to see if the drive has remapped due to defective blocks. in this case it is ok because there are 0’s everywhere except the first two colums. This is a smoking gun confirm a bad disk. Which in turn will require disk replacement. # echo 2400?20X | adb /dev/dsk/c3t2d0 2400:           44454645        43543031        0               […]

Async Config

2.1 HP-UX Configuration ———————– a. create the /dev/async character device % /sbin/mknod /dev/async c 101 0x0 % chown oracle:dba /dev/async % chmod 660 /dev/async The kernel driver was installed and the /dev/async special file was created. Instead of mknod /dev/async c 101 0x000004 per Informix instructions. To clear (or not) things a little. Everything was […]

Find

Any ideas how can I display log files that older than (i.e. 10 days). Note that these logs were not accessed, changed or modified … Thanks find /logfiledir -mtime +10 -exec ls -l {} ; cd /dir find . -name “*” -exec ls -l {} ; find . -name “*” -exec rm {} ;  ] […]

Add Depots To Depot Server

tar -xvf my_downloaded.depot cd catalog touch swlock run swcopy as root #swcopy Choose path to depot. mark for copy choose dir that the depot will go in. example: [ Target Depot Path… ] /depot/HP-UX/11.23/Apps Tab ok Tab actions Show software for Selcetion. Source Type: Local Directory Source Host: [local hostname] source path: [ Path to […]

Sendmail Access

Sendmail provides anti-spam features that enable you to control which users can send, receive, or relay mail messages on the network. Sendmail 8.9.3 extends your control by providing the following features: Using the Access Database to allow or reject mail from specific domains Relaying Capability Validating Senders Checking Headers You must run the gen_cf script […]

awk

Not vg00 # awk ‘(! ( $1~/vg00/)) {print $0}’ /etc/fstab Only vg00 # awk ‘($1~/vg00/) {print $0}’ /etc/fstab

nic duplex settings

To set to 100 full duplex # lanadmin -X 100FD 2 ( ppa# from lanscan ) to check the dulpex setting. #lanadmin -x 2 (ppa# from lanscan) Current Speed = 100 Full-Duplex Auto-Negotiation-OFF The hpetherconf is the config file for the built in, 10BaseT card. Run #ioscan -fkC lan and see what btlan driver you […]

32-bit or 64-bit mode

All machines of the rp series (rp24xx, rp 34xx, rp44xx, rp54xx, rp74xx) are all 64-bit ONLY machines. To see what bitness is running: # getconf KERNEL_BITS It will return 32 or 64, which indicates 32-bit or 64-bit HP-UX. getconf HW_CPU_SUPP_BITS # file /stand/vmunix /stand/vmunix: ELF-64 executable object file – PA-RISC 2.0 (LP64) Here it tells […]

HP9000 Console – TERM

When connecting an HP Secure Web Console, HP Product J3591A, to an HP9000 L-class server, make sure the VT100 terminal emulation mode is selected. Also check the terminal emulation mode of the serial port on the L-class Guardian Service Processor (GSP). To access the GSP from the system console, type CNTL-B After logging in at […]