Fehlermeldung nach Debian 10 Upgrade

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Fehlermeldung nach Debian 10 Upgrade

      Hallo,

      nach dem Upgrade auf Debian 10 finde ich im Sekundentakt folgende Meldung in bloonix-server.log:

      Source Code

      1. [Jul 26 2019 16:44:38] WARNING 16504 3.418325 x.x.x.x Use of uninitialized value in subroutine entry at /usr/share/perl5/IO/Socket/IP.pm line 807.
      2. (host id 14) (/usr/share/perl5/Bloonix/Server.pm, line 112)
      3. [Jul 26 2019 16:44:38] FATAL 16504 0.000191 x.x.x.x Bad arg length for Socket::sockaddr_family, length is 0, should be at least 2 at /usr/share/perl5/IO/Socket/IP.pm line 807.
      4. (host id 14) (/usr/share/perl5/Bloonix/Server.pm, line 110)
      5. CALL(9): package(main) filename(/usr/bin/bloonix-server) line(83) subroutine(Bloonix::Server::run) hasargs(1)
      6. CALL(8): package(Bloonix::Server) filename(/usr/share/perl5/Bloonix/Server.pm) line(52) subroutine((eval)) hasargs(0)
      7. CALL(7): package(Bloonix::Server) filename(/usr/share/perl5/Bloonix/Server.pm) line(55) subroutine(Bloonix::Server::process_tcp_request) hasargs(1)
      8. CALL(6): package(Bloonix::Server) filename(/usr/share/perl5/Bloonix/Server.pm) line(204) subroutine(IO::Socket::IP::peeraddr) hasargs(1) wantarray(1)
      9. CALL(5): package(IO::Socket::IP) filename(/usr/share/perl5/IO/Socket/IP.pm) line(926) subroutine(IO::Socket::IP::_unpack_sockaddr) hasargs(1) wantarray(1)
      10. CALL(4): package(IO::Socket::IP) filename(/usr/share/perl5/IO/Socket/IP.pm) line(807) subroutine(Bloonix::Server::__ANON__) hasargs(1) wantarray()
      11. CALL(3): package(Bloonix::Server) filename(/usr/share/perl5/Bloonix/Server.pm) line(110) subroutine(Log::Handler::Levels::trace) hasargs(1) wantarray()
      12. CALL(2): package(Log::Handler::Levels) filename(/usr/share/perl5/Log/Handler/Levels.pm) line(271) subroutine(Log::Handler::Levels::__ANON__) hasargs(1) wantarray()
      13. CALL(1): package(Log::Handler::Levels) filename(/usr/share/perl5/Log/Handler/Levels.pm) line(227) subroutine(Log::Handler::Output::log) hasargs(1) wantarray()
      14. CALL(0): package(Log::Handler::Output) filename(/usr/share/perl5/Log/Handler/Output.pm) line(87) subroutine(Log::Handler::Output::_add_trace) hasargs(1)
      Display All



      Es sieht aber sonst soweit aus, als ob alles normal läuft.
      Woran kann das liegen?


      Edit: Scheint doch nicht zu zuverlässig zu laufen, wie angenommen.
      Alle paar Minuten sind ein paar Server mit der Meldung "Next service check is overdue! Is the host or Bloonix agent dead?" nicht erreichbar,

      In den Logs vom Agent (auf dem Bloonix Server) steht dann:

      Source Code

      1. [Jul 26 2019 17:30:01] WARNING 1286 300.122114 Can't call method "host" on unblessed reference at /usr/share/perl5/Bloonix/Agent.pm line 532.
      2. (/usr/share/perl5/Bloonix/Agent.pm, line 103)
      3. [Jul 26 2019 17:30:01] ERROR 1286 0.000250 Can't call method "host" on unblessed reference at /usr/share/perl5/Bloonix/Agent.pm line 532.
      4. (/usr/share/perl5/Bloonix/Dispatcher.pm, line 229)
      5. CALL(6): package(main) filename(/usr/bin/bloonix-agent) line(64) subroutine(Bloonix::Agent::run) hasargs(1)
      6. CALL(5): package(Bloonix::Agent) filename(/usr/share/perl5/Bloonix/Agent.pm) line(52) subroutine(Bloonix::Dispatcher::run) hasargs(1)
      7. CALL(4): package(Bloonix::Dispatcher) filename(/usr/share/perl5/Bloonix/Dispatcher.pm) line(86) subroutine(Bloonix::Dispatcher::run_dispatcher) hasargs(1)
      8. CALL(3): package(Bloonix::Dispatcher) filename(/usr/share/perl5/Bloonix/Dispatcher.pm) line(229) subroutine(Log::Handler::Levels::trace) hasargs(1)
      9. CALL(2): package(Log::Handler::Levels) filename(/usr/share/perl5/Log/Handler/Levels.pm) line(271) subroutine(Log::Handler::Levels::__ANON__) hasargs(1)
      10. CALL(1): package(Log::Handler::Levels) filename(/usr/share/perl5/Log/Handler/Levels.pm) line(227) subroutine(Log::Handler::Output::log) hasargs(1) wantarray()
      11. CALL(0): package(Log::Handler::Output) filename(/usr/share/perl5/Log/Handler/Output.pm) line(87) subroutine(Log::Handler::Output::_add_trace) hasargs(1)
      Display All
      Viele Grüße
      Marvin

      The post was edited 1 time, last by NevaKee ().

    • Hallo Marvin,

      nach langem Debugging habe ich herausgefunden, dass dies ein Bug in IO::Socket::SSL ist.

      Einen Bug Report habe ich an die Maintainer gesendet.

      Reproduzierbar wie folgt:

      Perl Source Code

      1. #!/usr/bin/perl
      2. use strict;
      3. use warnings;
      4. use IO::Socket::SSL;
      5. my $sock = IO::Socket::SSL->new(
      6. Listen => 5,
      7. LocalAddr => "127.0.0.1",
      8. Proto => 'tcp',
      9. SSL_cert_file => 'server.cert',
      10. SSL_key_file => 'server.key',
      11. ) or die $!;
      12. my $port = $sock->sockport;
      13. my $pid = fork;
      14. if ($pid) {
      15. my $client = $sock->accept;
      16. sleep 1; # socket will be closed in this time
      17. print "peerhost = ", $client->peerhost, "\n";
      18. print "peeraddr = ", $client->peeraddr, "\n";
      19. } else {
      20. my $sock = IO::Socket::SSL->new(
      21. PeerAddr => "127.0.0.1",
      22. PeerPort => $port,
      23. Proto => 'tcp',
      24. SSL_verify_mode => SSL_VERIFY_NONE
      25. ) or die $!;
      26. $sock->close();
      27. }
      Display All

      VG
      Jonny