- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pkg cannot be halted.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2008 07:57 AM
10-18-2008 07:57 AM
pkg cannot be halted.
2. cannot be halted cause the /zw is busy.below is infomatin;
3. i set the umountcount to 2,see below:
# FILESYSTEM UNMOUNT COUNT
# Specify the number of unmount attempts for each filesystem during package
# shutdown. The default is set to 1.
FS_UMOUNT_COUNT=2
WARNING: Running fuser to remove anyone using the file system directly.
/dev/vgxkfs1/lv_vgxkfs1: 26781co(weblogic) 9667mct(plat) 17048co(plat) 6011co(plat) 26616co(plat) 17047co(plat
) 9461co(weblogic) 11571co(weblogic) 26893c(root) 26768co(plat) 5944co(weblogic) 11585mco(weblogic) 9670mcto
(plat) 25902c(webapp) 1188co(weblogic) 5436co(weblogic)
umount: cannot unmount /dev/vgxkfs1/lv_vgxkfs1 : Device busy
umount: return error 1.
ERROR: Function umount_fs
ERROR: Failed to unmount /dev/vgxkfs1/lv_vgxkfs1
3. i set the umountcount to 2,see below:
# FILESYSTEM UNMOUNT COUNT
# Specify the number of unmount attempts for each filesystem during package
# shutdown. The default is set to 1.
FS_UMOUNT_COUNT=2
4. still cannot umount the filesystem,;
5. any good idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2008 08:13 AM
10-18-2008 08:13 AM
Re: pkg cannot be halted.
it seems that some parent process starts weblogic after killing child process. it may be useful to stop application first . I think it is started from root volume.
Hasan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2008 08:17 AM
10-18-2008 08:17 AM
Re: pkg cannot be halted.
fuser -c /zw
cmhaltpkg -n node1 -v package1,
also please help to post /etc/cmcluster/pkg_name/pkg.log
Rgds,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2008 07:07 PM
10-19-2008 07:07 PM
Re: pkg cannot be halted.
first you can check & kill which user using that filesystem,
#fuser -u /dev/vgxkfs1/lv_vgxkfs1
#fuser -k /dev/vgxkfs1/lv_vgxkfs1
then you can try
#cmhaltpkg
if its not stopping the package.
Activate the VG in exclusive mode
# vgchange â a e /dev/vgxkfs1
# cmhaltcl
# cmruncl
it will start the package and cluster.
enable the autorun
#cmmodpkg -e
Cheers!!!
-VRS-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2008 07:13 PM
10-19-2008 07:13 PM
Re: pkg cannot be halted.
If stopped the package
#cmrunpkg -n
#cmmodpkg -e
Cheers!!!
-VRS-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2008 07:20 PM
10-19-2008 07:20 PM
Re: pkg cannot be halted.
in order to make MC auto halt, I set "FS_UMOUNT_COUNT=2", see below.
is it a correct way to solve this problem?
***********************************************
# FILESYSTEM UNMOUNT COUNT
# Specify the number of unmount attempts for each filesystem during package
# shutdown. The default is set to 1.
FS_UMOUNT_COUNT=2 //*default is 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 01:47 AM
10-20-2008 01:47 AM
Re: pkg cannot be halted.
FS_UMOUNT_COUNT=1 --> default should ok,
how does your pkg.cntl file looks "do you have the below enhancement for you umount the file system ..?
please check this_out
Example :-
============
# Unmount each logical volume.
function umount_fs
{
integer UM_CNT=${LV_UMOUNT_COUNT:-1}
if [[ $UM_CNT < 1 ]]
then
UM_CNT=1
fi
for I in $(print ${LV[@]} | awk '{ for(i=NF; i>0; i--) print $i }')
do
mount | grep -e $I" " > /dev/null 2>&1
if (( $? == 0 ))
then
print "$(date '+%b %e %X') - Node \"$(hostname)\": Unmounting filesystem on $I"
print "\tWARNING: Running fuser to remove anyone using the file system directly."
UM_COUNT=$UM_CNT
while (( $UM_COUNT > 0 ))
do
fuser -ku $I
umount $I
if (( $? == 0 ))
then
(( UM_COUNT = 0 ))
else
if (( $UM_COUNT == 1 ))
then
let 0
test_return 13
fi
(( UM_COUNT = $UM_COUNT - 1 ))
sleep 1
if (( $UM_COUNT > 0 ))
then
print "\t$(date '+%b %e %X') - Unmount failed, trying again."
fi
fi
done
fi
done
}
function deactivate_volume_group
{
for I in ${VG[@]}
do
print "$(date '+%b %e %X') - Node \"$(hostname)\": Deactivating volume group $I"
vgchange -a n $I
test_return 14
done
}
Thanks,
Best Regards,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 05:25 AM
10-20-2008 05:25 AM
Re: pkg cannot be halted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 05:28 AM
10-20-2008 05:28 AM
Re: pkg cannot be halted.
FILESYSTEM UNMOUNT COUNT Option specifies, How many time the system could try to unmount the file system if its not getting unmount in the first attempt. So system will exicute the same command ( umount /dev/
There is one more option available, ie; to run "fuser", in case of any error occured in unmounting the filesystem. you have to enable that. Please have a look into your controll script. I don't know where it is located. :(
Rgds
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 06:01 AM
10-20-2008 06:01 AM
Re: pkg cannot be halted.
are there some other filesystems mounted underneath /zw ?
Such as: /zw/
Then you have to unmount these before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2008 07:19 AM
10-20-2008 07:19 AM
Re: pkg cannot be halted.
Can please replace your "fuser -ku" to "fuser -km" =====> pkg.cntl.file
/var/adm/syslog/syslog.log --> file
/etc/cmcluster/pkg.log --> file
if still some -one holding the mount -point
Application "could be that place we need look closely"