From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 83E401393F1 for ; Wed, 16 Sep 2015 18:52:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFD3321C023; Wed, 16 Sep 2015 18:52:23 +0000 (UTC) Received: from mailrelay113.isp.belgacom.be (mailrelay113.isp.belgacom.be [195.238.20.140]) by pigeon.gentoo.org (Postfix) with ESMTP id 9B030E07FD for ; Wed, 16 Sep 2015 18:52:22 +0000 (UTC) X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=r3/LV5qEOeRNqOlObU3fPeZ+G8vFrxRTI9UozocECbw= c=1 sm=2 a=UKcTgZEu4GHW57aIf7cA:9 a=CjuIK1q_8ugA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2BPBgDXuflV/7tXsFtegyPEGYJWAoFGPRABAQEBAQEBgQqEJAEBBCcTHDMLGC4QKR6ISwG7dY1jLItwhFo6F4QVBYcwhniHNqgVOCuEAzyKXQEBAQ Received: from 187.87-176-91.adsl-dyn.isp.belgacom.be (HELO numa-be.localdomain) ([91.176.87.187]) by relay.skynet.be with ESMTP; 16 Sep 2015 20:52:21 +0200 Received: from numa-be (localhost [127.0.0.1]) by numa-be.localdomain (Postfix) with ESMTP id AC1459CCA41 for ; Wed, 16 Sep 2015 20:52:21 +0200 (CEST) Date: Wed, 16 Sep 2015 20:52:21 +0200 From: Helmut Jarausch Subject: Re: [gentoo-user] Syslog-ng "Failed to seek to the Cursor" To: gentoo-user@lists.gentoo.org References: <55F99EE4.6000902@gmail.com> In-Reply-To: <55F99EE4.6000902@gmail.com> (from alan.mckinnon@gmail.com on Wed Sep 16 18:55:00 2015) X-Mailer: Balsa 2.5.2-3-g00031a6 Message-Id: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 33116b49-997c-4508-b4c0-a4e8b8cc0a80 X-Archives-Hash: 59a6736fa3db7c57f84900bd55a56bd8 On 09/16/2015 06:55:00 PM, Alan McKinnon wrote: > On 16/09/2015 17:57, Helmut Jarausch wrote: > > I have syslog-ng-3.7.1 installed here. > > Syslog-ng fails to start with the message: > > Failed to seek to the Cursor cursor=3D'', error=3D'Success (0)' > > > > Does anybody know what's happening? > > > > Many thanks for a hint, > > Helmut > > > > >=20 >=20 > It has something to do with systemd's log thingy. >=20 > The error only appears in one place in the syslog-ng source, > in modules/systemd-journal/journal-reader.c: >=20 > static inline gboolean > __seek_to_saved_state(JournalReader *self) > { > JournalReaderState *state =3D > persist_state_map_entry(self->persist_state, self->persist_handle); > gint rc =3D journald_seek_cursor(self->journal, state->cursor); > persist_state_unmap_entry(self->persist_state, > self->persist_handle); > if (rc !=3D 0) > { > msg_warning("Failed to seek to the cursor", > evt_tag_str("cursor", state->cursor), > evt_tag_errno("error", errno), > NULL); > return __seek_to_head(self); > } > journald_next(self->journal); > return TRUE; > } >=20 >=20 > First step would appear to be to check systemd's built-in log thingy >=20 Thanks Alan, but how to do that. I have systemd installed here but I haven't ever used i= t since I'm using openrc. So, what can I do? Thanks, Helmut =