Comments on: How to Install Nginx 1.15, MariaDB 10 and PHP 7 on CentOS 7 https://www.tecmint.com/install-nginx-mariadb-php-rhel-centos-fedora/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 07 Mar 2019 09:10:36 +0000 hourly 1 By: anonymouse https://www.tecmint.com/install-nginx-mariadb-php-rhel-centos-fedora/comment-page-1/#comment-911650 Thu, 07 Sep 2017 20:28:16 +0000 http://tecmint.com/?p=212#comment-911650 Hi,

When I will restart nginx service, i get below error:

[root@localhost ~]# systemctl restart nginx
Job for nginx.service failed because the control process exited with error code. 
See "systemctl status nginx.service" and "journalctl -xe" for details.

Then, i run jounalctl -xe command, so i get this error:

-- Unit nginx.service has begun starting up.
سپتامبر 07 10:43:22 localhost.localdomain nginx[15561]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
سپتامبر 07 10:43:22 localhost.localdomain nginx[15561]: nginx: [emerg] open() "/srv/www/testsite/logs/access.log" failed (13:
سپتامبر 07 10:43:22 localhost.localdomain nginx[15561]: nginx: configuration file /etc/nginx/nginx.conf test failed
سپتامبر 07 10:43:22 localhost.localdomain systemd[1]: nginx.service: control process exited, code=exited status=1
سپتامبر 07 10:43:22 localhost.localdomain systemd[1]: Failed to start nginx - high performance web server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx.service has failed.
--
-- The result is failed.
سپتامبر 07 10:43:22 localhost.localdomain systemd[1]: Unit nginx.service entered failed state.
سپتامبر 07 10:43:22 localhost.localdomain systemd[1]: nginx.service failed.
سپتامبر 07 10:43:22 localhost.localdomain polkitd[599]: Unregistered Authentication Agent for unix-process:15555:5312320 (syste
[root@localhost ~]#

How I can solve this problem? please help me.

]]>
By: Rojo https://www.tecmint.com/install-nginx-mariadb-php-rhel-centos-fedora/comment-page-1/#comment-876505 Sat, 18 Mar 2017 17:28:52 +0000 http://tecmint.com/?p=212#comment-876505 What is the problem, Ravi? How can I fix it?

2017/03/18 13:06:48 [error] 5956#0: *8012409 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 5.111.252.13, server: https://akatorrent.com, request: “GET /movies.php?genre=horror HTTP/1.1”, upstream: “fastcgi://unix:/tmp/php_fpm.sock:”, host: “https://akatorrent.com”

]]>
By: Danny Tosic https://www.tecmint.com/install-nginx-mariadb-php-rhel-centos-fedora/comment-page-1/#comment-831525 Tue, 25 Oct 2016 03:37:37 +0000 http://tecmint.com/?p=212#comment-831525 In reply to d4jk4.

The website torrent4all.com is work normally?

You should check your error log carefully, “GET /wp-login.php HTTP/1.1”

I think it is wrong path

]]>
By: d4jk4 https://www.tecmint.com/install-nginx-mariadb-php-rhel-centos-fedora/comment-page-1/#comment-831251 Mon, 24 Oct 2016 02:04:30 +0000 http://tecmint.com/?p=212#comment-831251 Hi team,

I was followed this tutorial, everything works fine except an error in error log, many logs was generated

2016/10/22 21:39:27 [error] 3044#0: *413880 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, 
client: 43.240.102.18, server: http://torrent4all.com, request: "GET /wp-login.php HTTP/1.1", 
upstream: "fastcgi://unix:/tmp/php_fpm.sock:", host: "torrent4all.com"

What kind of this error, team? And how can I fix it?

]]>
By: PhpMyAdmin 4.2.2 Released - Install for Apache or Nginx on RHEL/CentOS 6.5/5.9 Fedora 20-12 https://www.tecmint.com/install-nginx-mariadb-php-rhel-centos-fedora/comment-page-1/#comment-811775 Thu, 01 Sep 2016 07:08:39 +0000 http://tecmint.com/?p=212#comment-811775 […] Install LEMP Stack on RHEL/CentOS 7/6 & Fedora 24-18 […]

]]>