On Fri, Jul 22, 2016 at 02:42:51PM +0200, Wolfgang Schweer wrote: > > This seems to indicate that the directory /var/lib/sitesummary/entries > > is still empty (no ether-* subdirs, no data to submit). > > > > IMO sitesummary-client didn't collect any information for some reason > > and the error message is sort of misleading. After another look I noticed that libcgi-pm-perl is missing. It used to be shipped w/ perl-modules - but isn't anymore. The empty subdir problem is a separate issue for recent kernel images. For old kernels (using ethX style network interfaces like debci seems to use) this patch seems to work: diff --git a/debian/control b/debian/control index 23975ef..4ab5a8e 100644 --- a/debian/control +++ b/debian/control @@ -17,7 +17,7 @@ Vcs-Browser: http://anonscm.debian.org/cgit/debian-edu/upstream/sitesummary.git Package: sitesummary Architecture: all Pre-Depends: ${misc:Pre-Depends} -Depends: ${misc:Depends}, ${perl:Depends}, gnupg, net-tools, perl-modules +Depends: ${misc:Depends}, ${perl:Depends}, gnupg, net-tools, perl-modules, libcgi-pm-perl Recommends: apache2 | httpd, sitesummary-client Suggests: munin, munin-node, nagios3, nagios-plugins-standard, ldap-utils, cups-client Description: Generate site summary of submitting hosts (server part) diff --git a/debian/tests/test-server-client b/debian/tests/test-server-client index 16f9fa7..59c3b9c 100644 --- a/debian/tests/test-server-client +++ b/debian/tests/test-server-client @@ -15,7 +15,13 @@ LC_ALL=C export LC_ALL # Installing the binaries should set up apache on localhost and the cgi script -# for the sitesummary collector. +# for the sitesummary collector - but does so only on second invocation; see: #760084 + +if [ -x /usr/sbin/a2enconf ] ; then + a2enconf sitesummary + a2enmod cgi + service apache2 restart +fi sitesummary-client Wolfgang
Attachment:
signature.asc
Description: Digital signature