<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd-journal-remote: assertion failed"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83682">83682</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemd-journal-remote: assertion failed
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>philipptheklein@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>I am trying to grab journal logs from a remote host, but when I try to invoke
systemd-journal-remote like in the example in the man page it fails:
$ sudo /usr/lib/systemd/systemd-journal-remote --url <a href="http://10.0.0.10:19531">http://10.0.0.10:19531</a>
Received 0 descriptors
Spawning curl <a href="http://10.0.0.10:19531/entries">http://10.0.0.10:19531/entries</a>...
File /var/log/journal/remote/remote-presentr.at:19531.journal corrupted or
uncleanly shut down, renaming and replacing.
Opened output file /var/log/journal/remote/remote-presentr.at:19531.journal
Assertion 'h' failed at src/shared/hashmap.c:477, function hashmap_put().
Aborting.
I also tried the -o/--output option both with a directory and a file and it
also fails. (The man page is a bit unclear as it says for active sources the
-o/--output is required, but the example doesn't use it).
The assertion also fails (with the same message) when I use a passive source.
OS and program versions:
Arch Linux, kernel 3.16.1
systemd 216
Original bug report here: <a href="https://bugs.archlinux.org/task/41884">https://bugs.archlinux.org/task/41884</a>
PS: the host I tried to connect hast systemd-journal-gatewayd running and I can
access it via browser. libmicrohttpd is als installed.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>