Public bug reported: It might be that the package gets confused because some apache modules it needs are already there, and I think it somehow starts the scheduler with one of these apache restarts. The only thing that helps is "/usr/share/otrs/bin/otrs.Scheduler.pl -a stop -f"; after that it can be installed. But since I'm doing the installation automatically, it's a major nuisance...
And yes, this is the first install (however, with /etc/dbconfig- common/otrs2.conf already containing correct data). Setting up otrs2 (3.3.5-1) ... dbconfig-common: writing config to /etc/dbconfig-common/otrs2.conf Replacing config file /etc/otrs/database.pm with new version apache2_invoke perl: already enabled * Restarting web server apache2 [Wed Feb 11 14:58:25.653730 2015] [so:warn] [pid 27872:tid 140367113754496] AH01574: module mpm_event_module is already loaded, skipping ...done. apache2_invoke rewrite: already enabled * Restarting web server apache2 [Wed Feb 11 14:58:28.627758 2015] [so:warn] [pid 27991:tid 139920270243712] AH01574: module mpm_event_module is already loaded, skipping ...done. apache2_invoke headers: already enabled * Restarting web server apache2 [Wed Feb 11 14:58:31.593731 2015] [so:warn] [pid 28110:tid 140603249166208] AH01574: module mpm_event_module is already loaded, skipping ...done. apache2_invoke deflate: already enabled * Restarting web server apache2 [Wed Feb 11 14:58:34.587958 2015] [so:warn] [pid 28229:tid 139847740864384] AH01574: module mpm_event_module is already loaded, skipping ...done. Subroutine Load redefined at (eval 22) line 2. apache2_invoke otrs2.conf: already enabled * Reloading web server apache2 * Starting OTRS SchedulerERROR: OTRS-otrs.Scheduler-10 Perl: 5.18.2 OS: linux Time: Wed Feb 11 14:58:38 2015 Message: Scheduler Daemon tries to start but found an already running service! Traceback (28405): Module: /usr/share/otrs/bin/otrs.Scheduler.pl (unknown version) Line: 260 ...fail! invoke-rc.d: initscript otrs2, action "start" failed. dpkg: error processing package otrs2 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of otrs: otrs depends on otrs2; however: Package otrs2 is not configured yet. dpkg: error processing package otrs (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: otrs2 otrs E: Sub-process /usr/bin/dpkg returned an error code (1) ** Affects: otrs2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1420821 Title: tries to start Scheduler multiple times on install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/otrs2/+bug/1420821/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs