<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Am 03.05.2019 um 16:43 schrieb Martin Kletzander:<br>
    <blockquote type="cite" cite="mid:20190503144349.GB13475@wheatley">On
      Thu, May 02, 2019 at 02:25:28PM +0200, Martin Kletzander wrote: <br>
      <blockquote type="cite">On Thu, May 02, 2019 at 01:07:32PM +0200,
        Michal Privoznik wrote: <br>
        <blockquote type="cite">On 5/2/19 12:08 PM, Lothar Schilling
          wrote: <br>
          <br>
          <blockquote type="cite">I turned logging up to maximum. That's
            all I get: <br>
            <br>
            May  2 11:02:06 hl308-3 systemd: Starting Virtualization
            daemon... <br>
            May  2 11:02:06 hl308-3 libvirtd: 472: info : libvirt
            version: 4.5.0, package: 10.el7_6.7 (CentOS BuildSystem <a
              class="moz-txt-link-rfc2396E"
              href="http://bugs.centos.org"><http://bugs.centos.org></a>,
            2019-04-24-14:04:12, x86-01.bsys.centos.org) <br>
            May  2 11:02:06 hl308-3 libvirtd: 472: info : hostname:
            my.server.net <br>
            May  2 11:02:06 hl308-3 libvirtd: 472: info :
            virEventPollAddHandle:140 : EVENT_POLL_ADD_HANDLE: watch=1
            fd=6 events=1 cb=0x7eff3bbde300 opaque=(nil) ff=(nil) <br>
            May  2 11:02:06 hl308-3 libvirtd: 472: info :
            virEventPollAddHandle:140 : EVENT_POLL_ADD_HANDLE: watch=2
            fd=8 events=1 cb=0x7eff3bd06760 opaque=0x558f9db485a0
            ff=(nil) <br>
            May  2 11:02:06 hl308-3 systemd: Started Virtualization
            daemon. <br>
            May  2 11:02:06 hl308-3 libvirtd: 472: info :
            virEventPollAddHandle:140 : EVENT_POLL_ADD_HANDLE: watch=3
            fd=11 events=0 cb=0x7eff3bcfb420 opaque=0x558f9db69520
            ff=0x7eff3bcfb3d0 <br>
            May  2 11:02:06 hl308-3 libvirtd: 472: info :
            virEventPollAddHandle:140 : EVENT_POLL_ADD_HANDLE: watch=4
            fd=12 events=0 cb=0x7eff3bcfb420 opaque=0x558f9db69700
            ff=0x7eff3bcfb3d0 <br>
            May  2 11:02:06 hl308-3 libvirtd: process 472: arguments to
            dbus_message_iter_append_basic() were incorrect, assertion
            "_dbus_check_is_valid_utf8 (*string_p)" failed in file
            ../../dbus/dbus-message.c line 2754. <br>
            May  2 11:02:06 hl308-3 libvirtd: This is normally a bug in
            some application using the D-Bus library. <br>
            May  2 11:02:06 hl308-3 libvirtd: D-Bus not built with
            -rdynamic so unable to print a backtrace <br>
            May  2 11:02:06 hl308-3 systemd: libvirtd.service: main
            process exited, code=killed, status=6/ABRT <br>
          </blockquote>
          <br>
          This is not the maximum loggin. We'll need to see debug logs:
          <br>
          <br>
          <a class="moz-txt-link-freetext"
            href="https://wiki.libvirt.org/page/DebugLogs">https://wiki.libvirt.org/page/DebugLogs</a>
          <br>
          <br>
          and perhaps running libvirtd under gdb and getting a stack
          trace (with <br>
          all strings expanded) might help too. <br>
          <br>
        </blockquote>
        <br>
        Actually gdb might be the only help here.  The reason is that
        that dbus call <br>
        just reports the error and then calls abort(), so libvirtd will
        not even get an <br>
        error message (which would help us track down what might've been
        the case). <br>
        <br>
        If you can do something like: <br>
        <br>
      </blockquote>
      <br>
      Even better, there are some ways to get the core dump information
      which I <br>
      completely forgot about: <br>
      <br>
      - coredumpctl -- IIRC you are running CentOS 7, so this will not
      be available <br>
                       for you yet.  If it was, coredumpctl show just
      shows all we <br>
                       need (by default it picks the last core dump and
      stacktrace is <br>
                       part of the output). <br>
      <br>
      - abrt-cli -- Similar to the above, it should be available for
      you, but you <br>
                    need to have abrt installed and setup.  Which is not
      always the <br>
                    default.  If you do, or you set it up yourself,
      however, you <br>
                    should be able to get to the core dump as well, but
      it is not as <br>
                    easy as with coredumpctl (i.e. I did not get to it
      in first 10 <br>
                    seconds). <br>
      <br>
      - Setup your own -- either set the ulimit for the service and look
      for the file <br>
                          that gets created or set kernel.core_pattern
      using sysctl <br>
                          to a command that gets ran with each core dump
      (this one <br>
                          does not need any ulimit setting, but you need
      to know what <br>
                          to specify there. <br>
      <br>
      Please let us know if you got anywhere, I'd like to see what the
      issue is and <br>
      how we can fix it. <br>
      <br>
      <blockquote type="cite"> $ dnf --enablerepo='*debug*' install
        libvirt-debuginfo dbus-debuginfo <br>
        <br>
         $ cat >/var/lib/libvirt/gdbabortscript <<EOF <br>
         start <br>
         break abort <br>
         commands <br>
         t a a bt full <br>
         end <br>
         continue <br>
         EOF <br>
        <br>
         $ cat >/etc/systemd/system/libvirtd.service.d/override.conf
        <<EOF <br>
         [Service] <br>
         ExecStart= <br>
         ExecStart=gdb --batch -x /var/lib/libvirt/gdbabortscript
        /usr/sbin/libvirtd $LIBVIRTD_ARGS <br>
         EOF <br>
        <br>
         $ systemctl daemon-reload <br>
         $ restorecon -F /var/lib/libvirt/gdbabortscript
        /etc/systemd/system/libvirtd.service.d/override.conf <br>
         $ systemctl restart libvirtd.service <br>
        <br>
        You should get the full stacktrace of the issue in the output
        of: <br>
        <br>
         journalctl -u libvirtd.service <br>
        <br>
        and you can post it here so we can find out what's happening. <br>
        <br>
        HTH, <br>
        Martin <br>
      </blockquote>
      <br>
    </blockquote>
    Thank you, but I decided to reformat the machine and start from
    scratch.<br>
  </body>
</html>