Sei sulla pagina 1di 41

================================================================================

=======================
In the below testing LINE MODE TERMINAL means the terminal of the m/c and Consol
e means the Console of machine
================================================================================
=======================

# cat manual_tests
=======================================================
# Test case Number: 1
# Head line
: Testing of rc script on the system
#
get installed with the latest sh-posix
#
( PHCO_26789 or new ) patch.
# Os Release
: 11.00 onwards
# Defect Number : JAGae15694(i80,11.00),JAGae65207(11.11)
=======================================================
# Brief description of the testing:
1. Run the test on a system attached to a VGA console.
2. Install the system with the latest sh-posix patch.
PHCO_26789 or newer patch on 11.00
PHCO_25597 or newer patch on 11.11
3. Reboot the system .
# Expected results:
During boot up , on console it shouldn't display the
following kind of error messages:
"/sbin/rc[41]: 079: The specified number is not valid
for this command"
===============================================================
mickey# swlist |grep PHCO_42073
PHCO_42073
ch
mickey# swlist | grep PHCO_42225
PHCO_42225
ative patch
mickey# reboot
Shutdown at 12:34 (in 0 minutes)

1.0

rc cumulative pat

1.0

sh-posix(1) cumul

*** FINAL System shutdown message from root@mickey ***


System going down IMMEDIATELY
System shutdown time has arrived
Oct 17 12:34:57 /usr/sbin/envd[1672]: terminated by signal 15
* The kernel registry database has been saved to disk.
sync'ing disks (0 buffers to flush):
0 fcache pages still dirty
0 buffers not flushed
0 buffers still dirty
Calling function 5f72b8 for Shutdown State 5 type 0x1
Closing open logical volumes...
Done

Cells have been reset (Boot Is Blocked (BIB) is not set).

Firmware Version 22.2


Duplex Console IO Dependent Code (IODC) revision 2
-------------------------------------------------------------------------(c) Copyright 1995-2002, Hewlett-Packard Company, All rights reserved
-------------------------------------------------------------------------Cab/
Cell
------- Processor -------Cell Slot
State
#
Speed
State
---- ---- ------------ --- -------- ----------0 0/0 Active
0A 1100 MHz Active
0B 1100 MHz Idle
2A 1100 MHz Idle
2B 1100 MHz Idle

Cache
Inst
-----64 MB
64 MB
64 MB
64 MB

Primary Boot Path: 0/0/0/3/0.6


Boot Actions: Boot from this path.
If unsuccessful, go to BCH.
HA Alternate Boot Path: 0/0/0/2/0.6
Boot Actions: Go to BCH.
Alternate Boot Path: 0/0/0/2/0.6
Boot Actions: Go to BCH.
Console Path: 0/0/0/0/1.0
Attempting to boot using the primary path.
------------------------------------------------------------To discontinue, press any key within 10 seconds.
10 seconds expired.
Proceeding...
Initializing boot Device.
Boot IO Dependent Code (IODC) Revision 4
Boot Path Initialized.

Size
Data
-----64 MB
64 MB
64 MB
64 MB

HARD Booted.
ISL Revision A.00.44 Mar 12, 2003
ISL booting hpux
Boot
: disk(0/0/0/3/0.6.0.0.0.0.0;0)/stand/vmunix
14413824 + 3477504 + 4916112 start 0x14df68

DoCalllist done
Warning: The value of 60 for tunable maxfiles is not a multiple of the file desc
riptor chunk size (8). This may result in unusable memory in each process.
Module btlan is put into ramfs:load time: driver_install, state: loaded
Module procsm is put into ramfs:load time: driver_install, state: loaded
Module c8xx is put into ramfs:load time: driver_install, state: loaded
Module iomem is put into ramfs:load time: driver_install, state: auto
Module cdfs is put into ramfs:load time: driver_install, state: auto
Module cfsmdr is put into ramfs:load time: driver_install, state: auto
Module cfsm is put into ramfs:load time: driver_install, state: auto
Module cifs is put into ramfs:load time: driver_install, state: auto
Module fcd is put into ramfs:load time: driver_install, state: loaded
Module td is put into ramfs:load time: driver_install, state: loaded
Module gelan is put into ramfs:load time: driver_install, state: loaded
Module iether is put into ramfs:load time: driver_install, state: loaded
Module igelan is put into ramfs:load time: driver_install, state: loaded
Module lvmp is put into ramfs:load time: driver_install, state: loaded
Module fdd is put into ramfs:load time: driver_install, state: loaded
Module ciss is put into ramfs:load time: driver_install, state: loaded
Module mpt is put into ramfs:load time: driver_install, state: loaded
Using /stand/ext_ioconfig
gate64: sysvec_vaddr = 0xc0002000 for 2 pages
Memory Class Setup
------------------------------------------------------------------------Class
Physmem
Lockmem
Swapmem
------------------------------------------------------------------------System : 3888 MB
3888 MB
3888 MB
Kernel : 3887 MB
3887 MB
3887 MB
User : 3727 MB
3304 MB
3317 MB
------------------------------------------------------------------------ktracer is off until requested.
Installing Socket Protocol families AF_INET and AF_INET6
Kernel EVM initialized
sec_init(): kernel RPC authentication/security initialization.
secgss_init(): kernel RPCSEC_GSS security initialization.
rpc_init(): kernel RPC initialization.
rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_in
stall)
NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 10.
NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 11.
NOTICE: cachefsc_install: cachefs File system was registered at index 13.
td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/0/10/1/0
System Console is on the Built-In Serial Interface
igelan0: INITIALIZING HP A7109-60001 PCI 1000Base-T Core at hardware path 0/0/0/

1/0
igelan1: INITIALIZING HP A9784-60002 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter
at hardware path 0/0/4/1/0/6/0
AF_INET socket/streams output daemon running, pid 76
afinet_prelink: module installed
Starting the STREAMS daemons-phase 1
LVM: Root VG activated
Swap device table: (start & size given in 512-byte blocks)
entry 0 - major is 64, minor is 0x2; start = 0, size = 8372224
Checking root file system.
file system is clean - log replay is not required
Root check done.
NOTICE: return ramfs memory for BTL: [FREE] top 0x0000001041200000, pages 3736
Create STCP device files
Starting the STREAMS daemons-phase 2
$Revision: vmunix:
B.11.31_LR FLAVOR=perf
Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 4186112 Kbytes, lockable: 2972628 Kbytes, available: 3391680 Kbyte
s
/sbin/ioinitrc:
/sbin/krs_sysinit:
* The module 'rng' has been loaded.
insf: Installing special files for ipmi instance 0 address 0/6
insf: Installing special files for pseudo driver framebuf
/sbin/bcheckrc:
Checking for LVM volume groups and Activating (if any exist)
Volume group "/dev/vg00" is already active on this system.
Activated volume group.
Volume group "/dev/vg77" has been successfully changed.
Resynchronized volume group /dev/vg00
Resynchronized volume group /dev/vg77
Checking hfs file systems
/sbin/fsclean: /dev/vg00/lvol1 (mounted) ok
HFS file systems are OK, not running fsck
Checking vxfs file systems
UX:vxfs fsck: INFO: V-3-20913: /dev/vg00/lvol3:sanity check: root file system OK
(mounted read/write)
UX:vxfs fsck: INFO: V-3-20915: /dev/vg77/scrap:sanity check: /dev/vg77/scrap OK
UX:vxfs fsck: INFO: V-3-20915: /dev/vg77/cmdsscrap:sanity check: /dev/vg77/cmdss
crap OK
UX:vxfs fsck: INFO: V-3-20915: /dev/vg77/stds:sanity check: /dev/vg77/stds OK
Cleaning /etc/ptmp...
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2006 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.

(c)Copyright 1996 Progressive Systems, Inc.


Confidential computer software. Valid license from HP required for
possession, use or copying. Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
HP-UX Start-up in progress
__________________________
Configure system crash dumps ................................
Removing old vxvm files .....................................
Mount file systems ..........................................
Remounting Root File System .................................
Setting hostname ............................................
Start containment subsystem configuration ...................
Set privilege group .........................................
Display date ................................................
Copy processor logs to /var/tombstones ......................
Save system crash dump if needed ............................
Start evp ...................................................
Enable auxiliary swap space .................................
Start syncer daemon .........................................
Initializing livedump .......................................
Start Utmp Daemon : manages User Accounting Database ........
Configure Loopback interfaces (lo0) .........................
Reconfiguring setboot event subscription ....................
Starting Event Management (EVM) (phase 1) ...................
Start Essential Services monitoring daemon ..................
Continuing install jobs, configuring filesets ...............
Configuring all unconfigured software filesets ..............
Configuring PFIL ............................................
Starting IPFilter ...........................................
Configuring Install Time Security ...........................
Recover editor crash files ..................................
Clean UUCP ..................................................
List and/or clear temporary files ...........................
Clean up old log files ......................................
Start system message logging daemon .........................
Checking user database ......................................
Start pty allocator daemon ..................................
Configuring OLA/R interface .................................
Start network tracing and logging daemon ....................
Configure HP igelan Gigabit Ethernet interfaces .............
Configure HP iether 100BT/Gigabit Ethernet interfaces .......
Configure HP gelan Gigabit Ethernet interfaces ..............
Configure HP 100BASE-T interfaces ...........................
Configure HP AUTO-PORT AGGREGATION interfaces ...............
Configure VLAN interfaces ...................................
Configure LAN interfaces ....................................
Configure LAN interfaces for IPv6 ...........................
Starting Event Management (EVM) (phase 2) ...................
Configure Auto-Port Aggregation(LAN Monitor) interfaces .....
Starting DHCPv6 Server daemon ...............................
Configuring DHCPv6 Interfaces ...............................

OK
OK
OK
OK
OK
OK
N/A
N/A
OK
N/A
OK
OK
OK
N/A
OK
OK
OK
OK
OK
OK
OK
N/A
N/A
N/A
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
N/A
OK
OK
OK
OK
OK
N/A
N/A
OK

Start name server daemon ....................................


Starting HP-UX Secure Shell .................................
Start NFS core subsystem ....................................
Start NFS IPv6 subsystem ....................................
Start enhanced NFS IPv6 subsystem ...........................
Start NIS server subsystem ..................................
Start ldap client daemon ....................................
Start NIS/LDAP server subsystem .............................
Start NIS client subsystem ..................................
Start lock manager subsystem ................................
Start NFS client subsystem ..................................
Start AUTOFS subsystem ......................................
Finish containment subsystem configuration ..................
Start multicast routing daemon ..............................
Start Internet services daemon ..............................
Start dynamic routing daemon ................................
Start ramd routing daemon ...................................
Start router discover protocol daemon .......................
Configuring PPP Interface ...................................
Configuring PPPoE ...........................................
Start RARP protocol daemon ..................................
Start remote system status daemon ...........................
Start IPv6 router advertisement daemon ......................
Starting sendmail [Done] Starting sm-client [Done] ..........
Starting cfengine's cfservd daemon ..........................
Starting syslog-ng daemons ..................................
Starting outbound connection daemons for DDFA software ......
Starting sfmdb PostgreSQL daemons ...........................
Start HA cluster proxy daemon ...............................
Start SNMP Master Network Management daemon .................
Start OSPF MIB Network Management subAgent ..................
Start SNMP HP-UNIX Network Management subAgent ..............
Start SNMP IPv6 Network Management subAgent .................
Start SNMP MIB-2 Network Management subAgent ................
Start Native Adapter Agent ..................................
Start SNMP Trap Dest Network Management subAgent ............
Start HA cluster SNMP subagent ..............................
Start DCE daemons ...........................................
Start RPC daemon if needed ..................................
Start CIM cimserver subsystem ...............................
Initialize Instant Capacity .................................
Start HA cluster WBEM subagent ..............................
Starting X Font Server at TCP port 7000 .....................
Start vt daemon .............................................
Start time synchronization ..................................
Start accounting ............................................
Install/Load XF86 DLKM Helper Modules .......................
Starting the password/group assist subsystem ................
Start print spooler .........................................
Start clock daemon ..........................................
Check Security Bulletin Compliance ..........................
Start diagnostic subsystem ..................................
Start environment monitoring daemon .........................
Start auditing subsystem ....................................
Start audio server daemon ...................................
Start USB hub daemon ........................................
SAM System administration configuration .....................
PA performance software is being started. ...................
Starting the perfd daemon. ..................................
Configure PRM -or- Configure and Enable PRM .................

N/A
OK
OK
OK
OK
OK
N/A
N/A
OK
OK
OK
OK
OK
N/A
OK
N/A
N/A
N/A
OK
N/A
N/A
N/A
N/A
OK
N/A
N/A
N/A
OK
OK
OK
N/A
OK
OK
OK
N/A
OK
OK
N/A
OK
OK
N/A
OK
N/A
N/A
OK
N/A
N/A
OK
OK
OK
N/A
OK
OK
N/A
N/A
OK
OK
OK
OK
N/A

Start Workload Manager subsystem ............................


Initialize Software Distributor agent daemon ................
Starting the System Management HomePage server ..............
Starting the gWLM Agent .....................................
Starting CIFS Client ........................................
Configure HP RAID SA interfaces .............................
Performing any needed DRD cleanup ...........................
Starting Event Monitoring Service ...........................
Start EMS SNMP subagent .....................................
Start interrupt balance daemon ..............................
Configuring Ultra320 SCSI Mass Storage interfaces ...........
Starting the Winbind Daemon .................................
Configuring HP Fibre Channel FCD Mass Storage interfaces ....
Start NFS server subsystem ..................................
Start X print server(s) .....................................
Start Highly Available cluster ..............................
Starting HP-UX Apache-based Web Server ......................
Starting HP-UX Tomcat-based Servlet Engine ..................
Starting HP-UX Webmin-based Admin ...........................
Starting the HPUX Webproxy subsystem ........................
Starting HP-UX XML Web Server Tools .........................
Start kwdbd .................................................
Start NDDB Comm Server ......................................
Start LVM daemon ............................................
Start CDE login server ......................................
Testing Custom script Starting the customer script ..........
Start dummy script 0 ........................................
Start dummy script 1 ........................................
Start dummy script 2 ........................................
Start dummy script 4 ........................................
Starting the amgrd subsystem ................................
Start dummy script 5 ........................................
Start dummy script 127 ......................................
Starting PRNGD (Pseudo Random Number Generator Daemon) ......
Starting Control Daemon .....................................

N/A
OK
OK
N/A
N/A
N/A
OK
OK
OK
N/A
N/A
N/A
OK
OK
N/A
N/A
N/A
N/A
N/A
N/A
OK
N/A
N/A
OK
OK
OK
OK
FAIL *
N/A
BG
N/A
FAIL *
FAIL *
N/A
OK

* - An error has occurred !


* - Refer to the file /etc/rc.log for more information.

The system is ready.


mickey 9000/800/rp8420 [HP Release B.11.31] (see /etc/issue)
================================================================================
========
4. Run the above test on a system attached to a Serial
console. The expected result should be same as above.
---->Tests will be run as soon as the machine with said specifications is availa
ble.
================================================================================
========
================================================================================
===================================
Test Systems Attached To serial Console not Available.AS soon as they will be av

ailable tests will be performed


================================================================================
===================================
================================================================
# Test case Number: 2
# Head line
: rc scripts use getconf to get the pid of init
# Os Release
: 11.31 and above.
# Defect Number : JAGae61820
# Description
: Boot up to multiuser mode should invoke all the
#
: start scripts.
#
: Transition to new run level should invoke the
#
: corresponding kill/start rc scripts.
#
: init 0 should bring the system down.
=================================================================
Step 1: Boot the system in multiuser mode.
Observation:
The system should come up invoking all the startup scripts.
The starup message of each script should occur within the
columns of the console.
================================================================================
===
# reboot
Shutdown at 13:11 (in 0 minutes)
*** FINAL System shutdown message from root@mickey ***
System going down IMMEDIATELY
System shutdown time has arrived
Oct 17 13:11:26 /usr/sbin/envd[1680]: terminated by signal 15
Oct 17 13:11:26 rpcbind: rpcbind terminating on signal.
* The kernel registry database has been saved to disk.
sync'ing disks (0 buffers to flush):
0 fcache pages still dirty
0 buffers not flushed
0 buffers still dirty
Calling function 5f71b8 for Shutdown State 5 type 0x1
Closing open logical volumes...
Done

Cells have been reset (Boot Is Blocked (BIB) is not set).

Firmware Version 22.2


Duplex Console IO Dependent Code (IODC) revision 2

-------------------------------------------------------------------------(c) Copyright 1995-2002, Hewlett-Packard Company, All rights reserved


-------------------------------------------------------------------------Cab/
Cell
------- Processor -------Cell Slot
State
#
Speed
State
---- ---- ------------ --- -------- ----------0 0/0 Active
0A 1100 MHz Active
0B 1100 MHz Idle
2A 1100 MHz Idle
2B 1100 MHz Idle

Cache
Inst
-----64 MB
64 MB
64 MB
64 MB

Primary Boot Path: 0/0/0/3/0.6


Boot Actions: Boot from this path.
If unsuccessful, go to BCH.
HA Alternate Boot Path: 0/0/0/2/0.6
Boot Actions: Go to BCH.
Alternate Boot Path: 0/0/0/2/0.6
Boot Actions: Go to BCH.
Console Path: 0/0/0/0/1.0
Attempting to boot using the primary path.
------------------------------------------------------------To discontinue, press any key within 10 seconds.
10 seconds expired.
Proceeding...
Initializing boot Device.
Boot IO Dependent Code (IODC) Revision 4
Boot Path Initialized.
HARD Booted.
ISL Revision A.00.44 Mar 12, 2003
ISL booting hpux
Boot
: disk(0/0/0/3/0.6.0.0.0.0.0;0)/stand/vmunix
14413824 + 3477504 + 4916104 start 0x14de68

DoCalllist done

Size
Data
-----64 MB
64 MB
64 MB
64 MB

Warning: The value of 60 for tunable maxfiles is not a multiple of the file desc
riptor chunk size (8). This may result in unusable memory in each process.
Module btlan is put into ramfs:load time: driver_install, state: loaded
Module procsm is put into ramfs:load time: driver_install, state: loaded
Module c8xx is put into ramfs:load time: driver_install, state: loaded
Module iomem is put into ramfs:load time: driver_install, state: auto
Module cdfs is put into ramfs:load time: driver_install, state: auto
Module cfsmdr is put into ramfs:load time: driver_install, state: auto
Module cfsm is put into ramfs:load time: driver_install, state: auto
Module cifs is put into ramfs:load time: driver_install, state: auto
Module fcd is put into ramfs:load time: driver_install, state: loaded
Module td is put into ramfs:load time: driver_install, state: loaded
Module gelan is put into ramfs:load time: driver_install, state: loaded
Module iether is put into ramfs:load time: driver_install, state: loaded
Module igelan is put into ramfs:load time: driver_install, state: loaded
Module lvmp is put into ramfs:load time: driver_install, state: loaded
Module fdd is put into ramfs:load time: driver_install, state: loaded
Module ciss is put into ramfs:load time: driver_install, state: loaded
Module mpt is put into ramfs:load time: driver_install, state: loaded
Using /stand/ext_ioconfig
gate64: sysvec_vaddr = 0xc0002000 for 2 pages
Memory Class Setup
------------------------------------------------------------------------Class
Physmem
Lockmem
Swapmem
------------------------------------------------------------------------System : 3888 MB
3888 MB
3888 MB
Kernel : 3887 MB
3887 MB
3887 MB
User : 3727 MB
3304 MB
3317 MB
------------------------------------------------------------------------ktracer is off until requested.
Installing Socket Protocol families AF_INET and AF_INET6
Kernel EVM initialized
sec_init(): kernel RPC authentication/security initialization.
secgss_init(): kernel RPCSEC_GSS security initialization.
rpc_init(): kernel RPC initialization.
rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_in
stall)
NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 10.
NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 11.
NOTICE: cachefsc_install: cachefs File system was registered at index 13.
td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/0/10/1/0
System Console is on the Built-In Serial Interface
igelan0: INITIALIZING HP A7109-60001 PCI 1000Base-T Core at hardware path 0/0/0/
1/0
igelan1: INITIALIZING HP A9784-60002 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter
at hardware path 0/0/4/1/0/6/0
AF_INET socket/streams output daemon running, pid 76
afinet_prelink: module installed
Starting the STREAMS daemons-phase 1
LVM: Root VG activated
Swap device table: (start & size given in 512-byte blocks)
entry 0 - major is 64, minor is 0x2; start = 0, size = 8372224
Checking root file system.
file system is clean - log replay is not required
Root check done.
NOTICE: return ramfs memory for BTL: [FREE] top 0x0000001041200000, pages 3736

Create STCP device files


Starting the STREAMS daemons-phase 2
$Revision: vmunix:
B.11.31_LR FLAVOR=perf
Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 4186112 Kbytes, lockable: 2972628 Kbytes, available: 3391680 Kbyte
s
/sbin/ioinitrc:
/sbin/krs_sysinit:
* The module 'rng' has been loaded.
insf: Installing special files for ipmi instance 0 address 0/6
insf: Installing special files for pseudo driver framebuf
/sbin/bcheckrc:
Checking for LVM volume groups and Activating (if any exist)
Volume group "/dev/vg00" is already active on this system.
Activated volume group.
Volume group "/dev/vg77" has been successfully changed.
Resynchronized volume group /dev/vg00
Resynchronized volume group /dev/vg77
Checking hfs file systems
/sbin/fsclean: /dev/vg00/lvol1 (mounted) ok
HFS file systems are OK, not running fsck
Checking vxfs file systems
UX:vxfs fsck: INFO: V-3-20913: /dev/vg00/lvol3:sanity check: root file system OK
(mounted read/write)
UX:vxfs fsck: INFO: V-3-20915: /dev/vg77/scrap:sanity check: /dev/vg77/scrap OK
UX:vxfs fsck: INFO: V-3-20915: /dev/vg77/cmdsscrap:sanity check: /dev/vg77/cmdss
crap OK
UX:vxfs fsck: INFO: V-3-20915: /dev/vg77/stds:sanity check: /dev/vg77/stds OK
Cleaning /etc/ptmp...
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2006 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
Confidential computer software. Valid license from HP required for
possession, use or copying. Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
HP-UX Start-up in progress
__________________________

Configure system crash dumps ................................


Removing old vxvm files .....................................
Mount file systems ..........................................
Remounting Root File System .................................
Setting hostname ............................................
Start containment subsystem configuration ...................
Set privilege group .........................................
Display date ................................................
Copy processor logs to /var/tombstones ......................
Save system crash dump if needed ............................
Start evp ...................................................
Enable auxiliary swap space .................................
Start syncer daemon .........................................
Initializing livedump .......................................
Start Utmp Daemon : manages User Accounting Database ........
Configure Loopback interfaces (lo0) .........................
Reconfiguring setboot event subscription ....................
Starting Event Management (EVM) (phase 1) ...................
Start Essential Services monitoring daemon ..................
Continuing install jobs, configuring filesets ...............
Configuring all unconfigured software filesets ..............
Configuring PFIL ............................................
Starting IPFilter ...........................................
Configuring Install Time Security ...........................
Recover editor crash files ..................................
Clean UUCP ..................................................
List and/or clear temporary files ...........................
Clean up old log files ......................................
Start system message logging daemon .........................
Checking user database ......................................
Start pty allocator daemon ..................................
Configuring OLA/R interface .................................
Start network tracing and logging daemon ....................
Configure HP igelan Gigabit Ethernet interfaces .............
Configure HP iether 100BT/Gigabit Ethernet interfaces .......
Configure HP gelan Gigabit Ethernet interfaces ..............
Configure HP 100BASE-T interfaces ...........................
Configure HP AUTO-PORT AGGREGATION interfaces ...............
Configure VLAN interfaces ...................................
Configure LAN interfaces ....................................
Configure LAN interfaces for IPv6 ...........................
Starting Event Management (EVM) (phase 2) ...................
Configure Auto-Port Aggregation(LAN Monitor) interfaces .....
Starting DHCPv6 Server daemon ...............................
Configuring DHCPv6 Interfaces ...............................
Start name server daemon ....................................
Starting HP-UX Secure Shell .................................
Start NFS core subsystem ....................................
Start NFS IPv6 subsystem ....................................
Start enhanced NFS IPv6 subsystem ...........................
Start NIS server subsystem ..................................
Start ldap client daemon ....................................
Start NIS/LDAP server subsystem .............................
Start NIS client subsystem ..................................
Start lock manager subsystem ................................
Start NFS client subsystem ..................................
Start AUTOFS subsystem ......................................
Finish containment subsystem configuration ..................
Start multicast routing daemon ..............................

OK
OK
OK
OK
OK
OK
N/A
N/A
OK
N/A
OK
OK
OK
N/A
OK
OK
OK
OK
OK
OK
OK
N/A
N/A
N/A
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
N/A
OK
OK
OK
OK
OK
N/A
N/A
OK
N/A
OK
OK
OK
OK
OK
N/A
N/A
OK
OK
OK
OK
OK
N/A

Start Internet services daemon ..............................


Start dynamic routing daemon ................................
Start ramd routing daemon ...................................
Start router discover protocol daemon .......................
Configuring PPP Interface ...................................
Configuring PPPoE ...........................................
Start RARP protocol daemon ..................................
Start remote system status daemon ...........................
Start IPv6 router advertisement daemon ......................
Starting sendmail [Done] Starting sm-client [Done] ..........
Starting cfengine's cfservd daemon ..........................
Starting syslog-ng daemons ..................................
Starting outbound connection daemons for DDFA software ......
Starting sfmdb PostgreSQL daemons ...........................
Start HA cluster proxy daemon ...............................
Start SNMP Master Network Management daemon .................
Start OSPF MIB Network Management subAgent ..................
Start SNMP HP-UNIX Network Management subAgent ..............
Start SNMP IPv6 Network Management subAgent .................
Start SNMP MIB-2 Network Management subAgent ................
Start Native Adapter Agent ..................................
Start SNMP Trap Dest Network Management subAgent ............
Start HA cluster SNMP subagent ..............................
Start DCE daemons ...........................................
Start RPC daemon if needed ..................................
Start CIM cimserver subsystem ...............................
Initialize Instant Capacity .................................
Start HA cluster WBEM subagent ..............................
Starting X Font Server at TCP port 7000 .....................
Start vt daemon .............................................
Start time synchronization ..................................
Start accounting ............................................
Install/Load XF86 DLKM Helper Modules .......................
Starting the password/group assist subsystem ................
Start print spooler .........................................
Start clock daemon ..........................................
Check Security Bulletin Compliance ..........................
Start diagnostic subsystem ..................................
Start environment monitoring daemon .........................
Start auditing subsystem ....................................
Start audio server daemon ...................................
Start USB hub daemon ........................................
SAM System administration configuration .....................
PA performance software is being started. ...................
Starting the perfd daemon. ..................................
Configure PRM -or- Configure and Enable PRM .................
Start Workload Manager subsystem ............................
Initialize Software Distributor agent daemon ................
Starting the System Management HomePage server ..............
Starting the gWLM Agent .....................................
Starting CIFS Client ........................................
Configure HP RAID SA interfaces .............................
Performing any needed DRD cleanup ...........................
Starting Event Monitoring Service ...........................
Start EMS SNMP subagent .....................................
Start interrupt balance daemon ..............................
Configuring Ultra320 SCSI Mass Storage interfaces ...........
Starting the Winbind Daemon .................................
Configuring HP Fibre Channel FCD Mass Storage interfaces ....
Start NFS server subsystem ..................................

OK
N/A
N/A
N/A
OK
N/A
N/A
N/A
N/A
OK
N/A
N/A
N/A
OK
OK
OK
N/A
OK
OK
OK
N/A
OK
OK
N/A
OK
OK
N/A
OK
N/A
N/A
OK
N/A
N/A
OK
OK
OK
N/A
OK
OK
N/A
N/A
OK
OK
OK
OK
N/A
N/A
OK
OK
N/A
N/A
N/A
OK
OK
OK
N/A
N/A
N/A
OK
OK

Start X print server(s) .....................................


Start Highly Available cluster ..............................
Starting HP-UX Apache-based Web Server ......................
Starting HP-UX Tomcat-based Servlet Engine ..................
Starting HP-UX Webmin-based Admin ...........................
Starting the HPUX Webproxy subsystem ........................
Starting HP-UX XML Web Server Tools .........................
Start kwdbd .................................................
Start NDDB Comm Server ......................................
Start LVM daemon ............................................
Start CDE login server ......................................
Testing Custom script Starting the customer script ..........
Start dummy script 0 ........................................
Start dummy script 1 ........................................
Start dummy script 2 ........................................
Start dummy script 4 ........................................
Starting the amgrd subsystem ................................
Start dummy script 5 ........................................
Start dummy script 127 ......................................
Starting PRNGD (Pseudo Random Number Generator Daemon) ......
Starting Control Daemon .....................................

N/A
N/A
N/A
N/A
N/A
N/A
OK
N/A
N/A
OK
OK
OK
OK
FAIL *
N/A
BG
N/A
FAIL *
FAIL *
N/A
OK

* - An error has occurred !


* - Refer to the file /etc/rc.log for more information.

The system is ready.


mickey 9000/800/rp8420 [HP Release B.11.31] (see /etc/issue)
Console Login: root
Last successful login:
Mon Oct 17 13:10:07 IST 2011 stork.ind.hp.com
Please wait...checking for disk quotas
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2006 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
Confidential computer software. Valid license from HP required for
possession, use or copying. Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.
You have mail.
Mon Oct 17 13:16:56 IST 2011
#
================================================================================

===
Step 2: invoke init 1
Observation:
On the console all kill scripts in (/sbin/rc2.d, /sbin/rc1.d)
for transition to runlevel 1 should be invoked.

================================================================================
======
The system is ready.
mickey 9000/800/rp8420 [HP Release B.11.31] (see /etc/issue)
Console Login: root
Last successful login:
Mon Oct 17 13:10:07 IST 2011 stork.ind.hp.com
Please wait...checking for disk quotas
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2006 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
Confidential computer software. Valid license from HP required for
possession, use or copying. Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.
You have mail.
Mon Oct 17 13:16:56 IST 2011
# init 1
#
INIT: New run level: 1
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
.1^Use 'exit' to logout.
Transition to run-level 1 in progress
_____________________________________
Stop
Stop
Stop
Stop
Stop
Stop
Stop

dummy script 127 ...........................................


dummy script 5 .............................................
Highly Available cluster ...................................
dummy script 4 .............................................
dummy script 2 .............................................
dummy script 1 .............................................
dummy script 0 .............................................

FAIL *
FAIL *
N/A
BG
N/A
FAIL *
OK

Stopping Control Daemon .........................................


