Re: Missing Depends libjson-c4

Joe Craig <[email protected]> Wed, 6 Jul 2022 20:01:45 +0000
Newsgroups gmane.comp.syslog-ng
Message-ID <CY4PR1001MB22963DD33A091A789A15619BA4809@CY4PR1001MB2296.namprd10.prod.outlook.com>
I worked with the issue board in GitHub to get resolution. The latest repo pull from last night resolved the issue. I'm good to go now. Now just struggling with the learning curve trying to get a cisco parser working for my switches.

Joseph Craig
Applied Blockchain Inc
Network Admin
[cid:[email protected]]
D: 218-457-2597
3811 Turtle Creek Blvd
Suite 2100
Dallas, TX 75219

From: syslog-ng <[email protected]> On Behalf Of Attila Szakacs (aszakacs)
Sent: Wednesday, July 6, 2022 3:55 AM
To: [email protected]
Subject: Re: [syslog-ng] Missing Depends libjson-c4

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 d
Caution: External ([email protected]<mailto:[email protected]>)
Spam Content   Details<https://protection.inkyphishfence.com/details?id=YXBwbGllZGJsb2NrY2hhaW5pbmMvamNyYWlnQGFwcGxpZWRibG9ja2NoYWluaW5jLmNvbS9lYjQ3OWEyN2I0NTkyNjFmNGU4NjE5NzM2MzY0MTMzOS8xNjU3MDk3NzA0Ljgx#key=a87f7207dff9d82269f4116b222bc698>
  Report This Email<https://protection.inkyphishfence.com/report?id=YXBwbGllZGJsb2NrY2hhaW5pbmMvamNyYWlnQGFwcGxpZWRibG9ja2NoYWluaW5jLmNvbS9lYjQ3OWEyN2I0NTkyNjFmNGU4NjE5NzM2MzY0MTMzOS8xNjU3MDk3NzA0Ljgx#key=a87f7207dff9d82269f4116b222bc698>  FAQ<https://getskout.com/emailprotectionfaq/>  Skout Email Protection<https://getskout.com/emailprotection/>

Hi Joseph,

Which APT repo are you using? Any chance, you can try out ours? https://github.com/syslog-ng/syslog-ng#debianubuntu<https://shared.outlook.inky.com/link?domain=github.com&t=h.eJxtj8ESgiAYhF_FoWuJBIJ06lUASf8kdOTnUE3vnnjp0m1n9tvd2TfJayCXioyIS7pQOgCO2dZuftD0TGEeTnH4qUPvLZiYbY6YybEiU8maZQngextmN7nRQITo6N2tBobrP29v91Yobc7KilafJbsJ30mmFZdcCsa5pky2qtFKNaLuWNny-xYiBFOnl5mMS9c5euh9RMBnaS1Yv2Exh7BJLNfY5wvws0ov.MEUCIQDgp8wTLudrF84ORC6_jM7mCBIwGVGmjMPBD0YH4m927AIgIS2XZOUhTICbg3KXQo_5dqi8SMY38Q-pSMtxhvBsfRI>
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 <[email protected]<mailto:[email protected]>> on behalf of Joe Craig <[email protected]<mailto:[email protected]>>
Sent: Tuesday, July 5, 2022 8:07 PM
To: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>>
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

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq
image001.png (image/png, 7.1 KB) - not displayed