[ic] Assistance Request

Jeff Fearn jefffearn at gmail.com
Thu Jan 12 22:57:52 EST 2006

On 1/13/06, Simon Swegles <simon at swegles.com> wrote:
> Unfortunately, I do not know how to check for the current value of $bad.
> It also shows up here:
>     575         my $bad =  $DBI_connect_bad{$config->{dsn_id}};
> and here:
>     578         if (! $db or $bad ) {
>     579 #::logDebug("bad=$bad connecting to $call[0]");
>     580                 eval {
>     581                         $db = DBI->connect( @call ) unless $bad;
>     582                         $db->trace($Global::DataTrace,
> $Global::DebugFil
>     583                                 if $Global::DataTrace and
> $Global::Debug
>     584                 };
>     585 #::logDebug("$config->{name}: DBI didn't die, bad=$bad");

Uncomment the above line and it will log $bad for you.

You also might try turning on the other debug options, they may spit
out something earlier on that is wrong.

> Is mine really an error state that has not been recorded previously?
> It seems odd to me that it works totally fine as long as the user that
> started interchange is logged into SSH, but fails the DB connection as
> soon as that user is logged off.

I've never heard of it, teh IC gurus may have though. It definately is odd.


More information about the interchange-users mailing list