Unsolved
This post is more than 5 years old
9 Posts
0
994
January 12th, 2010 07:00
PowerPath does not load on RH 4.0 on boot
Recently upgraded a kernel on a box.
After reboot PowerPath does not start.
Re-installed PowerPath (as it was no longer in /etc/rc.sysinit)
Even added a sleep entry (20 secs) like I have on some other boxes, but still.. no luck.
# Remount the root filesystem read-write.
update_boot_stage RCmountfs
state=`awk '/ \/ / && ($3 !~ /rootfs/) { print $4 }' /proc/mounts`
[ "$state" != "rw" -a "$READONLY" != "yes" ] && \
action $"Remounting root filesystem in read-write mode: " mount -n -o remount,rw /
###BEGINPP
# Configure and initialize PowerPath.
if [ -f /etc/init.d/PowerPath ]; then
echo Sleeping for 20 seconds for PowerPath
sleep 20
/etc/init.d/PowerPath start
It's like it doesn't see root on starting it up:
From a screen shot (that line 1 is probably not one, also some file system details omitted)
Checking root filesystem [OK]
/dev/VolGroup00/RootVol00: clean [OK]
Remounting root filesystem in read-write mode [OK]
Sleeping for 20 seconds for PowerPath
Starting PowerPath: /etc/opt/emcpower/EMCpower.LINUX-5.1.2.00.00/enable: line 1: dirname: commnd not fount
/etc/opt/emc/power/EMCpower.LINUX-5.1.2.00.00/enable: line 335: expr: command not found
This
failed
After boot up PowerPath starts up fine.. Before I increase the sleep even further.. any suggestions?
Any suggestions?
Kernel: 2.6.9-89.0.18.ELsmp
rpm -qa|egrep -i 'emc|navi'
naviagentcli-6.26.5.0.95-1
EMCpower.LINUX-5.1.2.00.00-021
No Events found!


SKT136306
31 Posts
0
January 13th, 2010 05:00
Darkcow
2 Posts
0
January 13th, 2010 11:00
The reason why it is not finding the dirname and expr commands is because the path doesn't include them. I solved this problem by editing /etc/rc.d/rc.sysinit and putting the following lines after the line that says unamer=`uname -r` (should be about the third line down):
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
Afterwards PowerPath started again.