On Thu, 17 Nov 2005 07:41:26 +0000 (GMT) KartheeK <[EMAIL PROTECTED]> wrote:
> Hello Everybody, > I am Using a Trouble ticketing System- OTRS it is running on > mod_perl, I am trying to configure " Preestablish datababase > connections" During httpd process startup: I have configured the > "apache2-perl-startup.pl" as follows: > ==================================== use Apache (); use Apache::DBI > (); Apache::DBI->connect_on_init > ('DBI:mysql:otrs::localhost',"otrs","hot"); use DBI (); > use DBD::mysql (); > ==================================== > But, on doing this my httpd server doesnt start and I get the > following error: > > ****************ERROR---1******************************* > Can't locate Apache.pm in @INC (@INC Try it without the "use Apache ();" line, but leave the others in. --------------------------------- Frank Wiles <[EMAIL PROTECTED]> http://www.wiles.org ---------------------------------