MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Spacedust on 2018-04-18, 12:29:19

Title: (2)No such file or directory: AH00099: could not create /run/httpd/httpd.pid
Post by: Spacedust on 2018-04-18, 12:29:19
After upgrading nginx and httpd to latest versions I got this:

Quote
[Wed Apr 18 12:33:26 2018] [suexec:notice] [pid 3836] [mod_suexec.c(101):] [AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)] [domain.com]
[Wed Apr 18 12:33:27 2018] [-:notice] [pid 3839] [fcgi_pm.c(1734):] [FastCGI: process manager initialized (pid 3839)] [online2.pl]
[Wed Apr 18 12:33:27.287162 2018] [core:error] [pid 3837:tid 140444696545248] (2)No such file or directory: AH00099: could not create /run/httpd/httpd.pid
[Wed Apr 18 12:33:27.287231 2018] [core:error] [pid 3837:tid 140444696545248] AH00100: httpd: could not log pid to file /run/httpd/httpd.pid
[Wed Apr 18 12:33:27 2018] [-:alert] [pid 3839] [fcgi_pm.c(951):] [FastCGI: read() from pipe failed (0)] [domain.com]
[Wed Apr 18 12:33:27 2018] [-:alert] [pid 3839] [fcgi_pm.c(954):] [FastCGI: the PM is shutting down, Apache seems to have disappeared - bye] [domain.com]
Title: Re: (2)No such file or directory: AH00099: could not create /run/httpd/httpd.pid
Post by: Spacedust on 2018-04-18, 12:32:56
Adding a line to /etc/httpd.conf fixed the problem:

Quote
PidFile /var/run/httpd.pid
Title: Re: (2)No such file or directory: AH00099: could not create /run/httpd/httpd.pid
Post by: LotsOfQ on 2018-04-26, 03:32:01
Can't find /etc/httpd.conf
Are you sure it's the right location?