Job for nginx.service failed. See "systemctl status nginx.service" and "journalctl -xe" for details.

0 votes

Hi Guys, 

I installed nginx in my system. But when I tried to start its service, it shows me the below error.

$ systemctl start nginx
Job for nginx.service failed. See "systemctl status nginx.service" and "journalctl -xe" for details.
Apr 24 in Linux Administration by akhtar
• 11,270 points
84 views

1 answer to this question.

0 votes

Hi@akhtar,

I think you didn't install php-fpm rpm in your system. Nginx uses php in backend. So, you have to install php-fpm. Use this below given command to install.

$ yum install php-fpm

Hope this will solve your error.

answered Apr 24 by MD
• 24,500 points

Related Questions In Linux Administration

0 votes
1 answer

Error saying "Failed to start httpd.service: Unit httpd.service not found."

Execute the following steps or make sure ...READ MORE

answered May 13, 2019 in Linux Administration by Kiara
4,483 views
0 votes
1 answer

Failed to start httpd.service: Unit httpd.service is masked.

Hi@akhtar, A masked service is used to prevent ...READ MORE

answered Apr 23 in Linux Administration by MD
• 24,500 points
75 views
+1 vote
3 answers
0 votes
1 answer
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,420 points
498 views
0 votes
1 answer

Job for httpd.service failed because the control process exited with error code.

Hi@akhtar, This problem is caused due to SELinux. It ...READ MORE

answered Apr 23 in Linux Administration by MD
• 24,500 points
113 views