Stop CDE login server ...........................................
Stop LVM daemon .................................................
Stop NDDB Comm Server ...........................................
Stop kwdbd ......................................................
Stopping HP-UX Apache-based Web Server ..........................
Stopping HP-UX Tomcat-based Servlet Engine. .....................
Stopping HP-UX Webmin-based Admin ...............................
Stopping the HPUX Webproxy subsystem ............................
Stopping HP-UX XML Web Server Tools .............................
Stop X print server(s) ..........................................
Stop NFS server subsystem .......................................
Shutting down CIFS Client .......................................
Stopping Event Monitoring Service ...............................
Stop interrupt balance daemon ...................................
Shutting down the Winbind Daemon ................................
Unload/Uninstall XF86 DLKM Helper Modules .......................
Stopping the gWLM Agent .........................................
Stop Workload Manager subsystem .................................
Reset PRM and shut down PRM daemons .............................
Shutting down the System Management HomePage server .............
Shutting down Perf Agent software ...............................
Stopping the perfd daemon. ......................................
Stopping USB hub daemon .........................................
Stopping audio server daemon ....................................
Stop auditing subsystem .........................................
Stop environment monitoring daemon ..............................
Stop diagnostic subsystem .......................................
Stop clock daemon ...............................................
Stop print spooler ..............................................
Stop accounting .................................................
Stopping time synchronization ...................................
Stop vt daemon ..................................................
Terminating X Font Server .......................................
Stop HA cluster WBEM subagent ...................................
Stopping HP-UX Secure Shell .....................................
Stopping Instant Capacity .......................................
Stop CIM cimserver subsystem ....................................
Stop RPC daemon .................................................
Stop DCE daemons ................................................
Stop HA cluster SNMP subagent ...................................
Stopping OSPF MIB Network Management subAgent ...................
Stopping SNMP HP-UNIX Network Management subAgent ...............
Stopping SNMP IPv6 Network Management subAgent ..................
Stopping SNMP MIB-2 Network Management subAgent .................
Stopping Native Adapter Agent ...................................
Stopping SNMP Trap Dest Network Management subAgent .............
Stopping SNMP Master Network Management daemon ..................
Stop HA cluster proxy daemon ....................................
Stopping outbound connection daemons for DDFA software ..........
Stopping syslog-ng daemons ......................................
Stopping cfengine's cfservd daemon ..............................
Shutting down sendmail [Done] Shutting down sm-client [Done] ....
Stopping IPv6 router advertisement daemon .......................
Stopping remote system status daemon ............................
Stopping RARP protocol daemon ...................................
Stop PPPoE configuration ........................................
Stop PPP configuration ..........................................
Stopping router discover protocol daemon ........................
Stopping ramd routing daemon ....................................

OK
OK
OK
N/A
N/A
OK
N/A
OK
OK
OK
N/A
OK
N/A
OK
N/A
OK
N/A
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
N/A
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
N/A
OK
OK
OK
OK
OK
OK
OK
N/A
N/A
N/A
OK
N/A
N/A
N/A
N/A
OK
N/A
N/A

Stopping dynamic routing daemon .................................


Stopping Internet services daemon ...............................
Stopping multicast routing daemon ...............................
Stop AUTOFS subsystem ...........................................
Stop NFS client subsystem .......................................
Stop lock manager subsystem .....................................
Stop NIS client subsystem .......................................
Stop ldap client daemon .........................................
Stop NIS/LDAP server subsystem ..................................
Stop NIS server subsystem .......................................
Stop NFS core subsystem .........................................
Stopping name server daemon .....................................
Unconfiguring DHCPv6 Interfaces .................................
Stopping DHCPv6 Server daemon ...................................
Stopping sfmdb PostgreSQL daemons ...............................
Unconfigure LAN interfaces ......................................
Unconfigure LAN interfaces for IPv6 .............................
Unconfigure HP gelan Gigabit Ethernet interfaces ................
Unconfigure HP iether 100BT/Gigabit Ethernet interfaces .........
Unconfigure HP igelan Gigabit Ethernet interfaces ...............
Stop network tracing and logging daemon .........................
Stop pty allocator daemon .......................................
Stop system message logging daemon ..............................
Stop Software Distributor agent daemon ..........................
Stop Essential Services monitoring daemon .......................
Stopping Event Management (EVM) .................................
Unconfigure Loopback interfaces (lo0) ...........................

N/A
OK
N/A
OK
OK
OK
OK
OK
N/A
OK
OK
N/A
OK
N/A
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK

* - An error has occurred !


* - Refer to the file /etc/rc.log for more information.

Transition to run-level 1 is complete.


================================================================================
======
Step 3: inovke init 3
Observation:
On the console all start scripts (/sbin/rc2.d, /sbin/rc3.d)
for the transition to runlevel 3 should be invoked.
================================================================================
=======
# init 3
#
INIT: New run level: 3
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
.1^Use 'exit' to logout.
Transition to run-level 3 in progress
_____________________________________
Configure Loopback interfaces (lo0) .........................
Reconfiguring setboot event subscription ....................
Starting Event Management (EVM) (phase 1) ...................
Start Essential Services monitoring daemon ..................
Continuing install jobs, configuring filesets ...............

OK
OK
OK
OK
OK

Configuring all unconfigured software filesets ..............


Configuring PFIL ............................................
Starting IPFilter ...........................................
Configuring Install Time Security ...........................
Recover editor crash files ..................................
Clean UUCP ..................................................
List and/or clear temporary files ...........................
Clean up old log files ......................................
Start system message logging daemon .........................
Checking user database ......................................
Start pty allocator daemon ..................................
Configuring OLA/R interface .................................
Start network tracing and logging daemon ....................
Configure HP igelan Gigabit Ethernet interfaces .............
Configure HP iether 100BT/Gigabit Ethernet interfaces .......
Configure HP gelan Gigabit Ethernet interfaces ..............
Configure HP 100BASE-T interfaces ...........................
Configure HP AUTO-PORT AGGREGATION interfaces ...............
Configure VLAN interfaces ...................................
Configure LAN interfaces ....................................
Configure LAN interfaces for IPv6 ...........................
Starting Event Management (EVM) (phase 2) ...................
Configure Auto-Port Aggregation(LAN Monitor) interfaces .....
Starting DHCPv6 Server daemon ...............................
Configuring DHCPv6 Interfaces ...............................
Start name server daemon ....................................
Starting HP-UX Secure Shell .................................
Start NFS core subsystem ....................................
Start NFS IPv6 subsystem ....................................
Start enhanced NFS IPv6 subsystem ...........................
Start NIS server subsystem ..................................
Start ldap client daemon ....................................
Start NIS/LDAP server subsystem .............................
Start NIS client subsystem ..................................
Start lock manager subsystem ................................
Start NFS client subsystem ..................................
Start AUTOFS subsystem ......................................
Finish containment subsystem configuration ..................
Start multicast routing daemon ..............................
Start Internet services daemon ..............................
Start dynamic routing daemon ................................
Start ramd routing daemon ...................................
Start router discover protocol daemon .......................
Configuring PPP Interface ...................................
Configuring PPPoE ...........................................
Start RARP protocol daemon ..................................
Start remote system status daemon ...........................
Start IPv6 router advertisement daemon ......................
Starting sendmail [Done] Starting sm-client [Done] ..........
Starting cfengine's cfservd daemon ..........................
Starting syslog-ng daemons ..................................
Starting outbound connection daemons for DDFA software ......
Starting sfmdb PostgreSQL daemons ...........................
Start HA cluster proxy daemon ...............................
Start SNMP Master Network Management daemon .................
Start OSPF MIB Network Management subAgent ..................
Start SNMP HP-UNIX Network Management subAgent ..............
Start SNMP IPv6 Network Management subAgent .................
Start SNMP MIB-2 Network Management subAgent ................
Start Native Adapter Agent ..................................

OK
N/A
N/A
N/A
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
N/A
OK
OK
OK
OK
FAIL *
N/A
N/A
OK
N/A
OK
OK
OK
OK
OK
N/A
OK
OK
OK
OK
OK
OK
N/A
OK
N/A
N/A
N/A
OK
N/A
N/A
N/A
N/A
OK
N/A
N/A
N/A
OK
OK
OK
N/A
OK
OK
OK
N/A

Start SNMP Trap Dest Network Management subAgent ............


Start HA cluster SNMP subagent ..............................
Start DCE daemons ...........................................
Start RPC daemon if needed ..................................
Start CIM cimserver subsystem ...............................
Initialize Instant Capacity .................................
Start HA cluster WBEM subagent ..............................
Starting X Font Server at TCP port 7000 .....................
Start vt daemon .............................................
Start time synchronization ..................................
Start accounting ............................................
Install/Load XF86 DLKM Helper Modules .......................
Starting the password/group assist subsystem ................
Start print spooler .........................................
Start clock daemon ..........................................
Check Security Bulletin Compliance ..........................
Start diagnostic subsystem ..................................
Start environment monitoring daemon .........................
Start auditing subsystem ....................................
Start audio server daemon ...................................
Start USB hub daemon ........................................
SAM System administration configuration .....................
PA performance software is being started. ...................
Starting the perfd daemon. ..................................
Configure PRM -or- Configure and Enable PRM .................
Start Workload Manager subsystem ............................
Initialize Software Distributor agent daemon ................
Starting the System Management HomePage server ..............
Starting the gWLM Agent .....................................
Starting CIFS Client ........................................
Configure HP RAID SA interfaces .............................
Performing any needed DRD cleanup ...........................
Starting Event Monitoring Service ...........................
Start EMS SNMP subagent .....................................
Start interrupt balance daemon ..............................
Configuring Ultra320 SCSI Mass Storage interfaces ...........
Starting the Winbind Daemon .................................
Configuring HP Fibre Channel FCD Mass Storage interfaces ....
Start NFS server subsystem ..................................
Start X print server(s) .....................................
Start Highly Available cluster ..............................
Starting HP-UX Apache-based Web Server ......................
Starting HP-UX Tomcat-based Servlet Engine ..................
Starting HP-UX Webmin-based Admin ...........................
Starting the HPUX Webproxy subsystem ........................
Starting HP-UX XML Web Server Tools .........................
Start kwdbd .................................................
Start NDDB Comm Server ......................................
Start LVM daemon ............................................
Start CDE login server ......................................
Testing Custom script Starting the customer script ..........
Start dummy script 0 ........................................
Start dummy script 1 ........................................
Start dummy script 2 ........................................
Start dummy script 4 ........................................
Starting the amgrd subsystem ................................
Start dummy script 5 ........................................
Start dummy script 127 ......................................
Starting PRNGD (Pseudo Random Number Generator Daemon) ......
Starting Control Daemon .....................................

OK
OK
N/A
OK
OK
N/A
OK
N/A
N/A
OK
N/A
N/A
OK
OK
OK
N/A
OK
OK
N/A
N/A
OK
OK
OK
OK
N/A
N/A
OK
OK
N/A
N/A
N/A
OK
N/A
OK
N/A
N/A
N/A
OK
OK
N/A
N/A
N/A
N/A
N/A
N/A
OK
N/A
N/A
OK
OK
OK
OK
FAIL *
N/A
BG
N/A
FAIL *
FAIL *
N/A
OK

* - An error has occurred !


* - Refer to the file /etc/rc.log for more information.

Transition to run-level 3 is complete.==========================================


