[rt-users] RT second instance

kobor-l at udvarhely.net kobor-l at udvarhely.net
Sun Jun 19 22:36:07 EDT 2011


Hello,

I installed a RT 4 under the standard /opt/rt4, with mysql database :
rt4db, and rt4user/password mysql privileges.
In apache is configured as virtualhost with mod_perl (2.0.4).
Working great.

Now i wanted to add a second install under /opt/rtsecond , with different
db etc (rtseconddb, rtseconduser etc), so i did a new configure/make
install/initd.
I configured as a second virtualhost in apache under its own subdomain,
restarted apache, tried to login and to my suprise default root/password
didn't work.
After a bit of troubleshooting i realised that RT is trying to connect to
the first db, with the first user ( adding quey loging to mysql shows
clearly Connect   rt4user at localhost on rt4db   ; and not Connect
rtseconduser on rtseconddb).
Then i did triple check everything, but everything seems right (grep -r
rt4 /opt/rtsecond   matches only Readme files , or perldoc part from .pm
files; so config is good; also second virtualhost definition is corretly
reffering /opt/rtsecond and not /opt/rt4)
Of course if i remove the first virtualhost; or if i start the first via
apache and second with rt_server on different port , then works.


So, it's a bug, mod_perl limitation or i'm missing something?

Thanks,
Sandor Marton




More information about the rt-users mailing list