[syslog-ng] Missing Depends libjson-c4

Attila Szakacs (aszakacs) Attila.Szakacs at oneidentity.com
Wed Jul 6 08:54:52 UTC 2022


Hi Joseph,

Which APT repo are you using? Any chance, you can try out ours? https://github.com/syslog-ng/syslog-ng#debianubuntu
We test it every night and we see no problem with it right now. Also, I did a manual install with ubuntu:jammy docker and the above-mentioned repo, and it seemed to work.

I have seen these kinds of error messages, when I accidentally added the wrong APT repo, like ubuntu-focal instead of ubuntu-jammy, etc...
If you are already using our APT repo, can you give me the content of /etc/apt/sources.list.d/syslog-ng-ose.list?

Cheers,
Attila

________________________________
From: syslog-ng <syslog-ng-bounces at lists.balabit.hu> on behalf of Joe Craig <JCraig at appliedblockchaininc.com>
Sent: Tuesday, July 5, 2022 8:07 PM
To: syslog-ng at lists.balabit.hu <syslog-ng at lists.balabit.hu>
Subject: [syslog-ng] Missing Depends libjson-c4

CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.


The following packages have unmet dependencies:

syslog-ng-core : Depends: libjson-c4 (>= 0.13.1) but it is not installable

                  Depends: libssl1.1 (>= 1.1.1) but it is not installable



>From research it looks like libjson-c4 has been replaced in the Debian repositories by libjson-c5 is there a way to utilize the libjson-c5 version or how should I resolve this issue? FYI this was working on Ubuntu 22.04 Jammy up until the past week. I ran updates on the system to resolve another issue and after that I’m getting an error starting the daemon



× syslog-ng.service - System Logger Daemon

     Loaded: loaded (/lib/systemd/system/syslog-ng.service; enabled; vendor preset: enabled)

     Active: failed (Result: exit-code) since Tue 2022-07-05 15:39:48 UTC; 4s ago

       Docs: man:syslog-ng(8)

    Process: 1342 ExecStart=/usr/sbin/syslog-ng -F $SYSLOGNG_OPTS (code=exited, status=2)

   Main PID: 1342 (code=exited, status=2)

     Status: "Starting up... (Tue Jul  5 15:39:48 2022"

        CPU: 29ms



Jul 05 15:39:48 <hostname> systemd[1]: syslog-ng.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

Jul 05 15:39:48 <hostname> systemd[1]: syslog-ng.service: Failed with result 'exit-code'.

Jul 05 15:39:48 <hostname> systemd[1]: Failed to start System Logger Daemon.

Jul 05 15:39:48 <hostname> systemd[1]: syslog-ng.service: Scheduled restart job, restart counter is at 5.

Jul 05 15:39:48 <hostname> systemd[1]: Stopped System Logger Daemon.

Jul 05 15:39:48 <hostname> systemd[1]: syslog-ng.service: Start request repeated too quickly.

Jul 05 15:39:48 <hostname> systemd[1]: syslog-ng.service: Failed with result 'exit-code'.

Jul 05 15:39:48 <hostname> systemd[1]: Failed to start System Logger Daemon.



The rabbit hole lead me to this current state. Any assistance would be appreciated.



Joseph Craig



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20220706/238dc062/attachment-0001.htm>


More information about the syslog-ng mailing list