Hi,
Modified my rcotrs file:
# --
# OTRS Scheduler Service
# --
echo -n " Checking OTRS Scheduler Service... "
$OTRS_SCHEDULER -a start >/dev/null 2>&1
if ! $OTRS_SCHEDULER_TEST >/dev/null 2>&1; then
echo " Error! "
echo " This can happen if your database is not configured yet. "
exit 1;
else
echo " done."
fi
By adding the above marked line “$OTRS_SCHEDULER -a start >/dev/null 2>&1” the error no longer occurs.
Even though I have found a workaround it would interest me what is going wrong here and why this extra step is necessary in our setup. Potentially, with the next update, the rcotrs will be overwritten.
Any help very much appreciated.
Regards
Rudolf Bargholz
Von: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] Im Auftrag von Rudolf Bargholz
Gesendet: Freitag, 9. März 2012 09:50
An: User questions and discussions about OTRS. (otrs@otrs.org)
Betreff: [otrs] rcotrs start - problem with Scheduler Service
Hi,
(Posted this on the German list, in English. Sorry to the German users for the ‘cross posting’)
OTRS 3.1.2
Suse Linux 10 SP1
Updated from 3.0.11 to 3.1.2
If I execute
rcotrs start
in the shell, an error is reported:
Checking OTRS Scheduler Service... Error!
This can happen if your database is not configured yet.
If I execute
/opt/otrs/bin/otrs.Scheduler.pl -a start
and then do a
rcotrs start
then the error no longer occurs. Does anyone have an idea where I might look in order to resolve this problem. My knowledge of Linux is not that good. Any help is greatly appreciated.
Here the shell log:
support:~ # rcotrs stop
Shutting down OTRS
Disable /opt/otrs/bin/otrs.PostMaster.pl ... done.
Shutting down cronjobs ... done.
Shutting down OTRS scheduler ...
done.
done
support:~ # rcotrs start
Starting OTRS
Checking Apache ... done.
Checking database connection... (Trying to connect to database
DSN: DBI:mysql:database=otrs;host=localhost;
DatabaseUser: otrs
It looks Ok!).
Checking OTRS Scheduler Service... Error!
This can happen if your database is not configured yet.
support:~ # /opt/otrs/bin/otrs.Scheduler.pl -a start
support:~ # rcotrs start
Starting OTRS
Checking Apache ... done.
Checking database connection... (Trying to connect to database
DSN: DBI:mysql:database=otrs;host=localhost;
DatabaseUser: otrs
It looks Ok!).
Checking OTRS Scheduler Service... done.
Enable /opt/otrs/bin/otrs.PostMaster.pl ... done.
Checking otrs spool dir... done.
Creating cronjobs (source /opt/otrs/var/cron/*) ... done.
-->> http://support.onlinetravel.ch/otrs/index.pl <<--
done
Regards
Rudolf Bargholz