≡ Menu

hp

Delete SSH Keys

One my user leaves the office and I'd like to disable her access to our UNIX / Linux system. How do I delete ssh key from the UNIX systems so that user can not log in?
[click to continue…]

HowTo: Unix For Loop 1 to 100 Numbers

I want to run a Unix command 100 times using a for loop from 1 to 100. Can you tell me how to take a block of numbers in a loop under KSH or BASH shell?
[click to continue…]

How do I find Unix version and release number using command line options? What version, release, and maintenance level of Unix is running on my system?
[click to continue…]

While updating my CentOS / RHEL HP Linux server via yum command it givens an error which read as follows:

There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them

How do I fix this problem under RHEL / CentOS Linux 5.x server operating systems?
[click to continue…]

HP-UX: Boot Into Single User Mode

Question: I know how to boot into single user mode under Linux and FreeBSD. But, how do I boot into single user mode under HP-UX (HP9000) UNIX operating system?
[click to continue…]

Q. Is There a UNIX / Linux unerase or undelete command? How do I undelete files under a UNIX / Linux system?
[click to continue…]

Q. I've upgrade my CentOS / RHEL (Red Hat Enterprise Linux) 4.7 on HP ProLiant DL580 G5 and it is showing unknown NMI errors in the logs:

Uhhuh. NMI received for unknown reason 30.
Dazed and confused, but trying to continue
Do you have a strange power saving mode enabled?

Uhhuh. NMI received for unknown reason 20.
Dazed and confused, but trying to continue
Do you have a strange power saving mode enabled?

How do I fix this error?
A. This is caused when the system is hanging under load. Add any one of the following to you /boot/grub.conf file:

  1. Disable the NMI watchdog by adding "nmi_watchdog=0"
  2. Disable the high precision event timer (HPET) by adding "nohpet"

Open grub.conf, type:
vi grub.conf
Make modification to kernel line as follows:

title Red Hat Enterprise Linux AS (2.6.9-78.0.8.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-78.0.8.EL ro nohpet root=/dev/VolGroup00/LogVol00 nohpet
        initrd /initrd-2.6.9-78.0.8.EL.img

Save and close the file. Reboot the server:
# reboot