=============================================
Step 1: Shut down the system by calling "init 0"
Observation:
The system should halt.
================================================================================
========
# swlist | grep -i PHCO_42073
PHCO_42073
1.0
rc cumulative patch
# init 0
#
INIT: New run level: 0
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
ovc instance NOT running
System shutdown in progress
___________________________
Stop Highly Available cluster ...................................
Stopping Control Daemon .........................................
Stopping OVTrcSrv ...............................................
Stop LVM daemon .................................................
Stop NDDB Comm Server ...........................................
Stop kwdbd ......................................................
Stopping HP-UX Apache-based Web Server ..........................
Stopping HP-UX Tomcat-based Servlet Engine. .....................
Stopping HP-UX Webmin-based Admin ...............................
Stopping the HPUX Webproxy subsystem ............................
Stopping HP-UX XML Web Server Tools .............................
Stop NFS server subsystem .......................................
Shutting down CIFS Client .......................................
Stopping Event Monitoring Service ...............................
Stop interrupt balance daemon ...................................
Shutting down the Winbind Daemon ................................
Unload/Uninstall XF86 DLKM Helper Modules .......................
Stopping the gWLM Agent .........................................
Stop Workload Manager subsystem .................................
Reset PRM and shut down PRM daemons .............................
Shutting down the System Management HomePage server .............
Shutting down Perf Agent software ...............................
Stopping the perfd daemon. ......................................
Stopping USB hub daemon .........................................
Stop auditing subsystem .........................................
Stop environment monitoring daemon ..............................
Stop diagnostic subsystem .......................................
Stop clock daemon ...............................................
Stop print spooler ..............................................
Stop accounting .................................................
Stopping time synchronization ...................................
Stop vt daemon ..................................................
Terminating X Font Server .......................................

N/A
N/A
OK
OK
N/A
N/A
OK
N/A
OK
OK
OK
OK
N/A
OK
N/A
OK
N/A
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
N/A
N/A
OK
OK

Stop HA cluster WBEM subagent ...................................


Stopping HP-UX Secure Shell .....................................
Stopping Instant Capacity .......................................
Stop CIM cimserver subsystem ....................................
Stop RPC daemon .................................................
Stop DCE daemons ................................................
Stop HA cluster SNMP subagent ...................................
Stopping OSPF MIB Network Management subAgent ...................
Stopping SNMP HP-UNIX Network Management subAgent ...............
Stopping SNMP IPv6 Network Management subAgent ..................
Stopping SNMP MIB-2 Network Management subAgent .................
Stopping Native Adapter Agent ...................................
Stopping SNMP Trap Dest Network Management subAgent .............
Stopping SNMP Master Network Management daemon ..................
Stop HA cluster proxy daemon ....................................
Stopping outbound connection daemons for DDFA software ..........
Stopping syslog-ng daemons ......................................
Stopping cfengine's cfservd daemon ..............................
Shutting down sendmail [Done] Shutting down sm-client [Done] ....
Stopping IPv6 router advertisement daemon .......................
Stopping remote system status daemon ............................
Stopping RARP protocol daemon ...................................
Stop PPPoE configuration ........................................
Stop PPP configuration ..........................................
Stopping router discover protocol daemon ........................
Stopping ramd routing daemon ....................................
Stopping dynamic routing daemon .................................
Stopping Internet services daemon ...............................
Stopping multicast routing daemon ...............................
Stop AUTOFS subsystem ...........................................
Stop NFS client subsystem .......................................
Stop lock manager subsystem .....................................
Stop NIS client subsystem .......................................
Stop ldap client daemon .........................................
Stop NIS/LDAP server subsystem ..................................
Stop NIS server subsystem .......................................
Stop NFS core subsystem .........................................
Stopping name server daemon .....................................
Unconfiguring DHCPv6 Interfaces .................................
Stopping DHCPv6 Server daemon ...................................
Stopping sfmdb PostgreSQL daemons ...............................
Unconfigure LAN interfaces ......................................
Unconfigure LAN interfaces for IPv6 .............................
Unconfigure HP gelan Gigabit Ethernet interfaces ................
Unconfigure HP iether 100BT/Gigabit Ethernet interfaces .........
Unconfigure HP igelan Gigabit Ethernet interfaces ...............
Stop network tracing and logging daemon .........................
Stop pty allocator daemon .......................................
Stop system message logging daemon ..............................
Stop Software Distributor agent daemon ..........................
Stop Essential Services monitoring daemon .......................
Stopping Event Management (EVM) .................................
Unconfigure Loopback interfaces (lo0) ...........................
Stop Utmp Daemon ................................................
Stopping livedump subsystem .....................................
Stop syncer daemon ..............................................
Killing user processes ..........................................
Starting the fsdaemon for transition into single-user mode ......
Apply kernel configuration changes for next boot ................
Unmount file systems ............................................

OK
OK
OK
OK
OK
OK
OK
N/A
OK
OK
OK
OK
OK
OK
OK
N/A
N/A
N/A
OK
N/A
N/A
N/A
N/A
OK
N/A
N/A
N/A
OK
N/A
OK
OK
OK
OK
OK
N/A
OK
OK
N/A
OK
N/A
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
N/A
OK

Shutdown at 17:02 (in 0 minutes) Note: reboot: Couldn't write to : /dev/pts/ta


System shutdown time has arrived
sync'ing disks (0 buffers to flush):
0 fcache pages still dirty
0 buffers not flushed
0 buffers still dirty
Calling function 5e80e0 for Shutdown State 5 type 0x1
Closing open logical volumes...
Done

System has halted


OK to turn off power or reset system
UNLESS "WAIT for UPS to turn off power" message was printed above
================================================================================
========
==================================================================
# Test case Number: 3
# Head line
: rc scripts use getconf to get the pid of init
# Os Release
: 11.31 and above.
# Defect Number : JAGae61820
# Description
: killall should not send signals to init and
#
: anscetors of the parent calling killall
#
: including the parent.
=================================================================
Step 1: Add the below lines at the beginning of the killall script.
echo "===== Processes running=======" > /Killallresult
ps -aef >> /Killallresult
Step 2: Add the below lines just before the statement - kill -15 `first_pass` \
>/dev/null 2>&1
echo "===== Process getting killed in first pass" >> /Killallresult
first_pass >> /Killallresult
Step 3: Add the below lines just before the statemen - if [ $signo -eq 9 ];then
echo "====== Process getting killed in second pass" >> /Killallresult
second_pass >> /Killallresult
Step 4: reboot the machine using the command "shutdown -r"
Step 5: Analyse the killallresult after reboot:
Observation:
a. killall and its ancestors including init should not be killed in
first_pass and second pass.
================================================================================
===========================
The script provided is not proper and gives error while execution.I guess it is

not freamed in a proper


way in which the scripts should be written The script needs to be modified so th
at correct output
is obtained
================================================================================
===========================

================================================================================
============================

==================================================================
# Test case Number: 4
# Head line
: /sbin/rc declares service as FAILED while it
#
is running in background
# Os Release
: 11.11 and above.
# Defect Number : JAGae87651
# Description
: /sbin/rc should report that service is running
#
: in background (BG) and should log message in
#
: /etc/rc.log.
=================================================================
# Run the below test on LINE MODE TERMINAL(Terminal)
Step 1: Create a dummy script which returns value 4 on exit.
Step 2: Copy it to /sbin/init.d
Step 3: Create a symlink in the /sbin/rc{n}.d/<Dummy_Script>
where 'n' is same as current run-level.
Step 4: run /sbin/rc as root.
Step 5: It should display BG against the dummy service and
log the message "<service> EXECUTED IN BACKGROUND MODE"
in /etc/rc.log.
================================================================================
===============
# ll /sbin/init.d/dummy1
-rwxrwxrwx 1 root
sys
286 Oct 28 18:49 /sbin/init.d/dummy1
# ln -s /sbin/init.d/dummy1 /sbin/rc3.d/S998dummy1
# ll /sbin/rc3.d/S998dummy1
lrwxrwxrwx 1 root
sys
19 Oct 28 18:50 /sbin/rc3.d/S998dummy1
-> /sbin/init.d/dummy1
# who -r
.
run-level 3 Oct 24 16:58
3
0
S
# /sbin/rc
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
Starting subsystems for run-level 3
___________________________________

Start NFS server subsystem ................................


Start Highly Available cluster ............................
Starting HP-UX Apache-based Web Server ....................
Starting HP-UX Tomcat-based Servlet Engine ................
Starting HP-UX Webmin-based Admin .........................
Starting the HPUX Webproxy subsystem ......................
Starting HP-UX XML Web Server Tools .......................
Start kwdbd ...............................................
Start NDDB Comm Server ....................................
Start LVM daemon ..........................................
Starting the amgrd subsystem ..............................
Start dummy script dummy1 .................................
Starting PRNGD (Pseudo Random Number Generator Daemon) ....
Starting Control Daemon ...................................
Transition to run-level 3 is complete.
# vi /etc/rc.log
"/etc/rc.log" 850 lines, 26221 characters
**************************************************
HP-UX Start-up in progress
Mon Oct 24 16:59:00 IST 2011
**************************************************
Configure system crash dumps
Output from "/sbin/rc1.d/S080crashconf start":
---------------------------crashconf: concurrent mode not supported on this platform
EXIT CODE: 0
Removing old vxvm files
Output from "/sbin/rc1.d/S090sw_clean_vxvm start":
---------------------------Mount file systems
Output from "/sbin/rc1.d/S100localmount start":
---------------------------checking quotas
Remounting Root File System
Output from "/sbin/rc1.d/S101vxfs_remount_root start":
---------------------------Setting hostname
Output from "/sbin/rc1.d/S320hostname start":
---------------------------Start containment subsystem configuration
Output from "/sbin/rc1.d/S330sec_init start":
---------------------------Set privilege group
Output from "/sbin/rc1.d/S400set_prvgrp start":
---------------------------"/sbin/rc1.d/S400set_prvgrp start" SKIPPED
Display date
Output from "/sbin/rc1.d/S420set_date start":
----------------------------

OK
N/A
N/A
N/A
N/A
N/A
OK
N/A
N/A
OK
N/A
BG
N/A
OK

/dummy1
---------------------------"/sbin/rc3.d/S828kwdbd start" SKIPPED
Start NDDB Comm Server
Output from "/sbin/rc3.d/S829nddbcs start":
---------------------------"/sbin/rc3.d/S829nddbcs start" SKIPPED
Start LVM daemon
Output from "/sbin/rc3.d/S900lvm start":
---------------------------Starting up the lvmpud daemon
lvmpud already started, using pid: 2002
Starting the amgrd subsystem
Output from "/sbin/rc3.d/S998amgrd start":
---------------------------"/sbin/rc3.d/S998amgrd start" SKIPPED
Start dummy script dummy1
Output from "/sbin/rc3.d/S998dummy1 start":
---------------------------"/sbin/rc3.d/S998dummy1 start" EXECUTED IN BACKGROUND MODE-------------->Require
d Output Got
Starting PRNGD (Pseudo Random Number Generator Daemon)
Output from "/sbin/rc3.d/S99prngd.rc start":
---------------------------"/sbin/rc3.d/S99prngd.rc start" SKIPPED
Starting Control Daemon
Output from "/sbin/rc3.d/S99z0OVCtrl start":
---------------------------**************************************************
HP-UX run-level transition completed
Fri Oct 28 18:51:20 IST 2011
**************************************************
================================================================================
================
--->
==================================================================
# Test case Number: 5
# Head line
: To check /sbin/rc declares service as FAILED, SKIPPED and
#
BACKGROUND as per exit values
#
1, > 4 FAILED 2 SKIPPED 4 - BACKGROUND
# Os Release
: 11.11 and above.
# Defect Number : JAGae87651
# Description
: /sbin/rc should report that service is running
#
: in respective mode as per exit value and should log message
#
: /in etc/rc.log.
=================================================================
# Run the below test on LINE MODE TERMINAL
Step 1: export DISPLAY variable
For eg export DISPLAY=nt21656:0.0
Step 2: Connect to remote console

Step 3: Login as root in another terminal and run the script prog
chmod +x prog
./prog
Expected Result : The script should have all PASS statements
In console no other unwanted mesg should be seen

// Machine needs following two binaries which are not present on the machine
/usr/dt/bin/hpterm
/usr/dt/bin/dtterm
--->
==================================================================
# Test case Number: 6
# Head line
: system reboots when it has a starup script with exit value 3
executed by /sbin/rc
# Os Release
: 11.11 and above.
# Defect Number : JAGae87651
# Description
: system should reboot
=================================================================
# Run the below test on LINE MODE TERMINAL(Terminal)
Step 1: Create a dummy script which returns value 3 on exit.
Step 2: Copy it to /sbin/init.d
Step 3: Create a symlink in the /sbin/rc{n}.d/S<Dummy_Script>
where 'n' is same as current run-level.
Step 4: run /sbin/rc as root.
Expected result : System should reboot
Note : Bring up the system in runlevel other than the current level and remove t
he script
otherwise reboot will occur continuosly
================================================================================
===================
# who -r
.
run-level 3 Oct 24 16:58
3
0
S
# ln -s /sbin/init.d/dummy3 /sbin/rc3.d/S991dummy3
# ll /sbin/rc3.d/S991dummy3
lrwxrwxrwx 1 root
sys
19 Oct 28 18:54 /sbin/rc3.d/S991dummy3
-> /sbin/init.d/dummy3
bingo# /sbin/rc
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
Starting subsystems for run-level 3
___________________________________
Start NFS server subsystem ................................ OK
Start Highly Available cluster ............................ N/A
Starting HP-UX Apache-based Web Server .................... N/A

Starting HP-UX Tomcat-based Servlet Engine ................


Starting HP-UX Webmin-based Admin .........................
Starting the HPUX Webproxy subsystem ......................
Starting HP-UX XML Web Server Tools .......................
Start kwdbd ...............................................
Start NDDB Comm Server ....................................
Start LVM daemon ..........................................
Start dummy script dummy3 .................................

N/A
N/A
N/A
OK
N/A
N/A
OK
BOOT

Reboot of system has been requested -- rebooting...


* The kernel registry database has been saved to disk.
Dead gateway detection can't ping the last remaining default gateway at 0xf92980
1 .See ndd -h ip_ire_gw_probe for more info
sync'ing disks (0 buffers to flush):
0 fcache pages still dirty
0 buffers not flushed
0 buffers still dirty
Calling function 5f1ee0 for Shutdown State 5 type 0x1
Closing open logical volumes...
Done

Cells have been reset (Boot Is Blocked (BIB) is not set).


Firmware Version 22.2
Duplex Console IO Dependent Code (IODC) revision 2
-------------------------------------------------------------------------(c) Copyright 1995-2002, Hewlett-Packard Company, All rights reserved
-------------------------------------------------------------------------Cab/
Cell
------- Processor -------Cell Slot
State
#
Speed
State
---- ---- ------------ --- -------- ----------1 0/1 Active
0A 1100 MHz Active
0B 1100 MHz Idle
2A 1100 MHz Idle
2B 1100 MHz Idle
Primary Boot Path: 1/0/0/2/0.6
Boot Actions: Go to BCH.
HA Alternate Boot Path: 1/0/0/3/1.6
Boot Actions: Go to BCH.
Alternate Boot Path: 1/0/0/3/0.6
Boot Actions: Go to BCH.
Console Path: 1/0/0/0/1.0
Attempting to boot using the primary path.

Cache
Inst
-----64 MB
64 MB
64 MB
64 MB

Size
Data
-----64 MB
64 MB
64 MB
64 MB

------------------------------------------------------------The Boot Action for this path specifies that PDC stop at BCH.
---- Main Menu --------------------------------------------------------------Command
------BOot [PRI|HAA|ALT|<path>]
PAth [PRI|HAA|ALT] [<path>]
SEArch [ALL|<cell>|<path>]
ScRoll [ON|OFF]

Description
----------Boot from specified path
Display or modify a path
Search for boot devices
Display or change scrolling capability

COnfiguration menu
INformation menu
SERvice menu

Displays or sets boot values


Displays hardware information
Displays service commands

DIsplay
HElp [<menu>|<command>]
REBOOT
RECONFIGRESET

Redisplay the current menu


Display help for menu or command
Restart Partition
Reset to allow Reconfig Complex Profile

---Main Menu: Enter command or menu > BO


Primary Boot Path: 1/0/0/2/0.6
Do you wish to stop at the ISL prompt prior to booting? (y/n) >> n
Initializing boot Device.
Boot IO Dependent Code (IODC) Revision 4
Boot Path Initialized.
HARD Booted.
ISL Revision A.00.44 Mar 12, 2003
ISL booting hpux
Boot
: disk(1/0/0/2/0.6.0.0.0.0.0;0)/stand/vmunix
14348288 + 3534848 + 4915088 start 0x14d768

DoCalllist done
Module btlan is put into ramfs:load time: driver_install, state: loaded
Module procsm is put into ramfs:load time: driver_install, state: loaded
Module c8xx is put into ramfs:load time: driver_install, state: loaded
Module iomem is put into ramfs:load time: driver_install, state: auto
Module cdfs is put into ramfs:load time: driver_install, state: auto
Module cfsmdr is put into ramfs:load time: driver_install, state: auto
Module cfsm is put into ramfs:load time: driver_install, state: auto
Module cifs is put into ramfs:load time: driver_install, state: auto

Module fcd is put into ramfs:load time: driver_install, state: loaded


Module td is put into ramfs:load time: driver_install, state: loaded
Module gelan is put into ramfs:load time: driver_install, state: loaded
Module iether is put into ramfs:load time: driver_install, state: loaded
Module igelan is put into ramfs:load time: driver_install, state: loaded
Module lvmp is put into ramfs:load time: driver_install, state: loaded
Module fdd is put into ramfs:load time: driver_install, state: loaded
Module ciss is put into ramfs:load time: driver_install, state: loaded
Module mpt is put into ramfs:load time: driver_install, state: loaded
Using /stand/ext_ioconfig
gate64: sysvec_vaddr = 0xc0002000 for 2 pages
Memory Class Setup
------------------------------------------------------------------------Class
Physmem
Lockmem
Swapmem
------------------------------------------------------------------------System : 3888 MB
3888 MB
3888 MB
Kernel : 3887 MB
3887 MB
3887 MB
User : 3727 MB
3304 MB
3317 MB
------------------------------------------------------------------------ktracer is off until requested.
Installing Socket Protocol families AF_INET and AF_INET6
Kernel EVM initialized
sec_init(): kernel RPC authentication/security initialization.
secgss_init(): kernel RPCSEC_GSS security initialization.
rpc_init(): kernel RPC initialization.
rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_in
stall)
NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 10.
NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 11.
NOTICE: cachefsc_install: cachefs File system was registered at index 13.
System Console is on the Built-In Serial Interface
igelan0: INITIALIZING HP A7109-60001 PCI 1000Base-T Core at hardware path 1/0/0/
1/0
igelan1: INITIALIZING HP A9784-60002 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter
at hardware path 1/0/14/1/0/6/0
AF_INET socket/streams output daemon running, pid 76
afinet_prelink: module installed
Starting the STREAMS daemons-phase 1
LVM: Root VG activated
Swap device table: (start & size given in 512-byte blocks)
entry 0 - major is 64, minor is 0x2; start = 0, size = 8388608
Checking root file system.
file system is clean - log replay is not required
Root check done.
NOTICE: return ramfs memory for BTL: [FREE] top 0x0000001041200000, pages 3736
Create STCP device files
Starting the STREAMS daemons-phase 2
$Revision: vmunix:
B.11.31_LR FLAVOR=perf
Memory Information:
physical page size = 4096 bytes, logical page size = 4096 bytes
Physical: 4186112 Kbytes, lockable: 2972620 Kbytes, available: 3392072 Kbyte
s
/sbin/ioinitrc:
/sbin/krs_sysinit:
* The module 'rng' has been loaded.

insf: Installing special files for ipmi instance 0 address 1/6


insf: Installing special files for pseudo driver framebuf
/sbin/bcheckrc:
Checking for LVM volume groups and Activating (if any exist)
Volume group "/dev/vg00" is already active on this system.
Activated volume group.
Volume group "/dev/vg77" has been successfully changed.
Resynchronized volume group /dev/vg00
Resynchronized volume group /dev/vg77
Checking hfs file systems
/sbin/fsclean: /dev/vg00/lvol1 (mounted) ok
HFS file systems are OK, not running fsck
Checking vxfs file systems
UX:vxfs fsck: INFO: V-3-20913: /dev/vg00/lvol3:sanity check: root file system OK
(mounted read/write)
UX:vxfs fsck: INFO: V-3-20915: /dev/vg00/lvol4:sanity check: /dev/vg00/lvol4 OK
UX:vxfs fsck: INFO: V-3-20915: /dev/vg00/stdenv:sanity check: /dev/vg00/stdenv O
K
UX:vxfs fsck: INFO: V-3-20915: /dev/vg00/vsc_otherfs:sanity check: /dev/vg00/vsc
_otherfs OK
UX:vxfs fsck: INFO: V-3-20915: /dev/vg00/vsc_rofs:sanity check: /dev/vg00/vsc_ro
fs OK
UX:vxfs fsck: INFO: V-3-20915: /dev/vg77/scrap:sanity check: /dev/vg77/scrap OK
UX:vxfs fsck: INFO: V-3-20915: /dev/vg77/cmdsscrap:sanity check: /dev/vg77/cmdss
crap OK
Cleaning /etc/ptmp...
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2006 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
Confidential computer software. Valid license from HP required for
possession, use or copying. Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
/sbin/rc: failed to read row and column info from screen
HP-UX Start-up in progress
__________________________
Configure system crash dumps ................................ OK
Removing old vxvm files ..................................... OK
Mount file systems .......................................... OK

Remounting Root File System .................................


