Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - AnatolS

Pages: [1]
1
Postfix / No "postfix" database, CWP7, MariaDB, Centos 7
« on: November 29, 2020, 10:30:44 PM »
Hi,
I have spent hours on googling and reading topics, but could not find an answer. Really hope on your help.
Problem.
After installing CWP7 on Centos 7 LAMP, I got errors that "postfix" database does not exist when log in to the CWP.
 
I tried to rebuild mailserver from CWP interface. The rebuild went well but the MySQL "postfix" database was not created. As a result, I can't create any email accounts - CWP7 under "Email accounts" shows mysql errors:

Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0

Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0

Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0

Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0

Do I need to add "postfix" DB manually and all the required tables manually?
Thank you very much for any advice

PHP version: 5.6.37
MySQL version: 5.5.68-MariaDB
Distro Name: CentOS Linux release 7.8.2003 (Core)

Pages: [1]