postfixadmin-cli Table 'postfixadmin.config' doesn't exist
Christoph Kukulies
kuku at kukulies.org
Do Aug 21 09:52:49 CEST 2025
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 at localhost: user creation needed.
granting access to database postfixadmin for postfixadmin at localhost: success.
verifying access for postfixadmin at 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 at 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 at 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
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://de.postfix.org/pipermail/postfix-users/attachments/20250821/e23c203a/attachment.htm>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : signature.asc
Dateityp : application/pgp-signature
Dateigröße : 488 bytes
Beschreibung: Message signed with OpenPGP
URL : <https://de.postfix.org/pipermail/postfix-users/attachments/20250821/e23c203a/attachment.sig>
Mehr Informationen über die Mailingliste postfix-users