Two otrs installation in one machine

Hi, I am in the process of upgrading OTRS from 2.1.3 to 2.4.5. I am also upgrading the mysql from 4.1 to 5.0. I am at a loss why I can't point to the new installation. T The web and perl files are in machine1 (RHEL, apache) , 4.1 database is in machine2 and 5.0 is in machine3. I created a new directory in machine1, pointing to the 5.0 database in machine3 in Config.pm. However, when I go to access the new otrs, it i still grabbing the current information from 4.1 database. I have done all the part needed for the database upgrade (sql dump, import, check, repair, run the otrs upgrade script). I have done all these in machine3. This is my current setup with otrs 2.1.3 and mysql 4.1: PerlRequire /web/mycurrentotrs/scripts/apache2-perl-startup.pl ScriptAlias /otrs/ "/web/mycurrentotrs/bin/cgi-bin/" Alias /otrs-web/ "/web/mycurrentotrs/var/httpd/htdocs/" I have created a new conf file for apache pointing to the new/test installation in the same machine (this is for otrs 2.4.5 and mysql 5.0) PerlRequire /web/mynewotrs/scripts/apache2-perl-startup.pl ScriptAlias /otrsnew/ "/web/mynewotrs/bin/cgi-bin/" Alias /otrs-web/ "/web/mynewotrs/var/httpd/htdocs/" However, when go to: http://mywebserver/otrsnew/index.pl it still points to the current database in machine2 (I was expecting some error messages). [For the test, I took a mysqldump from a week ago so in the new/test installation the data should be old.] It seems not be reading the information from the new folder ( I have some extra authentication script in Config.pm based on modperl which I have copied to the new Config.pm) Any idea? maybe there is some session variable in the web server that is pointing to the current directory. thanks, --sharif

Hi Sharif,
Unfortunately, if you use mod_perl, you are limited to running one
OTRS instance per apache host. You can only have one module per apache
instance, so it will cache your database settings, and use them for
both OTRS instances.
You could set up two apaches, or disable mod_perl.
--
Michiel Beijen
R&D
OTRS AG
Norsk-Data-Str 1.
61352 Bad Homburg
Germany
T: +31 (0) 6457 42418
F: +49 (0) 9421 56818-18
I: http://www.otrs.com/
Business location: Bad Homburg, Country Court: Bad Homburg, HRB 10751,
VAT ID: DE256610065
Chairman: Burchard Steinbild, Managing Board: André Mindermann
CU@ CeBIT 2010 in Hannover (Germany) and get to know more about OTRS
at booth no. C37, in hall 2 from March 2-6, 2010! http://bit.ly/4qLvqm
On Thu, Jan 14, 2010 at 5:17 PM, sharif islam
Hi,
I am in the process of upgrading OTRS from 2.1.3 to 2.4.5. I am also upgrading the mysql from 4.1 to 5.0. I am at a loss why I can't point to the new installation. T
The web and perl files are in machine1 (RHEL, apache) , 4.1 database is in machine2 and 5.0 is in machine3. I created a new directory in machine1, pointing to the 5.0 database in machine3 in Config.pm. However, when I go to access the new otrs, it i still grabbing the current information from 4.1 database.
I have done all the part needed for the database upgrade (sql dump, import, check, repair, run the otrs upgrade script). I have done all these in machine3.
This is my current setup with otrs 2.1.3 and mysql 4.1:
PerlRequire /web/mycurrentotrs/scripts/apache2-perl-startup.pl
ScriptAlias /otrs/ "/web/mycurrentotrs/bin/cgi-bin/" Alias /otrs-web/ "/web/mycurrentotrs/var/httpd/htdocs/"
I have created a new conf file for apache pointing to the new/test installation in the same machine (this is for otrs 2.4.5 and mysql 5.0)
PerlRequire /web/mynewotrs/scripts/apache2-perl-startup.pl
ScriptAlias /otrsnew/ "/web/mynewotrs/bin/cgi-bin/" Alias /otrs-web/ "/web/mynewotrs/var/httpd/htdocs/"
However, when go to:
http://mywebserver/otrsnew/index.pl
it still points to the current database in machine2 (I was expecting some error messages). [For the test, I took a mysqldump from a week ago so in the new/test installation the data should be old.] It seems not be reading the information from the new folder ( I have some extra authentication script in Config.pm based on modperl which I have copied to the new Config.pm)
Any idea? maybe there is some session variable in the web server that is pointing to the current directory.
thanks,
--sharif --------------------------------------------------------------------- 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
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

On Thu, Jan 14, 2010 at 10:26 AM, Michiel Beijen
Hi Sharif,
Unfortunately, if you use mod_perl, you are limited to running one OTRS instance per apache host. You can only have one module per apache instance, so it will cache your database settings, and use them for both OTRS instances.
You could set up two apaches, or disable mod_perl.
Ah!, yes, I am running mod_perl. Thanks for the response. I will try to setup another apache for test. --sharif
participants (2)
-
Michiel Beijen
-
sharif islam