Problems by connection to mantis (remote)

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
joky
TestLink user
Posts: 2
Joined: Mon Mar 10, 2008 8:06 pm

Problems by connection to mantis (remote)

Post by joky »

Hi!!

I have a problem and find no answer.
I installed Testlink on my PC and want to connect to mantis that is installed on another PC.

Connections:
TestLink (IP: 192.168.0.143 name: testlink dbname: testlink)
Mantis (IP: 192.168.0.137 name: svn dbname: bugtracker)

I changed the mantis.cfg.php:
define ('BUG_TRACK_DB_HOST' , 'svn');
define ('BUG_TRACK_DB_NAME' , 'bugtracker');
define ('BUG_TRACK_DB_TYPE' , 'mysql');
define ('BUG_TRACK_DB_USER' , 'root');
define ('BUG_TRACK_DB_PASS' , 'test');
define ('BUG_TRACK_HREF' , "http://svn/mantisbt/view.php?id=");
define ('BUG_TRACK_ENTER_BUG_HREF' , "http://svn/mantisbt/");

Created also user by Mantis and Testlink that have all privilegs on the DB and changed their host to % instead of localhost.
Added also in the mantis.cfg.php and in the matis config_inc.php:
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'testlink';

I also restarted mysql, apache on the PC with mantis and wamp on the PC with TestLink.

Nevertheless I get the information that the Connection to my Bug Tracking System has failed.



Can someone tell me what I have done wrong or what I have forgotten to do?!
akshayj
TestLink user
Posts: 10
Joined: Tue Jul 14, 2009 1:25 pm

Post by akshayj »

I am facing the same issue..

Does anybody have any solution?

:?:


Thanks
Akshay
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Post by TurboPT »

I can think of a couple things to check/try:
1. Firewall port blocking?
2. Try using the ip address explicitly for the HOST, instead of just 'svn'

Check the Apache logs for errors. (might provide clues to the issue)
akshayj
TestLink user
Posts: 10
Joined: Tue Jul 14, 2009 1:25 pm

Post by akshayj »

Hi
Thanks for the reply.

Both of my Testlink as well as Mantis servers are hosted on local intranet.
Also, I am using the IP address in the connection string.

Thanks!!
Akshay
Post Reply