Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] nginx issue (I think)

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: nginx issue (I think)

#16 Post by debiman »

dcihon, how did you configure nginx?
did you edit anything in /etc/nginx?

dcihon
Posts: 279
Joined: 2012-09-23 16:18
Been thanked: 3 times

Re: nginx issue (I think)

#17 Post by dcihon »

The problem was in this file:
/etc/php/7.0/fpm/pool.d/www.conf

The line:
listen = /var/run/php-fpm.sock
needed to be:
listen = /var/run/php-fpm.socket

The error was shown in the nginx error.log file:
2018/02/23 09:19:05 [crit] 9067#9067: *2 connect() to unix:/var/run/php-fpm.socket failed (2: No such file or directory) while connecting to upstream, client: 40.84.45.176, server: _, request: "GET /mail/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.socket:", host: "dccathome.com"

I will mark this solved.
Thanks everyone for your help.
The answer finally came from iredmail support.

Post Reply