Problem with ServerRoot /etc/httpd

unique2world

Verified User
Joined
Dec 30, 2013
Messages
25
Location
./
Hi
How to fix it?

-- Unit nginx.service has begun starting up.
Sep 07 19:21:06 server.site.com nginx[8164]: nginx: [emerg] unknown directive "ServerRoot" in /usr/local/directadmin/data/users/admin/nginx.conf:16
Sep 07 19:21:06 server.site.com nginx[8164]: nginx: configuration file /etc/nginx/nginx.conf test failed
Sep 07 19:21:06 server.site.com systemd[1]: nginx.service: control process exited, code=exited status=1
Sep 07 19:21:06 server.site.com systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
 
What's the output of:
Code:
grep -r ServerRoot /usr/local/directadmin/data/templates/

You may also have custom code defined in "Customize HTTPd Configuration" on admin level.
 
output:
Code:
/usr/local/directadmin/data/templates/httpd.conf:ServerRoot "/etc/httpd"



No

How to fix it?
I’d suggest opening a support ticket, as it’s most likely custom configuration/customization on the system.
 
Back
Top