Package: smokeping
Version: 2.0.9-1
Severity: wishlist

After an upgrade from sarge I noted smokeping was not running, even
after manual restart. Further investigation revealed that the problem is
actually a problem with a dying syslog-ng (#384021). However, smokeping
dies if it cannot write to /dev/log which happens if there's no syslog
daemon running.

| 1550  connect(4, {sa_family=AF_FILE, path="/dev/log"}, 110) = -1 ECONNREFUSED 
(Connection refused)
| 1550  write(2, "no connection to syslog available\n\t- unix dgram connect: 
Connection refused at /usr/share/perl5/smokeping/Smokeping.pm line 2583\n", 
129) = 129
| 1550  close(4)                          = 0
| 1550  exit_group(111)                   = ?

And: This message is not visible.

Looking into the sources I find this problem is not specific for
smokeping, it's perl's syslog call. Hence just a wish: Please place a
warning in the manual page or the default config file that smokeping
requires a running syslog daemon for operation.

Alternatively, catching that error and continue operation was a nice
thing to have.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.1
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages smokeping depends on:
ii  adduser                 3.97             Add and remove users and groups
ii  debianutils             2.17             Miscellaneous utilities specific t
ii  fping                   2.4b2-to-ipv6-14 sends ICMP ECHO_REQUEST packets to
ii  libnet-perl             1:1.19-3         Implementation of Internet protoco
ii  librrds-perl            1.2.11-0.6       Time-series data storage and displ
ii  libsnmp-session-perl    1.08-1           Perl support for accessing SNMP-aw
ii  perl                    5.8.8-6.1        Larry Wall's Practical Extraction 
ii  perl-modules [libnet-pe 5.8.8-6.1        Core Perl modules
ii  postfix [mail-transport 2.3.3-1          A high-performance mail transport 
ii  speedy-cgi-perl         2.22-3           speed up perl scripts by making th

Versions of packages smokeping recommends:
ii  apache2-mpm-prefork [httpd] 2.0.55-4.1   traditional model for Apache2
ii  dnsutils                    1:9.3.2-P1-2 Clients provided with BIND
pn  libsocket6-perl             <none>       (no description available)

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to