tries to start Scheduler multiple times on install

Bug #1420821 reported by Seegras
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
otrs2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

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)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.