Graylog2 / fpm-recipes

Graylog package build recipes
http://docs.graylog.org/en/latest/pages/installation/operating_system_packages.html
18 stars 19 forks source link

Installation on Debian 8 (Jessie) fails #41

Closed jschipper closed 8 years ago

jschipper commented 8 years ago

When installing the graylog-server on debian 8 (jessie) I get the following error:

/var/lib/dpkg/info/graylog-server.postinst: 33: /var/lib/dpkg/info/graylog-server.postinst: systemctl: not found

on #graylog BManojlovic mentioned, this could be because of a too young systemd.

joschi commented 8 years ago

Just for completeness: systemctl is part of the systemd package in Debian 8.0 (Jessie) and systemd is the default init system in Debian 8.0 (Jessie) so the systemctl binary should exist on a vanilla Jessie installation.

bernd commented 8 years ago

I just tried to reproduce this with a Debian 8.1 Vagrant box, no luck. It works fine. As @joschi said, systemd is the default init system in Debian since 8.0, so systemctl should be there.

jschipper commented 8 years ago

Interestingly, it wasn't on my system, I installed from url using the Debian template from Citrix XenServer6.5, aptitude showed the following: root@srv-log-01:~# aptitude search systemd p dh-systemd - debhelper-Erweiterung zur Behandlung von systemd-Dateien
p golang-go-systemd-dev - Go client bindings for systemd socket activation, journal and dbus p libghc-libsystemd-journal-dev - Haskell bindings to libsystemd-journal
v libghc-libsystemd-journal-dev-1.1.0-1bf09 -
p libghc-libsystemd-journal-doc - Haskell bindings to libsystemd-journal; documentation
p libghc-libsystemd-journal-prof - Haskell bindings to libsystemd-journal; profiling libraries
v libghc-libsystemd-journal-prof-1.1.0-1bf09 -
pi libpam-systemd - System- und Diensteverwaltung - PAM-Modul
p libsystemd-daemon-dev - Hilfsbibliothek für systemd (Übergangspaket)
p libsystemd-daemon0 - Hilfsbibliothek für systemd (überholt)
p libsystemd-dev - Hilfsbibliothek für systemd - Entwicklungsdateien
p libsystemd-id128-0 - systemd-Hilfsbibliothek für 128-Bit-IDs (überholt)
p libsystemd-id128-dev - Hilfsbibliothek für systemd für 128-Bit-IDs (Übergangspaket)
p libsystemd-journal-dev - Hilfsbibliothek für systemd-Journal (Übergangspaket)
p libsystemd-journal0 - systemd - Bibliothek für den Protokolldienst (überholt)
p libsystemd-login-dev - Login-Hilfsbibliothek für systemd (Übergangspaket)
p libsystemd-login0 - Login-Hilfsbibliothek für systemd (überholt)
i A libsystemd0 - Hilfsbibliothek für systemd
p live-config-systemd - Live System Configuration Components (systemd backend)
p python3-systemd - Python-3-Anbindungen für systemd
pB systemd - System- und Diensteverwaltung
p systemd-cron - systemd units to provide minimal cron daemon functionality
p systemd-dbg - System- und Diensteverwaltung (Debugsymbole)
p systemd-gui - transitional package for systemd-ui
i A systemd-shim - shim for systemd
pB systemd-sysv - System- und Diensteverwaltung - Links für SysV
p systemd-ui

I installed systemd, now it works... Thanks for your help.

bernd commented 8 years ago

Great to hear! Closing this.