kstat problem on Solaris 8
list Torsten Richter
Hi, I just did a fresh installation of Hobbit 4.2.0 on a Solaris 8 server and stumbled upon the following error in hobbitclient.log: Can't locate Sun/Solaris/Utils.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.7/sun4-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at /usr/bin/kstat line 14. BEGIN failed--compilation aborted at /usr/bin/kstat line 14. Which perl package contains this Utils.pm? The only thing I found was an old ORCA installation on an other server. But if I use this the error only changes to: Can't locate loadable object for module Sun::Solaris::Utils in @INC (@INC contains: /usr/local/lib/perl5/5.8.7/sun4-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at /usr/bin/kstat line 14 Compilation failed in require at /usr/bin/kstat line 14. BEGIN failed--compilation aborted at /usr/bin/kstat line 14. 2nd question. Why does the entry ssh:s in bb-hosts give me a yellow alert with "Unexpected service response" but ssh (withoutt the :s) works. TIA Torsten
list Henrik Størner
▸
On Tue, Sep 12, 2006 at 10:22:17AM +0200, Torsten Richter wrote:
Hi, I just did a fresh installation of Hobbit 4.2.0 on a Solaris 8 server and stumbled upon the following error in hobbitclient.log: Can't locate Sun/Solaris/Utils.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.7/sun4-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at /usr/bin/kstat line 14.
The Hobbit client calls the Solaris utility "/usr/bin/kstat". Apparently this is a Perl program (didn't know that, actually). Maybe you installed a custom perl version on this system, which kstat picks up, but which doesn't have the Solaris specific modules?
▸
2nd question. Why does the entry ssh:s in bb-hosts give me a yellow alert with "Unexpected service response" but ssh (withoutt the :s) works.
Dont know, ssh:s works OK here. Regards, Henrik
list Johann Eggers
▸
-----Original Message----- From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Dienstag, 12. September 2006 12:32 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] kstat problem on Solaris 8 On Tue, Sep 12, 2006 at 10:22:17AM +0200, Torsten Richter wrote:
Hi, I just did a fresh installation of Hobbit 4.2.0 on a Solaris 8 server and stumbled upon the following error in hobbitclient.log: Can't locate Sun/Solaris/Utils.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.7/sun4-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at /usr/bin/kstat line 14. The Hobbit client calls the Solaris utility "/usr/bin/kstat". Apparently this is a Perl program (didn't know that, actually). Maybe you installed a custom perl version on this system, which kstat picks up, but which doesn't have the Solaris specific modules?
2nd question. Why does the entry ssh:s in bb-hosts give me a yellow alert with "Unexpected service response" but ssh (withoutt the :s) works.
Dont know, ssh:s works OK here. Regards, Henrik
Hi,
kstat is a perl script:
: file /usr/bin/kstat
: /usr/bin/kstat: executable /usr/perl5/bin/perl script
On a solaris 8 box it's "normaly" in this directory:
: find /usr -name "Utils.pm"
: /usr/perl5/5.00503/Sun/Solaris/Utils.pm
Johann
list Torsten Richter
Hi Henrik,
▸
On Tue, Sep 12, 2006 at 10:22:17AM +0200, Torsten Richter wrote:Hi, I just did a fresh installation of Hobbit 4.2.0 on a Solaris 8 server and stumbled upon the following error in hobbitclient.log: Can't locate Sun/Solaris/Utils.pm in @INC (@INC contains:/usr/local/lib/perl5/5.8.7/sun4-solaris /usr/local/lib/perl5/5.8.7 /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl .) at /usr/bin/kstat line 14. The Hobbit client calls the Solaris utility "/usr/bin/kstat". Apparently this is a Perl program (didn't know that, actually). Maybe you installed a custom perl version on this system, which kstat picks up, but which doesn't have the Solaris specific modules?
Yes it is a perl script. What is it good for respectively for what do you need it in Hobbit?
▸
2nd question. Why does the entry ssh:s in bb-hosts give me a yellow alert with "Unexpected service response" but ssh (withoutt the :s) works.Dont know, ssh:s works OK here.
Regards, Henrik
BTW I was just experimenting with group-except and group-only and wanted to know if it is possible to use wildcards for the services there e.g. if you have group-only test11|test21|test12|test22|another|next ..... can I use something like group-only test.*|another|next and for group-except also? Regards Torsten