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 2E90D1393F1 for ; Wed, 16 Sep 2015 16:55:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 035DB21C00C; Wed, 16 Sep 2015 16:55:23 +0000 (UTC) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9EB6E0804 for ; Wed, 16 Sep 2015 16:55:21 +0000 (UTC) Received: by wiclk2 with SMTP id lk2so79826583wic.1 for ; Wed, 16 Sep 2015 09:55:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=PhwqDkLYGQdMsu7GHmaLz6py46Am7fDlOhf4dqFkGgA=; b=ITyoiqJIhU3qrAVzrKUaTwR5IYETsuvG1JFoRAkN7NZmJJQhkaUmRWCRekgl5rmyOx MBNga31Xo2QFsZNoskrUR8E/Z15pN14qRMG2oUylsAxkLm1uUAbTvS9cqVap6093eP8+ ktjyk4vOXpcfcbMjQLBuhSq6s1tgsHrwvj4557o0Hj2jhHfT4M7TgV0viVsvWzbioHtB YYolHoxRSvMRcrwlc2EmlPuOIpbnGsxp+9HxPg22t1XC1HuQThSf3CrXOesDnR2wHQfm //8I/ZHnTAB9OVYAmt2pX9PzWel1L+cufEBYpqXJOh8GFWoC3EPUvgJcJVr2UGuV5TSg I/ug== X-Received: by 10.194.234.71 with SMTP id uc7mr29992320wjc.105.1442422520550; Wed, 16 Sep 2015 09:55:20 -0700 (PDT) Received: from [172.20.0.41] ([105.210.58.210]) by smtp.googlemail.com with ESMTPSA id kb9sm27418207wjb.49.2015.09.16.09.55.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Sep 2015 09:55:19 -0700 (PDT) Subject: Re: [gentoo-user] Syslog-ng "Failed to seek to the Cursor" To: gentoo-user@lists.gentoo.org References: From: Alan McKinnon Message-ID: <55F99EE4.6000902@gmail.com> Date: Wed, 16 Sep 2015 18:55:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 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 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Archives-Salt: ce2ff0ba-ed00-4de4-8593-027695d7f465 X-Archives-Hash: b9876273efed2aa47474721bfd42488e 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='', error='Success (0)' > > Does anybody know what's happening? > > Many thanks for a hint, > Helmut > > It has something to do with systemd's log thingy. The error only appears in one place in the syslog-ng source, in modules/systemd-journal/journal-reader.c: static inline gboolean __seek_to_saved_state(JournalReader *self) { JournalReaderState *state = persist_state_map_entry(self->persist_state, self->persist_handle); gint rc = journald_seek_cursor(self->journal, state->cursor); persist_state_unmap_entry(self->persist_state, self->persist_handle); if (rc != 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; } First step would appear to be to check systemd's built-in log thingy -- Alan McKinnon alan.mckinnon@gmail.com