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, 2020 in Linux Administration by akhtar
• 38,260 points
5,437 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, 2020 by MD
• 95,460 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 14, 2019 in Linux Administration by Kiara
38,078 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, 2020 in Linux Administration by MD
• 95,460 points
14,421 views
0 votes
1 answer

Failed to start the Apache service

Hi@akhtar, I think port no. is busy. Some ...READ MORE

answered Jun 22, 2020 in Linux Administration by MD
• 95,460 points
6,095 views
0 votes
1 answer

Error: Failed to download metadata for repo 'epel-modular'

Hi@akhtar, Before running dnf repolist command, try to ...READ MORE

answered Jun 22, 2020 in Linux Administration by MD
• 95,460 points
6,068 views
+1 vote
1 answer
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,063 views
0 votes
2 answers

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

Hi guys I was facing same problem as ...READ MORE

answered Nov 21, 2020 in Linux Administration by anonymous
• 140 points
45,694 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP