3 Sep
2019
3 Sep
'19
12:30 p.m.
and for the Apache and nginx:
[root@srv-rhsoft:~]$ apachectl -t AH00526: Syntax error on line 14 of /etc/httpd/conf/httpd-prefork.conf: Invalid command 'ddd=dfdfdf', perhaps misspelled or defined by a module not included in the server configuration
where is something similar for mariadb/mysqld *before* restart the service?
There kind of is as of mysql 8.x (and I assume 10.4.x maria, haven't migrated/tested yet so not sure) mysqld --validate-config https://dev.mysql.com/doc/refman/8.0/en/server-configuration-validation.html Could be a nice feature to backport to older trees .. rr