March 7, 2009

Method nfs_validate on resource nfs-res: stat of program file failed.

Posted in Sun Cluster at 4:40 pm by alessiodini

I obtained this error when i try to register a new nfs resource.
The complete error is:

Method nfs_validate on resource nfs-res: stat of program file failed.
Validation of resource nfs-res in resource group nfs-rg on node rei failed.

On this cluster i have 2 nodes:
– asuka ( where i launched the command )
– rei

After this error i checked the messages on rei and i found:

Mar 7 17:01:58 rei Cluster.RGM.fed: [ID 451640 daemon.error] tag nfs-rg.nfs-res.2: stat of command file /opt/SUNWscnfs/bin/nfs_validate failed
Mar 7 17:01:58 rei Cluster.RGM.rgmd: [ID 996897 daemon.error] Method on resource : stat of program file failed.

“stat of program file failed???” mmm

I checked the /opt/SUNWscnfs/bin/nfs_validate file on the nodes

asuka>file /opt/SUNWscnfs/bin/nfs_validate
/opt/SUNWscnfs/bin/nfs_validate: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped

rei>file /opt/SUNWscnfs/bin/nfs_validate
/opt/SUNWscnfs/bin/nfs_validate: cannot open: No such file or directory

WHAT???

Then i checked the SUNWscnfs package

asuka>pkginfo SUNWscnfs
application SUNWscnfs Sun Cluster NFS Server Component

rei>pkginfo SUNWscnfs
ERROR: information for “SUNWscnfs” was not found

ahhh! This is the problem… on rei is missed Sun Cluster NFS agent package.

After installation the validate of the resource is completed without errors!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: