* Tony Ambrozie <[EMAIL PROTECTED]> [2008-06-16 00:45]:
> I am running OS 2008.05. I was looking for rcap* tools (rcapadm,
> rcapstat), could not find them in either /usr/bin or /usr/sbin (or
> anywhere else, for that matter). It turns out that SUNWrcapu is not
> installed. Any reason for this omission?
>
> I found the package SUNWrcap in the OS repo, I pkg install it manually,
> however now I am getting errors:
>
> [EMAIL PROTECTED]:~# rcapadm
> rcapadm: SMF initialization problem: entity not found
> rcapadm: Unexpected libscf error: entity not found.
> Segmentation Fault (core dumped)
> Any suggestions/ideas?
At present, image packaging doesn't automatically import the service
manifests within a package. So what's happening is rcapadm(1M) is
trying to look up properties on svc:/system/rcap, which it's not
finding. rcapadm isn't handling that failure with any grace.
If you import the rcap manifest, by invoking
$ pfexec svccfg import /var/svc/manifest/system/rcap.xml
then
$ rcapadm
state: disabled
memory cap enforcement threshold: 0%
process scan rate (sec): 15
reconfiguration rate (sec): 60
report rate (sec): 5
RSS sampling rate (sec): 5
will work. I filed
http://defect.opensolaris.org/bz/show_bug.cgi?id=2249
for the rcapadm bug.
- Stephen
--
[EMAIL PROTECTED] http://blogs.sun.com/sch/
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss