[Sysadmins] P7 & Roundcube

А. Куликовский kae на tut.by
Сб Мар 18 20:52:30 MSK 2017


Здравствуйте.

Имеется сервер на P7 с последними обновлениями.
Postfix, dovecot, первый apache, что касается PHP - всё дефолтное.
Собрался перейти со SquirrelMail на Roundcube. Установил. Инсталлер в 
базе ничего создал.
В результвте: DATABASE ERROR: CONNECTION FAILED!

То ли из-за PHP, то ли ...
Логи из /var/log/user во вложении. Это при попытке открыть в браузере.

Это как-нибудь лечится, или "всё" ?

-- 
С уважением, А.Куликовский
Гимназия №1 г.Дзержинска
----------- следующая часть -----------
Mar 18 20:06:03 server2 roundcube: DB Error: _doQuery: [Error message: Could not execute statement] [Last executed query: PREPARE mdb2_statement_mysql_175b1d70b63cac5c88baf540a511d3dce5cc4defc FROM 'SELECT vars, ip, changed FROM session WHERE sess_id = ?'] [Native code: 1146] [Native message: Table 'roundcube.session' doesn't exist]  in /usr/share/roundcube/program/include/rcube_mdb2.php on line 293 (GET /roundcube/)
Mar 18 20:06:03 server2 roundcube: DB Error: _doQuery: [Error message: Could not execute statement] [Last executed query: PREPARE mdb2_statement_mysql_2f19cf9ecaefcd9ef14b9e94b5f17a1ed3fd6c422 FROM 'INSERT INTO session (sess_id, vars, ip, created, changed) VALUES (?, ?, ?, \'2017-03-18 17:06:03\', \'2017-03-18 17:06:03\')'] [Native code: 1146] [Native message: Table 'roundcube.session' doesn't exist]  in /usr/share/roundcube/program/include/rcube_mdb2.php on line 293 (GET /roundcube/)
----------- следующая часть -----------
Mar 18 20:06:03 server2 httpd: PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/roundcube/program/include/rcube_config.php on line 96
Mar 18 20:06:03 server2 httpd: PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/roundcube/program/include/rcube_config.php on line 97
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/roundcube/program/lib/MDB2.php on line 381
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/roundcube/program/lib/MDB2.php on line 287
Mar 18 20:06:03 server2 last message repeated 4 times
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/roundcube/program/lib/MDB2.php on line 388
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/roundcube/program/lib/MDB2.php on line 418
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically in /usr/share/roundcube/program/lib/MDB2.php on line 423
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 148
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 200
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Only variables should be assigned by reference in /usr/share/roundcube/program/lib/MDB2/Driver/Datatype/Common.php on line 1117
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/lib/MDB2/Driver/Datatype/Common.php on line 1118
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Only variables should be assigned by reference in /usr/share/roundcube/program/lib/MDB2/Driver/Datatype/Common.php on line 1221
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/lib/MDB2/Driver/Datatype/Common.php on line 1222
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/lib/MDB2/Driver/Datatype/Common.php on line 1227
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method MDB2::errorMessage() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/lib/MDB2.php on line 977
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/lib/MDB2.php on line 746
Mar 18 20:06:03 server2 roundcube: MDB2 Error: no such table (-18): _doQuery: [Error message: Could not execute statement] [Last executed query: PREPARE mdb2_statement_mysql_175b1d70b63cac5c88baf540a511d3dce5cc4defc FROM 'SELECT vars, ip, changed FROM session WHERE sess_id = ?'] [Native code: 1146] [Native message: Table 'roundcube.session' doesn't exist] 
Mar 18 20:06:03 server2 roundcube: PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/roundcube/program/include/main.inc on line 2176
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 713
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 744
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Declaration of rcube_template::write() should be compatible with rcube_html_page::write($templ = '', $base_path = '') in /usr/share/roundcube/program/include/rcube_template.php on line 32
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Declaration of html_hiddenfield::show() should be compatible with html_inputfield::show($value = NULL, $attrib = NULL) in /usr/share/roundcube/program/include/html.php on line 377
Mar 18 20:06:03 server2 roundcube: PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/roundcube/program/include/rcube_mdb2.php on line 603
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 200
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Only variables should be assigned by reference in /usr/share/roundcube/program/lib/MDB2/Driver/Datatype/Common.php on line 1117
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/lib/MDB2/Driver/Datatype/Common.php on line 1118
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Only variables should be assigned by reference in /usr/share/roundcube/program/lib/MDB2/Driver/Datatype/Common.php on line 1221
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/lib/MDB2/Driver/Datatype/Common.php on line 1222
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/lib/MDB2/Driver/Datatype/Common.php on line 1227
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method MDB2::errorMessage() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/lib/MDB2.php on line 977
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/lib/MDB2.php on line 746
Mar 18 20:06:03 server2 roundcube: MDB2 Error: no such table (-18): _doQuery: [Error message: Could not execute statement] [Last executed query: PREPARE mdb2_statement_mysql_2f19cf9ecaefcd9ef14b9e94b5f17a1ed3fd6c422 FROM 'INSERT INTO session (sess_id, vars, ip, created, changed) VALUES (?, ?, ?, \'2017-03-18 17:06:03\', \'2017-03-18 17:06:03\')'] [Native code: 1146] [Native message: Table 'roundcube.session' doesn't exist] 
Mar 18 20:06:03 server2 roundcube: PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/share/roundcube/program/include/main.inc on line 2176
Mar 18 20:06:03 server2 roundcube: PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/roundcube/program/include/rcube_mdb2.php on line 713


Подробная информация о списке рассылки Sysadmins