| От | Tyler MacDonald |
|---|---|
| Тема | Apache::DBI and DBD::Pg |
| Дата | |
| Msg-id | 20060113235346.GB15634@yi.org обсуждение |
| Список | pgsql-general |
Apache::DBI claims that it will reconnect to a database if it's gone away.
DBD::Pg claims that it supports the ping method. However, when I restart my
database server while apache2 is running, all mod_perl pages that are
database driven return internal server errors, no matter how many times I
refresh, with errors like this:
[Fri Jan 13 23:46:28 2006] [error] [client 192.168.99.112] DBD::Pg::db
prepare_cached failed: FATAL: terminating connection due to administrator
command\nserver closed the connection unexpectedly\n\tThis probably means
the server terminated abnormally\n\tbefore or while processing the request.
Here's what I'm using:
DBI - 1.48
DBD::Pg - 1.42
mod_perl2 - 2.000001
Apache::DBI - 0.9901
Has anybody run into this before? Any known workarounds/config changes I
need?
Thanks,
Tyler
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера