Restart httpd not working in Directadmin and SSH
error message
“An error has occurred
Details
/sbin/service httpd restart 2>&1
or
Job for httpd.service failed. See ‘systemctl status httpd.service’ and ‘journalctl -xn’ for details.
Solution
cd /usr/local/directadmin/custombuild
./build update
./build apache
./build rewrite_confs