Operating System - HP-UX
1833789 Members
2547 Online
110063 Solutions
New Discussion

Re: fsadm: You don't have a license to run this program

 
Nikee Reddy
Regular Advisor

fsadm: You don't have a license to run this program

Hello,

When I tried to extend the existing file system, the system is responding with the following error message:

root@pluto:/root# fsadm -F vxfs -b 9208M /oracle/DV2/saparch
fsadm: You don't have a license to run this program

root@pluto:/root# fstyp -v /dev/vgdv2/arch
vxfs
version: 3
f_bsize: 8192
f_frsize: 8192
f_blocks: 1103872
f_bfree: 971527
f_bavail: 963939
f_files: 244640
f_ffree: 242864
f_favail: 242864
f_fsid: 1073872907
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 6
f_size: 1103872

How can I fix this error?

Thanks & regards,
Nikee
18 REPLIES 18
Todd McDaniel_1
Honored Contributor

Re: fsadm: You don't have a license to run this program

I think you need to look at man vxlicense...
Unix, the other white meat.
Sridhar Bhaskarla
Honored Contributor

Re: fsadm: You don't have a license to run this program

Hi Nikee,

You are trying to extend the filesystem using OnlineJFS options. Looks like you have it installed but you don't have license.

Without OnlineJFS, you will need to unmount the filesystem and then use extend fs on the device file.

umount /oracle/DV2/saparch
extendfs /dev/vgxx/lvolx

(you can add -F vxfs with extendfs but that doesn't really make any difference on the existing filesystems)

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Todd McDaniel_1
Honored Contributor

Re: fsadm: You don't have a license to run this program

Also, I think you may need to run

vxenablef -a


I think that controls the advance functions of your JFS.
Unix, the other white meat.
Nikee Reddy
Regular Advisor

Re: fsadm: You don't have a license to run this program

Hello Todd,

Here is the output related to vxlicense:

root@pluto:/root# vxlicense -p

vrts:vxlicense: INFO: Feature name: HP_OnlineJFS [50]
vrts:vxlicense: INFO: Number of licenses: 1 (non-floating)
vrts:vxlicense: INFO: Expiration date: No expiration date
vrts:vxlicense: INFO: Release Level: 33
vrts:vxlicense: INFO: Machine Class: 263698561

Looks like we do have license to run this program.

Thanks,
Nikee
RAC_1
Honored Contributor

Re: fsadm: You don't have a license to run this program

Is vxadv driver in kernel??
kmsysadm|grep vxadv

What does vxlicense -p says??

Try /sbin/fs/vx/vxenablef -a

Anil
There is no substitute to HARDWORK
Sridhar Bhaskarla
Honored Contributor

Re: fsadm: You don't have a license to run this program

Hi (Again),

Use 'rlvolx' instead of 'lvolx'. That was a fat finger.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Nikee Reddy
Regular Advisor

Re: fsadm: You don't have a license to run this program

Hello All,

I could able to run only the vxlicense -p command. All other commands are not working.

Thanks,
Nikee
RAC_1
Honored Contributor

Re: fsadm: You don't have a license to run this program

Did you run
/sbin/fs/vxfs/vxenablef -a

Anil
There is no substitute to HARDWORK
Nikee Reddy
Regular Advisor

Re: fsadm: You don't have a license to run this program

Hello,

I have only the following files under /sbin/fs/vxfs:

root@pluto:/sbin/fs/vxfs# ll
total 3720
-r-xr--r-- 1 bin bin 4020 Nov 6 1997 bcheckrc
-r-xr-xr-x 1 bin bin 204800 Nov 6 1997 extendfs
-r-xr-xr-x 1 bin bin 491520 Mar 21 2001 fsck
-r-xr-xr-x 1 bin bin 290816 Nov 6 1997 fsdb
-r-xr-xr-x 1 bin bin 282624 Feb 18 1999 mkfs
-r-xr-xr-x 1 bin bin 212992 Nov 6 1997 mount
-r-xr-xr-x 1 bin bin 208896 Nov 6 1997 newfs
-r-xr-xr-x 1 bin bin 208896 Oct 4 1999 subtype
lrwxr-xr-x 1 root sys 19 May 19 2001 umount -> /sbin/fs/hfs/umount

Thanks,
Nikee
RAC_1
Honored Contributor

Re: fsadm: You don't have a license to run this program

swverify -v "online_jfs_product"

Anil
There is no substitute to HARDWORK
Nikee Reddy
Regular Advisor

Re: fsadm: You don't have a license to run this program

Hello,

In the /stand/system file, I see the following entries related to this problem:

vxfs
vxfs33_q4_syms
vxportal33


I do not see any vxadv files.

Thanks,
Nikee
RAC_1
Honored Contributor

Re: fsadm: You don't have a license to run this program

Compile the kernel to include the vxadv driver. And check.

Anil
There is no substitute to HARDWORK
Nikee Reddy
Regular Advisor

Re: fsadm: You don't have a license to run this program

Hello Anil,

How to complile the kernel and How can I include the vxadv object?

Thanks,
Nikee
RAC_1
Honored Contributor

Re: fsadm: You don't have a license to run this program

# cd /stand/build

# /usr/lbin/sysadm/system_prep -v -s system

# /usr/sbin/kmsystem -S /stand/build/system -c Y vxadv

==> adding vxadv driver to kernel

# /usr/sbin/mk_kernel -s ./system

# mv /stand/system /stand/system.prev

# mv /stand/vmunix /stand/vmunix.prev

# mv ./system ../.

# /usr/sbin/kmupdate ./vmunix_test

# shutdown -ry 0
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: fsadm: You don't have a license to run this program

I have run into some problems on one LICENSED OnlineJFS server where it gives false bad license messages until the /var/adm/wtmp and /var/adm/btmp logs are empty.

I have not fully corrected this problem but the workaround was to clear those to files prior to using the defragment functionality of OnlineJFS.

That works half the time,which is of course better than none of the time.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Nikee Reddy
Regular Advisor

Re: fsadm: You don't have a license to run this program

Hello Anil,

Is there no need for me to add the vxadm in the /stand/system file?

Thanks,
Nikee
RAC_1
Honored Contributor

Re: fsadm: You don't have a license to run this program

No need to do that.
kmsystem command will take care of that.

Alternatively you can vi system file put vxadv there.

Anil
There is no substitute to HARDWORK
Jdamian
Respected Contributor

Re: fsadm: You don't have a license to run this program

Hi

I have the same problem too.

I have a OnlineJFS license since long ago but now it doesn't run.

I contacted my HP support center to open a case and to request a temporary license. But they didn't explain what hapenned. They suggested me to contact my HP salesman to request a new license key or to re-enter the old one. But I don't have the Entintlement form.

I aimed my HP account engineer to solve this problem.

In my case JFS 3.3 was installed some months ago (OnlineJFS license key was entered long time ago -- near 4 years). Patches also were installed lately, so I'm not sure whether JFS 3.3 is the guilty or it's a defect patch.

Sorry

P.D: Before re-enter a new license key be make a copy of 50.lic file (I cannot remember where it is located).