[Bug 270052] sysutils/graylog: 5.0.2: com.google.inject.CreationException on startup

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Mar 2023 22:51:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270052

            Bug ID: 270052
           Summary: sysutils/graylog: 5.0.2:
                    com.google.inject.CreationException on startup
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dch@freebsd.org
          Reporter: calmdowndear@protonmail.com
             Flags: maintainer-feedback?(dch@freebsd.org)
          Assignee: dch@freebsd.org

Created attachment 240685
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240685&action=edit
Graylog server.log

I just installed Graylog 5.0.2 (first from `packages` and then uninstalled and
reinstalled from `ports` in case it was newer or had different config options
available) but I can't get it to start successfully in a 13.1-RELEASE-p7 jail.

I have MongoDB 6.0 and OpenSearch 2.4.0 installed and running successfully on
`localhost`. But starting Graylog provides multiple pages of log output
referring to errors within Google Guice. I've extracted and attached one single
run to this bug but unfortunately I don't know enough about Java or Guice to be
able to diagnose much from this.

This is an ARM64 (Ampere) FreeBSD 13.1-RELEASE-p7 system, with a bastille jail
configured for running these tools. Following the `pkg-message` from OpenJDK I
have enabled both the fdescfs and procfs filesystems in this jail.

```
root@ampere-a1-freebsd-13-01:~ # uname -a
FreeBSD ampere-a1-freebsd-13-01 13.1-RELEASE-p6 FreeBSD 13.1-RELEASE-p6 GENERIC
arm64
root@ampere-a1-freebsd-13-01:~ # freebsd-update fetch install
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 13.1-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 13.1-RELEASE-p7.
No updates are available to install.
```

-- 
You are receiving this mail because:
You are the assignee for the bug.