
Hello, I have set up multiple OTRS instances using mod_perl on a single server (using http://blog.otrs.org/2010/08/11/how-to-run-multiple-mod_perl-supported-otrs-...). Everything works except for the fact that otrs2 can view otrs1 logs from the web interface. The Config.pm files both have their logging set appropriately, and the log files are both written to individually for each site (/opt/otrs1/var/log/otrs.log and /opt/otrs2/var/log/otrs.log). However, in the OTRS web page under Admin -> System Log, otrs2 user can see otrs1 logs. The log for otrs2 is quiet, so I can't confirm otrs1 can see otrs2's logging data within their admin page or not. What might be causing this?

Hi Kristofer,
the OTRS logs displayed in the Admin Interface uses a shared memory
segment to store the log lines. For the shared memory segments it uses
the system ID as a key. This means that if you have two instances on
one host, and they both use the same System ID, they will use the same
memory segment and thus you'll get the described behavior. If you'd
use a different systemID for each OTRS system this will go away.
--
Mike
On Tue, Jul 19, 2011 at 07:16, Kristofer Pettijohn
Hello,
I have set up multiple OTRS instances using mod_perl on a single server (using http://blog.otrs.org/2010/08/11/how-to-run-multiple-mod_perl-supported-otrs-...).
Everything works except for the fact that otrs2 can view otrs1 logs from the web interface.
The Config.pm files both have their logging set appropriately, and the log files are both written to individually for each site (/opt/otrs1/var/log/otrs.log and /opt/otrs2/var/log/otrs.log).
However, in the OTRS web page under Admin -> System Log, otrs2 user can see otrs1 logs.
The log for otrs2 is quiet, so I can't confirm otrs1 can see otrs2's logging data within their admin page or not.
What might be causing this?
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Mike,
Thank you. Is it possible to change the system id of one without causing issues?
Thanks,
Kristfer
----- Original Message -----
From: "Michiel Beijen"
Hello,
I have set up multiple OTRS instances using mod_perl on a single server (using http://blog.otrs.org/2010/08/11/how-to-run-multiple-mod_perl-supported-otrs-...).
Everything works except for the fact that otrs2 can view otrs1 logs from the web interface.
The Config.pm files both have their logging set appropriately, and the log files are both written to individually for each site (/opt/otrs1/var/log/otrs.log and /opt/otrs2/var/log/otrs.log).
However, in the OTRS web page under Admin -> System Log, otrs2 user can see otrs1 logs.
The log for otrs2 is quiet, so I can't confirm otrs1 can see otrs2's logging data within their admin page or not.
What might be causing this?
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi Kristofer, yes, you can safely change the system id. But then you should change Ticket::NumberGenerator::CheckSystemID in SysConfig (Ticket -> Core::Ticket) to "No". If you do not do this, OTRS will create new tickets for followups of tickets that use the old system id in the ticket number. After a while you can change this to "yes" - when all old tickets are closed and only new tickets that have the new system id in the ticket number are open. - Renée On 19.07.2011 16:34, Kristofer Pettijohn wrote:
Mike,
Thank you. Is it possible to change the system id of one without causing issues?
Thanks, Kristfer
-- Perl-Magazin: http://perl-magazin.de Perl-Nachrichten: http://perl-nachrichten.de
participants (3)
-
Kristofer Pettijohn
-
Michiel Beijen
-
Renée Bäcker