On 04/26/10 14:29, James C. McPherson wrote:
On 27/04/10 07:26 AM, zhenghui xie wrote:
hi,
I installed opensolaris 134, then created a zone. kstat works fine in
the global zone, but it doesn't work in the local zone. The error is
below:
r...@zone1:~# kstat -m unix |more
Can't locate auto/I18N/Langinfo/autosplit.ix in @INC (@INC contains:
/usr/perl5/5.8.4/lib/i86pc-solaris-64int /usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/i86pc-solaris-64int
/usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl
/usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int
/usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at
/usr/perl5/5.8.4/lib/AutoLoader.pm line 160.
at /usr/perl5/5.8.4/lib/i86pc-solaris-64int/I18N/Langinfo.pm line 10
Can't locate loadable object for module I18N::Langinfo in @INC (@INC
contains: /usr/perl5/5.8.4/lib/i86pc-solaris-64int /usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/i86pc-solaris-64int
/usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl
/usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int
/usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at /usr/bin/kstat
line 34
Compilation failed in require at /usr/bin/kstat line 34.
BEGIN failed--compilation aborted at /usr/bin/kstat line 34.
This looks like "6937506 kstat lacks dependency on
runtime/perl-584/extra" So I tried to install SUNWperl584usr. But it
tells me "no updates necessary for this image". And kstat still doesn't
work inside my zone.
How do I make kstat work inside a zone? Thanks a lot for help.
Why do you expect a non-global zone, which has a very
limited view of a kernel, to be able to see kstats?
So does this imply that kstat doesn't suppose to work inside a zone at all?
What problem are you trying to solve?
I am working a project that will allow non-global zone admin to create
flows within a zone. I think it makes sense for the non global zone
admin to have visibility of the flows' kstat that he created.
thanks.
-Jan
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss