Bug 270052 - sysutils/graylog: 5.0.2: com.google.inject.CreationException on startup
Summary: sysutils/graylog: 5.0.2: com.google.inject.CreationException on startup
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm64 Any
: --- Affects Only Me
Assignee: Dave Cottlehuber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-08 22:51 UTC by Gavin
Modified: 2024-01-04 15:37 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (dch)


Attachments
Graylog server.log (27.30 KB, text/plain)
2023-03-08 22:51 UTC, Gavin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin 2023-03-08 22:51:22 UTC
Created attachment 240685 [details]
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.
```
Comment 1 Dave Cottlehuber freebsd_committer freebsd_triage 2023-10-31 20:05:46 UTC
if this is reproducible on latest graylog (soon 5.2.0 in pkgs/ports next week)
please post your configs and I'll take a look. In principle this should be
reported upstream but if I can improve first-time instructions on FreeBSD
let's do that.