[pkg-horde] Bug#866688: can not connect to postgres after last update

Ivan Sergio Borgonovo ivan.s.b at gmail.com
Fri Jun 30 22:44:54 UTC 2017


Package: php-horde-db
Version: 2.4.0-1
Severity: grave

After upgrading I get

   Fatal Error:
   Could not instantiate PDO. PDOException: SQLSTATE[08006] [7] server
      closed the connection unexpectedly
   	This probably means the server terminated abnormally
   	before or while processing the request.
   In /usr/share/php/Horde/Db/Adapter/Pdo/Base.php on line 48

    1. Horde_Registry::appInit() /usr/bin/horde-alarms:23
    2. Horde_Registry->__construct() /usr/share/php/Horde/Registry.php:287
    3. Horde_Session->setup() /usr/share/php/Horde/Registry.php:532
    4. Horde_Injector->createInstance() /usr/share/php/Horde/Session.php:185
    5. Horde_Injector_Binder_Factory->create()
      /usr/share/php/Horde/Injector.php:238
    6. Horde_Core_Factory_SessionHandler->create()
      /usr/share/php/Horde/Injector/Binder/Factory.php:119
    7. Horde_Core_Factory_Db->createDb()
      /usr/share/php/Horde/Core/Factory/SessionHandler.php:69
    8. Horde_Core_Factory_Db->_createDb()
      /usr/share/php/Horde/Core/Factory/Db.php:134
    9. Horde_Db_Adapter_Base->__construct()
      /usr/share/php/Horde/Core/Factory/Db.php:189
   10. Horde_Db_Adapter_Pdo_Pgsql->connect()
      /usr/share/php/Horde/Db/Adapter/Base.php:157
   11. Horde_Db_Adapter_Pdo_Base->connect()
      /usr/share/php/Horde/Db/Adapter/Pdo/Pgsql.php:88

Downgrading to 2.3.4-1 makes it work again.

I'll try to check the code later and give some more clues.

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it http://www.borgonovo.net



More information about the pkg-horde-hackers mailing list