Tuesday, July 15, 2008

Webminstats error: disk.pl 140 : bad output for blocs : procbususb

Error

From: root@javatux.tup.local. (Cron Daemon)
To: root@javatux.tup.local.
Subject: Cron <root@javatux> /etc/webmin/sysstats/sysstats.pl
Content-Type: text/plain; charset=UTF-8
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
Date: Tue, 15 Jul 2008 15:07:02 +0200
Message-Id: <1216127222.585803.27235.nullmailer@javatux.tup.local.>

WARNING (eval)(disk.pl 140) : bad output for blocs : procbususb 0 0 0 - /proc/bus/usb
WARNING (eval)(disk.pl 195) : bad output for inodes : procbususb 0 0 0 - /proc/bus/usb

Solution

Open webmin, goto webminstats and open the module “Disk”. Then click on the link “configure module”. Scroll down until you see the list with all watched filesystems. Deactivate the list-entry “/proc/bus/usb” or simply delete it.

Posted by schmidi2 at 14:13:59 | Permalink | No Comments »

Thursday, July 10, 2008

Webminstats error: sh: -S: invalid option in /etc/webmin/sysstats/sysstats.pl

After upgrading the webmin module “Webminstats” the cron-job started to send every three minutes an eMail like this one:

From: root@ (Cron Daemon)
To: root@
Subject: Cron /etc/webmin/sysstats/sysstats.pl
Content-Type: text/plain; charset=ANSI_X3.4-1968
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
X-Cron-Env:
Date: Thu, 10 Jul 2008 13:24:02 +0200
Message-Id: <1215689042.170398.14108.nullmailer@>
X-MailCleaner-Information: Please contact server@t-p.com for more information
X-MailCleaner: Found to be clean
X-MailCleaner-SpamCheck: not spam, SpamAssassin (cached, score=-4.399,
required 5, ALL_TRUSTED -1.80, BAYES_00 -2.60)
X-CTCH-RefID: str=0001.0A0B0201.4875F164.0098,ss=1,fgs=0
X-cff-SpamScore: 0(/)
X-cff-SpamReport: —– —– Message is unknown to the spam scanner.
X-cff-LastScanner: av

sh: -S: invalid option
Usage: sh [GNU long option] [option] …
sh [GNU long option] [option] script-file …
GNU long options:
–debug
–debugger
–dump-po-strings
–dump-strings
–help
–init-file
–login
–noediting
–noprofile
–norc
–posix
–protected
–rcfile
–restricted
–verbose
–version
–wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option

 

Solution

The problem was only solved after I disabled the cronjob, then deleted the module (first make backup of /etc/webmin/sysstats/modules/ !!). After I reinstalled the same version of Webminstats and copy back the backup, the error didn’t appear again (of corse you have to open the webminstats-page at least once for scanning an to reactivate the cronjob).

It seams that is problem started after I made an update of webmin and webminstats. But on other machines I did the same update without receiving errors.

 

Posted by schmidi2 at 12:42:39 | Permalink | No Comments »

Tuesday, October 9, 2007

missing library LWP : can not get sourceforge versions list

In a previous post (date 2007-10-06) I described how to install webminstats on your debian-system.

On most servers I always got following error message as a jabascript alert when loading the webminstats module-page (https://<servername>:10000/sysstats/):

missing library LWP : can not get sourceforge versions list

You can solve this problem in two ways:

  • Easy one: Deactivate the build-in update check of webminstats. Goto “Module Config” on the module-page and set “0″ to the textfield “check update” and save it.
  • OR: Download the missing library called “libwww-perl”. To do that, run “apt-get install libwww-perl” on the console.

 

Posted by schmidi2 at 17:28:22 | Permalink | No Comments »