Operating System - HP-UX
1838655 Members
3443 Online
110128 Solutions
New Discussion

Errors cmcheckconf : Nonexistent file: HDBXPR.

 
Network Servers
Advisor

Errors cmcheckconf : Nonexistent file: HDBXPR.

# cmcheckconf -p HDBXPR

Begin package verification...
"-p" option specified. Opening package reference file: HDBXPR.
cmcheckconf : Nonexistent file: HDBXPR.


The HDBXPR package exists. Also the HDXPR.conf file exists.

Can anyone tell me why I am getting this error.

Thanks!
Don't fly off the handle when you are full of baloney...
5 REPLIES 5
Denver Osborn
Honored Contributor

Re: Errors cmcheckconf : Nonexistent file: HDBXPR.

What do you get if you try this syntax...

cmcheckconf -v -P /etc/cmcluster/pkgdir/pkgname.config

-denver
Network Servers
Advisor

Re: Errors cmcheckconf : Nonexistent file: HDBXPR.

Ok that worked!!

Thanks.

Now I am getting errors trying to mount file systems in the package.

fsck: /etc/default/fs is used for determining the file system type
vxfs fsck: cannot stat /dev/vgHDB/rlvHDBoravl10
ERROR: Function check_and_mount
ERROR: Failed to fsck one of the logical volumes.
Don't fly off the handle when you are full of baloney...
Denver Osborn
Honored Contributor

Re: Errors cmcheckconf : Nonexistent file: HDBXPR.

With the package down, can you manually activate the VG and attempt to mount the filesystem? If mounting fails and complains that a full fsck needs to be run, then run the fsck against your filesystem to set it's state to clean... then deactivate the VG and try to run the pkg again.

# vgchange -a e /dev/vgname
# fsck -F vxfs -o full /dev/vgname/rlvol
# vgchange -a n /dev/vgname

man fsck_vxfs

hope this helps,
-denver
Denver Osborn
Honored Contributor

Re: Errors cmcheckconf : Nonexistent file: HDBXPR.

wait a sec, something else must be going on here... Was the VG or LVols changed or anything? Are there more details you could provide about what's really been going on w/ this node/cluster? It would really help us with troubleshooting to know how we got to this point.

-denver
Stephen Doud
Honored Contributor

Re: Errors cmcheckconf : Nonexistent file: HDBXPR.

"cannot stat" usually means the resource or file is not active or does not exist.
With the package down, attempt to activate the VG:

# vgchange -a e /dev/vgHDB

And then fsck the file system:
# fsck /dev/vgHDB/rlvHDBoravl10

Isolate the cause to the actual issue. Remember that the package control script only automates a series of HP-UX commands. In most cases, you can do all the steps manually to try to identify the source of the failure.
If all of the commands work manually, inspect the package control script to see if any of the lines that you added have syntax errors. For instance, if the package controls multiple volume groups, or fsck's and mounts multiple file systems, insure that the array index number increments consecutively for each entry.
Example:

VG[0]="vg12"
VG[1]="vg13"
....
LV[0]="/dev/vg01/lvol1"; FS[0]="/PKG1.1"; FS_MOUNT_OPT[0]="-o rw"; FS_UMOUNT_OPT[0]=""; FS_FSCK_OPT[0]=""; FS_TYPE[0]=""
LV[1]="/dev/vg01/lvol2"; FS[1]="/PKG1.2"; FS_MOUNT_OPT[1]="-o rw"; FS_UMOUNT_OPT[1]=""; FS_FSCK_OPT[1]=""; FS_TYPE[1]=""