LibreNMS not send emails , What Tshoot can I do it?

I try to configure librenms to send email but still issues .

First you need to solve your missing PHP module. Seems you’ve not installed the PHP-XML module.

./validate must be clean before going further.

Thank you “FTBZ” for reply , How to solve it PHP-XML module ?

I’m not an Ubuntu expert, but probably by this command:

apt install php7.0-xml

Ok i going to do it now .

step1
apt install php7.0-xml
step2
systemctl restart php7.0-fpm.service
systemctl reload php7.0-fpm.service
./validate.php

The database issue is not important, you can run the query.

Watch query can i run it ?

Run it in a mysql prompt:

mysql -u librenms -p librenms

Then enter the mysql password from config.php.

As for mail not sending, create a rule that would trigger then use the test scripts we have: https://docs.librenms.org/#Alerting/Testing/