I cannot for the life of me get a DBI script to run under the default apache server shipping with RH 7.2
The scripts works fine from the command line, works fine from several Solaris and SuSE machimes, but low and behold, the red hat box fails miserably. (surprise) I usually install my own apache server on RH 7.2 since RH cludges it all up into the wrong directory structure. However, this must be pushed to several hundred machines and I want to use the default server for simplicity. I get to the following line of the script and it does, however, nothing is written to the error log. print "DEBUG: datasource=$datasource db_login=$db_login db_passwd=$db_passwd\n"; # This is okay, all variables visible print STDERR "Testing apache error log\n"; # this works my $dbh = DBI->connect($datasource, $db_login, $db_passwd) or die "Can't connect to DB: $DBI::errstr\n"; # Script dies with no error message print anywhere My database info is stored in a module under /var/www/lib/cluster.pm. CGI scripts ARE working under this directory, in fact, this script runs to complete if I comment out the DBI->connect entry. Anyone have similiar problems? Thanks, Chuck _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list