SOLVED Failure to connect to DATABASE_INTERFACE

Status
Not open for further replies.

sonos

New Member
Jun 21, 2019
13
1
3
35
Hello!

I installed a new fusionpbx and deployed a backup with the old fusionpbx.
I have such a problem when running fusionpbx:


2019-10-03 08:25:36.922065 [DEBUG] mod_event_socket.c:2952 Socket up listening on 127.0.0.1:8021
2019-10-03 08:25:36.935928 [ERR] mod_pgsql.c:351 ВАЖНО: пользователь "fusionpbx" не прошёл проверку подлинности (по паролю)
ВАЖНО: пользователь "fusionpbx" не прошёл проверку подлинности (по паролю)

2019-10-03 08:25:36.935973 [CRIT] switch_core_sqldb.c:622 Failure to connect to DATABASE_INTERFACE hostaddr=127.0.0.1 port=5432 dbname=fusionpbx user=fusionpbx password=PWVNNxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx options=''!
2019-10-03 08:25:36.935985 [ERR] freeswitch_lua.cpp:374 Connection failed. DBH NOT Connected.
2019-10-03 08:25:36.936328 [ERR] mod_lua.cpp:202 ...eeswitch/scripts/resources/functions/database/native.lua:27: assertion failed!
stack traceback:
[C]: in function 'assert'
...eeswitch/scripts/resources/functions/database/native.lua:27: in function 'new'
...hare/freeswitch/scripts/resources/functions/database.lua:87: in function <...hare/freeswitch/scripts/resources/functions/database.lua:86>
(...tail calls...)
...xml_handler/resources/scripts/configuration/acl.conf.lua:55: in main chunk
[C]: in function 'dofile'
/usr/share/freeswitch/scripts/app/xml_handler/index.lua:95: in main chunk
/usr/share/freeswitch/scripts/app.lua:48: in main chunk
2019-10-03 08:25:36.936378 [ERR] mod_lua.cpp:270 LUA script parse/execute error!


password in etc\fusionpbx\config.php

$db_host = 'localhost'; //set the host only if the database is not local
$db_port = '5432';
$db_name = 'fusionpbx';
$db_username = 'fusionpbx';
$db_password = 'rY0Lxxxxxxxxxxxxxxxxxxxxxxx';
 
Status
Not open for further replies.