postfixadmin 错误表 'postfixadmin.config' 不存在

postfixadmin 错误表 'postfixadmin.config' 不存在

我正在尝试让 postfixadmin 在我的 Ubuntu 17.10 系统上运行。这是我收到的错误:

DEBUG INFORMATION:
Invalid query: Table 'postfixadmin.config' doesn't exist

Check your error_log for the failed query.

Please check the documentation and website for more information.

显示/var/log/apache2/error_log一些权限被拒绝的错误:

[Sun Apr 15 01:11:16.468872 2018] [php7:warn] [pid 3513] [client 76.80.54.221:55168] PHP Warning:  session_start(): open(/var/lib/php/sessions/sess_otkuleekb07jjoab4q7utomggc, O_RDWR) failed: Permission denied (13) in /usr/share/postfixadmin/common.php on line 26
[Sun Apr 15 01:11:16.468894 2018] [php7:warn] [pid 3513] [client 76.80.54.221:55168] PHP Warning:  session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /usr/share/postfixadmin/common.php on line 26
[Sun Apr 15 01:11:16.468922 2018] [php7:warn] [pid 3513] [client 76.80.54.221:55168] PHP Warning:  session_destroy(): Trying to destroy uninitialized session in /usr/share/postfixadmin/common.php on line 30
[Sun Apr 15 01:11:16.468945 2018] [php7:warn] [pid 3513] [client 76.80.54.221:55168] PHP Warning:  session_start(): open(/var/lib/php/sessions/sess_otkuleekb07jjoab4q7utomggc, O_RDWR) failed: Permission denied (13) in

postfixadmin 的 MySQL 数据库已启动,但脚本未添加任何表。

我怎样才能解决这个问题?

答案1

我发现运行https://yourdomainname/postfixadmin/setup.php帮助我找到了问题所在。事实上,表格config缺失了,因为安装过程从未被触发。正是使用setup.php才让事情开始步入正轨。

相关内容