Browsing All Posts published on »April, 2009«

HP-UX: How to mount a DVD

April 29, 2009

0

First, look for the DVD drive using `ioscan` command. # ioscan -fnCdisk Class I H/W Path Driver S/W State H/W Type Description ===================================================================== disk 0 0/3/0/0/0/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL VOLUME /dev/dsk/c0t0d0 /dev/rdsk/c0t0d0 /dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0s1 /dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0s2 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3 disk 1 0/3/0/0/0/0.0.1 sdisk CLAIMED DEVICE HP LOGICAL VOLUME /dev/dsk/c0t0d1 /dev/rdsk/c0t0d1 disk 4 255/1/0.0.0 sdisk […]

RHEL: IPTables prevents Apache to work

April 28, 2009

0

I tried to install an Apache web server on one of the RedHat Enterprise Linux machine and it happened that, after the installation, the web server is running but inaccessible. The web browsers replied that the Apache server took too long time to respond. One possible reason of this to happen is the iptables configuration. […]

RHEL: Linux Start Up

April 28, 2009

0

It is just like Windows, Linux has configuration that controls programs, which are executed during boot. But before going into the start up component, it is good to know that Linux has runlevel, the main configuration controlling how the Linux boots. The runlevel is defined in the `inittab` file: [root@xxxxxxx /]# ls bin dev home […]

RHEL: Remount root directory in file system recovery

April 27, 2009

1

It happened that one of my Linux server file system, which was not the root partition, crashed. When the system reboot it went directly to file system recovery as it tried to check the failing file system. Retrying to reboot the system into either single-user mode or rescue mode didn’t seem to help since the […]

HP-UX: How to get machine information

April 23, 2009

1

The easy way to get the CPU, memory, firmware, platform and operating system information in HP-UX is using `machinfo`. # machinfo CPU info: Number of CPUs = 4 Clock speed = 1398 MHz Bus speed = 399 MT/s CPUID registers vendor information = "GenuineIntel" processor serial number = 0x0000000000000000 processor version info = 0x0000000020000404 architecture […]

HP-UX: Failed to read “INDEX” file from install server during Ignite

April 23, 2009

0

This is the issue that I found during `ignite`-ing some systems in my office. * Bringing up Network (lan0) add net default: gateway xxx.xxx.xxx.xxx * Reading configuration information from server... * tftp error log follows: tftp> tftp> tftp> tftp> tftp> Error code 1: File not found tftp> Failed to read "INDEX" file from install server. […]

HP-UX: How to create logical volume

April 22, 2009

1

Sometimes it is hard to remember all commands for every single UNIX and Linux system. This is the manual how to create a logical volume in HP-UX 11i v3. First, look for the target disk using `ioscan` # ioscan -fnCdisk Class I H/W Path Driver S/W State H/W Type Description ================================================================== disk 10 0/0/0/1/0/0/0.0.4 sdisk […]