Setting hostname ............................................
Start containment subsystem configuration ...................
Set privilege group .........................................
Display date ................................................
Copy processor logs to /var/tombstones ......................
Save system crash dump if needed ............................
Start evp ...................................................
Enable auxiliary swap space .................................
Start syncer daemon .........................................
Initializing livedump .......................................
Start Utmp Daemon : manages User Accounting Database ........
Configure Loopback interfaces (lo0) .........................
Reconfiguring setboot event subscription ....................
Starting Event Management (EVM) (phase 1) ...................
Start Essential Services monitoring daemon ..................
Continuing install jobs, configuring filesets ...............
Configuring all unconfigured software filesets ..............
Configuring PFIL ............................................
Starting IPFilter ...........................................
Configuring Install Time Security ...........................
Recover editor crash files ..................................
Clean UUCP ..................................................
List and/or clear temporary files ...........................
Clean up old log files ......................................
Start system message logging daemon .........................
Checking user database ......................................
Start pty allocator daemon ..................................
Configuring OLA/R interface .................................
Start network tracing and logging daemon ....................
Configure HP igelan Gigabit Ethernet interfaces .............
Configure HP iether 100BT/Gigabit Ethernet interfaces .......
Configure HP gelan Gigabit Ethernet interfaces ..............
Configure HP 100BASE-T interfaces ...........................
Configure HP AUTO-PORT AGGREGATION interfaces ...............
Configure VLAN interfaces ...................................
Configure LAN interfaces ....................................
Configure LAN interfaces for IPv6 ...........................
Starting Event Management (EVM) (phase 2) ...................
Configure Auto-Port Aggregation(LAN Monitor) interfaces .....
Starting DHCPv6 Server daemon ...............................
Configuring DHCPv6 Interfaces ...............................
Start name server daemon ....................................
Starting HP-UX Secure Shell .................................
Start NFS core subsystem ....................................
Start NFS IPv6 subsystem ....................................
Start enhanced NFS IPv6 subsystem ...........................
Start NIS server subsystem ..................................
Start ldap client daemon ....................................
Start NIS/LDAP server subsystem .............................
Start NIS client subsystem ..................................
Start lock manager subsystem ................................
Start NFS client subsystem ..................................
Start AUTOFS subsystem ......................................
Finish containment subsystem configuration ..................
Start multicast routing daemon ..............................
Start Internet services daemon ..............................
Start dynamic routing daemon ................................
Start ramd routing daemon ...................................
Start router discover protocol daemon .......................

OK
OK
OK
N/A
N/A
OK
N/A
OK
OK
OK
N/A
OK
OK
OK
OK
OK
OK
OK
N/A
N/A
N/A
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
N/A
OK
OK
OK
OK
OK
N/A
N/A
OK
N/A
OK
OK
OK
OK
OK
N/A
N/A
OK
OK
OK
OK
OK
N/A
OK
N/A
N/A
N/A

Configuring PPP Interface ...................................


Configuring PPPoE ...........................................
Start RARP protocol daemon ..................................
Start remote system status daemon ...........................
Start IPv6 router advertisement daemon ......................
Starting sendmail [Done] Starting sm-client [Done] ..........
Starting cfengine's cfservd daemon ..........................
Starting syslog-ng daemons ..................................
Starting outbound connection daemons for DDFA software ......
Starting sfmdb PostgreSQL daemons ...........................
Start HA cluster proxy daemon ...............................
Start SNMP Master Network Management daemon .................
Start OSPF MIB Network Management subAgent ..................
Start SNMP HP-UNIX Network Management subAgent ..............
Start SNMP IPv6 Network Management subAgent .................
Start SNMP MIB-2 Network Management subAgent ................
Start Native Adapter Agent ..................................
Start SNMP Trap Dest Network Management subAgent ............
Start HA cluster SNMP subagent ..............................
Start DCE daemons ...........................................
Start RPC daemon if needed ..................................
Start CIM cimserver subsystem ...............................
Initialize Instant Capacity .................................
Start HA cluster WBEM subagent ..............................
Starting X Font Server at TCP port 7000 .....................
Start vt daemon .............................................
Start time synchronization ..................................
Start accounting ............................................
Install/Load XF86 DLKM Helper Modules .......................
Starting the password/group assist subsystem ................
Start print spooler .........................................
Start clock daemon ..........................................
Check Security Bulletin Compliance ..........................
Start diagnostic subsystem ..................................
Start environment monitoring daemon .........................
Start auditing subsystem ....................................
Start USB hub daemon ........................................
SAM System administration configuration .....................
PA performance software is being started. ...................
Starting the perfd daemon. ..................................
Configure PRM -or- Configure and Enable PRM .................
Start Workload Manager subsystem ............................
Initialize Software Distributor agent daemon ................
Starting the System Management HomePage server ..............
Starting the gWLM Agent .....................................
Starting CIFS Client ........................................
Configure HP RAID SA interfaces .............................
Performing any needed DRD cleanup ...........................
Starting Event Monitoring Service ...........................
Start EMS SNMP subagent .....................................
Start interrupt balance daemon ..............................
Configuring Ultra320 SCSI Mass Storage interfaces ...........
Starting the Winbind Daemon .................................
Configuring HP Fibre Channel FCD Mass Storage interfaces ....
Start NFS server subsystem ..................................
Start Highly Available cluster ..............................
Starting HP-UX Apache-based Web Server ......................
Starting HP-UX Tomcat-based Servlet Engine ..................
Starting HP-UX Webmin-based Admin ...........................
Starting the HPUX Webproxy subsystem ........................

OK
N/A
N/A
N/A
N/A
OK
N/A
N/A
N/A
OK
OK
OK
N/A
OK
OK
OK
N/A
OK
OK
N/A
OK
OK
N/A
OK
N/A
N/A
N/A
N/A
N/A
OK
OK
OK
N/A
OK
OK
N/A
OK
OK
OK
OK
N/A
N/A
OK
OK
N/A
N/A
N/A
OK
OK
OK
N/A
N/A
N/A
OK
OK
N/A
N/A
N/A
N/A
N/A

Starting HP-UX XML Web Server Tools .........................


Start kwdbd .................................................
Start NDDB Comm Server ......................................
Start LVM daemon ............................................
Start dummy script dummy3 ...................................

OK
N/A
N/A
OK
BOOT

Reboot of system has been requested -- rebooting...


* The kernel registry database has been saved to disk.
sync'ing disks (0 buffers to flush):
0 fcache pages still dirty
0 buffers not flushed
0 buffers still dirty
Calling function 5f1ee0 for Shutdown State 5 type 0x1
Closing open logical volumes...
Done

================================================================================
===================
--->
==================================================================
# Test case Number: 7
# Head line
: verify that check-routines are not called when LIST_MODE has
value 3 in /etc/rc.config.d/list_mode
# Os Release
: 11.11 and above.
# Defect Number : JAGae87651
# Description
: No mesg should appear in console
=================================================================
# Run the below test on LINE MODE TERMINAL
Step 1: Assign LIST_MODE=3 in /etc/rc.config.d/list_mode file
Step 4: run /sbin/rc as root.
Expected result : No mesg should appear in console
Mesg similiar to
*************************************************
starting NFS SERVER networking
starting up the rpcbind daemon
rpcbind already started, using pid: 1130
exportfs error: nothing to export.
Reading in /etc/exports
starting up the mount daemon
rpc.mountd already started, using pid: 10478
starting up the NFS daemons
nfsd(s) already started, using pid(s): 10500 10506 10501 10509 10511 105
08 10512 10514 10498 10502 10490 10489 10515 10493 10492 10494 10485
starting up the Status Monitor daemon
rpc.statd already started, using pid: 1178
starting up the Lock Manager daemon

rpc.lockd already started, using pid: 1184


**************************************************
HP-UX run-level transition completed
Fri Mar 26 20:15:03 IST 2004
**************************************************
Transition to run-level 3 is complete.
which is the output of config script should be seen on the terminal in which /sb
in/rc is executed
--->
==================================================================
# Test case Number: 8
# Head line
: To check /sbin/rc declares service as FAILED, SKIPPED and
#
BACKGROUND as per exit values
#
1, > 4 FAILED 2 SKIPPED 4 - BACKGROUND
# Os Release
: 11.11 and above.
# Defect Number : JAGae87651
# Description
: /sbin/rc should report that service is running
#
: in respective mode as per exit value and should log message
#
: /in etc/rc.log.
=================================================================
# Run the below test on SCREEN MODE TERMINAL (console)
Step 1: Connect to console and set correct TERM variable
Step 2: Assign LIST_MODE=2 in /etc/rc.config.d/list_mode file
Step 2: Give the script prog.console Execute permissions and iExecute it
chmod +x prog.console
./prog.console
Expected Result : The script should have all PASS statements
In console no other unwanted mesg should be seen
================================================================================
=
# export TERM="xterm"
# ll /etc/rc.config.d/list_mode
-r--r--r-- 1 bin
bin
1821 Feb 16 2007 /etc/rc.config.d/list_
mode
# chmod 777 /etc/rc.config.d/list_mode
# vi /etc/rc.config.d/list_mode
"/etc/rc.config.d/list_mode" 40 lines, 1821 characters
#!/sbin/sh
# @(#)B.11.31_LR
# Startup checklist preferences
#
# LIST_MODE:
Determines mode of operation for friendly system startup
#
checklist. Choose from one of the following values.
#
NOTE: interactive and informational startup scripts will
#
send their output to a logfile and read no input
#
unless mode 3 (off) is selected. The list_temps
#
and set_date scripts fall into this category. If
#
this functionality is not required by you, then any
#
other setting of LIST_MODE can be used.
#
0 - Default. In the default mode, a check is made to see if

#
the terminal is an hp device. If it is, then the
#
screen-oriented mode is used, otherwise the line-oriented
#
mode is used.
#
1 - Forces a line-oriented checklist suitable for all
#
types of consoles, including non-HP.
#
2 - Forces a screen-oriented checklist which assumes that the
#
console device interprets HP escape sequences. This mode
#
should only be used when the console is guaranteed to be
#
connected to an HP terminal device.
#
3 - Turns off the start-up checklist. Output from startup
#
scripts is sent to the console.
#
# LIST_TIMEOUT: When a startup script exists with an error, the checklist
#
is paused for inspection before continuing to a new page.
#
The LIST_TIMEOUT is the timeout, in seconds, before the
#
checklist process resumes operation. This can be set to 0
#
To skip the pause entirely.
#
# USE_COLOR:
On ITE displays, terminal escape sequences can be used to
#
create colored highlights for status messages. On greyscale
#
ITE monitors this displays as different shades of intensity.
#
1 - use escape sequence color outputs for status mesages
#
0 - do not use color escape sequences
#
LIST_MODE=2
LIST_TIMEOUT=0
USE_COLOR=1
~
"/etc/rc.config.d/list_mode" 40 lines, 1821 characters
#
#
#
# pwd
/
# ls
.kshrc
PHCO_41165.depot
lib
test.cov
.kshrc.original
PHCO_41529.depot
lost+found
tmp
.profile
PHCO_42073.depot
mnt
tms
.profile.original
PHCO_42225.depot
net
tztab_test
.rhosts
UNOF_libc_tztab.depot
nisha
tztab_test.c
.rnd
UNOF_tztab_1131_07_10.depot opt
usr
.sh_history
bin
prog.console
var
.ssh
dev
ram
view
.sw
dileep
sbin
PHCO_39927.depot
etc
scrap_disk_setup.ust_m
aya
PHCO_40846.depot
home
stand
# chmod +x prog.console
# ./prog.console
Tests in console Terminal
------------------------------------

