Page 1 of 1

Nginx & Named wont start after trying to add Webmail

Posted: Fri Apr 22, 2016 3:37 pm
by daz1uk
Hi all, hope you can help.

I tried to install webmail today to view my emails, I used a command found on these forums:

wget http://c.vestacp.com/0.9.8/rhel/httpd-webmail.conf -O /etc/httpd/conf.d/httpd-webmail.conf

I then attempted to restart httpd and nginx, I then got the issue that nginx couldn't restart.

I rebooted and updated my VPS, now nginx and named fail to start.

I have tried setting my templates both to default, rebuilding and restarting but this has failed.

Please help.

Re: Nginx & Named wont start after trying to add Webmail

Posted: Fri Apr 22, 2016 3:45 pm
by daz1uk
Hi,

I ran nxginx -t and received the following, if it helps:

nginx: [emerg] the same path name "/var/cache/nginx/gotXXXXXXXXX.com" used in /etc/nginx/conf.d/01_caching_pool.conf:1 and in /etc/nginx/conf.d/01_caching_pool.conf:2
nginx: configuration file /etc/nginx/nginx.conf test failed

Re: Nginx & Named wont start after trying to add Webmail

Posted: Fri Apr 22, 2016 3:49 pm
by daz1uk
Hi,

Fixed by removing duplicate lines.

Re: Nginx & Named wont start after trying to add Webmail

Posted: Fri Apr 22, 2016 10:07 pm
by Falzo
the command above won't install a webmailer, it's just a config file for apache...
the problem with nginx not restarting is probably not even related to this.