[systemd-devel] setting up journal-remote

Belisko Marek marek.belisko at gmail.com
Thu Feb 18 10:57:03 UTC 2021


Hi,

I'm trying to setup journal-remote between 2 hosts (Ubuntu 20.04
server and CentOS 8 client).
I've installed on both systemd systemd-journal-remote and on server I
enabled systemd-journal-remote.service and socket. I just did small
update in service file to use http instead of https:

ExecStart=/usr/lib/systemd/systemd-journal-remote --listen-http=-3
--output=/var/log/journal/remote/

on client side I added to /etc/systemd/journal-upload.conf:
[Upload]
URL=http://serverip:19532

When start systemd-journal-upload.service I'm getting:
Upload to http://serverip:19532/upload failed: Failed to connect to
<serverip> port 19532: No route to host

but I'm able to ping server from client side and also
netstat -tulpn shows:
tcp6       0      0 :::19532                :::*
LISTEN      1/systemd

but not on tcp only tcp6

Any ideas what should I check?

Thanks and regards,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com


More information about the systemd-devel mailing list