/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)


Starting subsystems for run-level 3
___________________________________
Start NFS server subsystem ................................
Start X print server(s) ...................................
Start Highly Available cluster ............................
Starting HP-UX Apache-based Web Server ....................
Starting HP-UX Tomcat-based Servlet Engine ................
Starting HP-UX Webmin-based Admin .........................
Starting the HPUX Webproxy subsystem ......................
Starting HP-UX XML Web Server Tools .......................
Start kwdbd ...............................................
Start NDDB Comm Server ....................................
Start LVM daemon ..........................................
Start CDE login server ....................................
Testing Custom script Starting the customer script ........
Start dummy script 0 ......................................
Start dummy script 1 ......................................
Start dummy script 2 ......................................
Start dummy script 4 ......................................
Starting the amgrd subsystem ..............................
Start dummy script 5 ......................................
Start dummy script 127 ....................................
Starting PRNGD (Pseudo Random Number Generator Daemon) ....
Starting Control Daemon ...................................

OK
N/A
N/A
N/A
N/A
N/A
N/A
OK
N/A
N/A
OK
OK
OK
OK
FAIL *
N/A
BG
N/A
FAIL *
FAIL *
N/A
OK

* - An error has occurred !


* - Refer to the file /etc/rc.log for more information.

Transition to run-level 3 is complete.


start script with exit status 1 : Pass
start script with exit status 2 : Pass
start script with exit status 4 : Pass
start script with exit status 5 : Pass
start script with exit status 127 : Pass
INIT: New run level: 2
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
Transition to run-level 2 in progress
_____________________________________
Stop dummy script 127 ..........................
Stop dummy script 5 ............................
Stop Highly Available cluster ..................
Stop dummy script 4 ............................
Stop dummy script 2 ............................
Stop dummy script 1 ............................
Stop dummy script 0 ............................
Stopping Control Daemon ........................
us 1 : Pass
stop script with exit status 2 : Pass
stop script with exit status 4 : Pass

FAIL
FAIL
N/A
BG
N/A
FAIL
OK
stop

*
*

*
script with exit stat

stop script with exit status 5 : Pass


stop script with exit status 127 : Pass
------------------------------------------------------------# OK
Stop CDE login server .......................... OK
Stop LVM daemon ................................ OK
Stop NDDB Comm Server .......................... N/A
Stop kwdbd ..................................... N/A
Stopping HP-UX Apache-based Web Server ......... OK
Stopping HP-UX Tomcat-based Servlet Engine. .... N/A
Stopping HP-UX Webmin-based Admin .............. OK
Stopping the HPUX Webproxy subsystem ........... OK
Stopping HP-UX XML Web Server Tools ............ OK
Stop X print server(s) ......................... N/A
Stop NFS server subsystem ...................... OK
* - An error has occurred !
* - Refer to the file /etc/rc.log for more information.

Transition to run-level 2 is complete.


INIT: New run level: 3
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
Transition to run-level 3 in progress
_____________________________________
Start NFS server subsystem ................................
Start X print server(s) ...................................
Start Highly Available cluster ............................
Starting HP-UX Apache-based Web Server ....................
Starting HP-UX Tomcat-based Servlet Engine ................
Starting HP-UX Webmin-based Admin .........................
Starting the HPUX Webproxy subsystem ......................
Starting HP-UX XML Web Server Tools .......................
Start kwdbd ...............................................
Start NDDB Comm Server ....................................
Start LVM daemon ..........................................
Start CDE login server ....................................
Testing Custom script Starting the customer script ........
Start dummy script 0 ......................................
Start dummy script 1 ......................................
Start dummy script 2 ......................................
Start dummy script 4 ......................................
Starting the amgrd subsystem ..............................
Start dummy script 5 ......................................
Start dummy script 127 ....................................
Starting PRNGD (Pseudo Random Number Generator Daemon) ....
Starting Control Daemon ...................................
* - An error has occurred !
* - Refer to the file /etc/rc.log for more information.

Transition to run-level 3 is complete.

OK
N/A
N/A
N/A
N/A
N/A
N/A
OK
N/A
N/A
OK
OK
OK
OK
FAIL *
N/A
BG
N/A
FAIL *
FAIL *
N/A
OK

================================================================================
==================================================================
# Test case Number: 9
# Head line
: To check /sbin/rc declares service as FAILED, SKIPPED and
#
BACKGROUND as per exit values
#
1, > 4 FAILED 2 SKIPPED 4 - BACKGROUND
# Os Release
: 11.11 and above.
# Defect Number : JAGae87651
# Description
: /sbin/rc should report that service is running
#
: in respective mode as per exit value and should log message
#
: /in etc/rc.log.
=================================================================
# Run the below test on LINE MODE TERMINAL(Terminal)
Step 1: export DISPLAY variable
For eg export DISPLAY=nt21656:0.0
Step 2: Connect to remote console(Console)
Step 3: Assign LIST_MODE=1 in /etc/rc.config.d/list_mode file
Step 4: Login as root in another terminal and run the script prog
chmod +x prog
./prog
Expected Result : The script should have all PASS statements
In console no other unwanted mesg should be seen
// Machine needs following two binaries which are not present on the machine
/usr/dt/bin/hpterm
/usr/dt/bin/dtterm
==================================================================
==================================================================
# Test case Number: 10
# Head line
: To check /sbin/rc declares service as FAILED, SKIPPED and
#
BACKGROUND as per exit values
#
1, > 4 FAILED 2 SKIPPED 4 - BACKGROUND
# Os Release
: 11.11 and above.
# Defect Number : JAGae87651
# Description
: /sbin/rc should report that service is running
#
: in respective mode as per exit value and should log message
#
: /in etc/rc.log.
=================================================================
# Run the below test on LINE MODE TERMINAL(Terminal)
Step 1: export DISPLAY variable
For eg export DISPLAY=nt21656:0.0
Step 2: Connect to remote console(Console)
Step 3: Assign LIST_MODE=2 in /etc/rc.config.d/list_mode file
Step 4: Login as root in another terminal and run the script prog
chmod +x prog
./prog

Expected Result : The script should have all PASS statements


In console no other unwanted mesg should be seen

// Machine needs following two binaries which are not present on the machine.
/usr/dt/bin/hpterm
/usr/dt/bin/dtterm
==================================================================
==================================================================
# Test case Number: 11
# Head line
: To check /sbin/rc script executes successfully when
#
/sbin/rc.utils is not present
#
# Os Release
: 11.11 and above.
# Defect Number : JAGae87651
# Description
: /sbin/rc should run and exit successfully
=================================================================
# Run the below test on LINE MODE TERMINAL(Terminal)
Step 1: export DISPLAY variable
For eg export DISPLAY=nt21656:0.0
Step 2: Connect to remote console(Console)
Step 3: mv /sbin/rc.utils /sbin/rc.utils.org
Step 4: Execute /sbin/rc
Expected Result : The script should exit with exit status 0
Config script mesg should appear in the terminal
Cleanup
mv /etc/sbin/rc.itils.org /sbin/rc.utils

================================================================================
============
# export DISPLAY=nt21656:0.0
# mv /sbin/rc.utils /sbin/rc.utils.org
# /sbin/rc
/sbin/auto_parms: DHCP access is disabled (see /etc/auto_parms.log)
Starting subsystems for run-level 3
Starting NFS SERVER subsystem
Reading in /etc/dfs/dfstab
Starting up the mount daemon
rpc.mountd already started, using pid: 1960
Starting up the NFS server daemon
nfsd already started, using pid: 1966
Starting up nfsmapid daemon
AUTOSTART_CMCLD not set to 1 in /etc/rc.config.d/cmcluster, exiting
Starting up the lvmpud daemon
lvmpud already started, using pid: 2002

Transition to run-level 3 is complete.


================================================================================
============
==================================================================
# Test case Number: 12
# Head line
: To check /sbin/rc executes and exits successully when
/etc/rc.config file is not present
# Os Release
: 11.11 and above.
# Defect Number : JAGae87651
# Description
: /sbin/rc should report that service is running
#
: in respective mode as per exit value and should log message
#
: /in etc/rc.log.
=================================================================
# Run the below test on LINE MODE TERMINAL
Step 1: export DISPLAY variable
For eg export DISPLAY=nt21656:0.0
Step 2: Connect to remote console
Step 3: mv /etc/rc.config /etc/rc.config.org
Step 4: Execute /sbin/rc
Expected Result : The script should exit successfully with a warning mesg
WARNING: /etc/rc.config does not exist
System name not set, default EST5EDT assumed.
Other check scripts mesg (mesg from /sbin/rc.utils) should
appear
#
================================================================================
=============
indica# export DISPLAY=nt21656:0.0
indica# mv /etc/rc.config /etc/rc.config.org

indica# /sbin/rc
WARNING: /etc/rc.config does not exist
System name not set, default EST5EDT assumed.
/usr/lib/dld.sl: Bad magic number for shared library: /abhi/libc.2
/usr/lib/dld.sl: Exec format error
Starting subsystems for run-level 3
___________________________________
Start NFS server subsystem ................................................
................ OK
Start Highly Available cluster ............................................
................ N/A
ERROR: /etc/rc.config defaults file MISSING Starting HP-UX Apache-based Web
Server ........ N/A
ERROR: /etc/rc.config defaults file MISSING Starting HP-UX Tomcat-based Ser
vlet Engine .... N/A

ERROR: /etc/rc.config defaults file MISSING Starting HP-UX Webmin-based Adm


in ............. N/A
ERROR: /etc/rc.config defaults file MISSING Starting the HPUX Webproxy subs
ystem .......... N/A
ERROR: /etc/rc.config defaults file MISSING Starting HP-UX XML Web Server T
ools ........... OK
Start kwdbd ...............................................................
................ N/A
Start NDDB Comm Server ....................................................
................ N/A
Start LVM daemon ..........................................................
................ OK
Starting the amgrd subsystem ..............................................
................ N/A
..........................................................................
................ OK
Starting PRNGD (Pseudo Random Number Generator Daemon) ....................
................ N/A
Starting Control Daemon ...................................................
................ N/A
Transition to run-level 3 is complete.
indica#
================================================================================
=======================
--->

Potrebbero piacerti anche