Bin dabei, postfixadmin zu installieren, aber der Start des CLI-Tools schlägt 
fehl:
Ende von

apt install postfixadmin

Creating config file /etc/postfixadmin/dbconfig.inc.php with new version
checking privileges on database postfixadmin for postfixadmin@localhost: user 
creation needed.
granting access to database postfixadmin for postfixadmin@localhost: success.
verifying access for postfixadmin@localhost: success.
creating database postfixadmin: success.
verifying database postfixadmin exists: success.
dbconfig-common: flushing administrative password
apache2_invoke: Enable configuration postfixadmin
apache2.service is not active, cannot reload.
invoke-rc.d: initscript apache2, action "reload" failed.
Setting up libapache2-mod-php (2:8.1+92ubuntu1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
Processing triggers for php8.1-cli (8.1.2-1ubuntu2.22) ...
Processing triggers for libapache2-mod-php8.1 (8.1.2-1ubuntu2.22) ...
root@mail:/etc/postfix# postfixadmin-cli
Invalid query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 
'postfixadmin.config' doesn't exist caused by SELECT value FROM `config` WHERE 
name = 'version'
Error: Execution Exception: DEBUG INFORMATION: SQLSTATE[42S02]: Base table or 
view not found: 1146 Table 'postfixadmin.config' doesn't exist<br/> Check your 
error_log for the failed query
root@mail:/etc/postfix#

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
|...
| postfixadmin       |
| sys                |
| vmail              |
+--------------------+
8 rows in set (0.00 sec)

mysql> use postfixadmin
Database changed
mysql> show tables;
Empty set (0.01 sec)

mysql>

Es scheint, als sei die DB noch nicht konfiguriert.

Grüße
--
Christoph

Attachment: signature.asc
Description: Message signed with OpenPGP

Antwort per Email an