
I just set up otrs with postgresql, and it seems to be working fine, however, whenever I submit a page I get an error page, and then I refresh it appears to have worked. any clues as to why this has happened? It claims that the database otrs doesn't exist. but it obviously does, becuase it's been using it the apache error log shows: null: DBI->connect(database=otrs;host=localhost;) failed: Unknown database 'otrs' at /opt/otrs/bin/cgi-bin/../../Kernel/System/DB.pm line 77 ERROR: OTRS-CGI-10 Perl: 5.6.1 OS: linux Time: Mon Mar 24 10:03:06 2003 Message: Unknown database 'otrs' Traceback (16323): Module: Kernel::System::DB::new Line: 55 Module: Apache::ROOTstarwolf_2ebiz::otrs::index_2epl::handler Line: 69 Module: (eval) Line: 143 Module: Apache::Registry::handler Line: 143 any help would be most appreciated -- Frank Barton Starwolf.biz Systems Administrator www.starwolf.biz/~pauling (My Key is linked there.)

Hi Frank, On Mon, Mar 24, 2003 at 10:04:34AM -0500, Frank Barton wrote:
I just set up otrs with postgresql, and it seems to be working fine, however, whenever I submit a page I get an error page, and then I refresh it appears to have worked. any clues as to why this has happened? It claims that the database otrs doesn't exist. but it obviously does, becuase it's been using it
the apache error log shows: null: DBI->connect(database=otrs;host=localhost;) failed: Unknown database 'otrs' at /opt/otrs/bin/cgi-bin/../../Kernel/System/DB.pm line 77 ERROR: OTRS-CGI-10 Perl: 5.6.1 OS: linux Time: Mon Mar 24 10:03:06 2003
Message: Unknown database 'otrs'
Traceback (16323): Module: Kernel::System::DB::new Line: 55 Module: Apache::ROOTstarwolf_2ebiz::otrs::index_2epl::handler Line: 69 Module: (eval) Line: 143 Module: Apache::Registry::handler Line: 143
I think you need to restart your webserver (mod_perl). Is it working now?
Frank Barton
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Perfection is our goal, excellence will be tolerated. -- J. Yahl

Thanks, That fixed it. On Mon, Mar 24, 2003 at 04:30:22PM +0100, Martin Edenhofer wrote:
Hi Frank,
On Mon, Mar 24, 2003 at 10:04:34AM -0500, Frank Barton wrote:
I just set up otrs with postgresql, and it seems to be working fine, however, whenever I submit a page I get an error page, and then I refresh it appears to have worked. any clues as to why this has happened? It claims that the database otrs doesn't exist. but it obviously does, becuase it's been using it
the apache error log shows: null: DBI->connect(database=otrs;host=localhost;) failed: Unknown database 'otrs' at /opt/otrs/bin/cgi-bin/../../Kernel/System/DB.pm line 77 ERROR: OTRS-CGI-10 Perl: 5.6.1 OS: linux Time: Mon Mar 24 10:03:06 2003
Message: Unknown database 'otrs'
Traceback (16323): Module: Kernel::System::DB::new Line: 55 Module: Apache::ROOTstarwolf_2ebiz::otrs::index_2epl::handler Line: 69 Module: (eval) Line: 143 Module: Apache::Registry::handler Line: 143
I think you need to restart your webserver (mod_perl).
Is it working now?
Frank Barton
Martin
-- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Perfection is our goal, excellence will be tolerated. -- J. Yahl
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
-- Frank Barton Starwolf.biz Systems Administrator www.starwolf.biz/~pauling (My Key is linked there.)
participants (2)
-
Frank Barton
-
Martin Edenhofer