Package: rt4-fcgi Version: 4.2.8-3 Severity: important Dear Maintainer,
installing request-tracker4 with rt4-fcgi in a systemd environment (as default install) appears to lead to a problem at boot time. It looks like that the service is started when the database is not ready: ● rt4-fcgi.service - LSB: request-tracker4 FastCGI daemon Loaded: loaded (/etc/init.d/rt4-fcgi) Active: active (exited) since Mon 2015-08-03 08:50:05 CEST; 3h 33min ago Process: 434 ExecStart=/etc/init.d/rt4-fcgi start (code=exited, status=0/SUCCESS) rt4-fcgi[434]: spawn-fcgi: child spawned successfully: PID: 470 rt4-fcgi[434]: spawn-fcgi: child spawned successfully: PID: 471 RT[470]: [470] DBI connect('dbname=rtdb;host=localhost','rtuser',...) failed: Can't connect to loca...ine 105. RT[471]: [471] DBI connect('dbname=rtdb;host=localhost','rtuser',...) failed: Can't connect to loca...ine 105. RT[471]: [471] Since your configuration exists (/etc/request-tracker4/RT_SiteConfig.pm) but is not ...nything. RT[470]: [470] Since your configuration exists (/etc/request-tracker4/RT_SiteConfig.pm) but is not ...nything. Without human intervention, a rebooted machine responds with 502 to any request to the RT urls. Restarting the service after boot fixes the situation, but it's obviously not optimal. # systemctl stop rt4-fcgi # systemctl start rt4-fcgi # systemctl status rt4-fcgi ● rt4-fcgi.service - LSB: request-tracker4 FastCGI daemon Loaded: loaded (/etc/init.d/rt4-fcgi) Active: active (running) since Mon 2015-08-03 12:24:22 CEST; 17min ago Process: 55598 ExecStop=/etc/init.d/rt4-fcgi stop (code=exited, status=0/SUCCESS) Process: 55613 ExecStart=/etc/init.d/rt4-fcgi start (code=exited, status=0/SUCCESS) CGroup: /system.slice/rt4-fcgi.service ├─55618 /usr/bin/perl -w /usr/share/request-tracker4/libexec/rt-server.fcgi └─55620 /usr/bin/perl -w /usr/share/request-tracker4/libexec/rt-server.fcgi Best wishes -- System Information: Debian Release: 8.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages rt4-fcgi depends on: ii libfcgi-perl 0.77-1+b1 ii procps 2:3.3.9-9 ii spawn-fcgi 1.6.4-1 Versions of packages rt4-fcgi recommends: ii nginx-full 1.6.2-5 rt4-fcgi suggests no packages. -- Configuration Files: /etc/default/rt4-fcgi changed: enabled=1 workers=2 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org