LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-21-2018, 05:11 PM   #1
606166
LQ Newbie
 
Registered: Nov 2017
Location: Severna Park Maryland
Distribution: CentOS, Elementary OS, Windows 7
Posts: 15

Rep: Reputation: Disabled
Apache web server on CENTOS "Job for httpd.service failed"


Trying to get apache working following this guide:
https://www.tecmint.com/things-to-do...stallation/#C2

Fairly easy guide and quite helpful. Apache isn't too happy though:
https://imgur.com/a/NUAKC

thanks in advance
 
Old 02-21-2018, 07:02 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,730

Rep: Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920Reputation: 5920
How is VirtualBox networking configured for you guest? NetworkManager controls the network these days and there are more steps required to configure a static IP address then posted in the guide. I hope you did not use the exact values shown in the guide since they may not match your actual environment.

So you could have an address conflict, port conflict or selinux preventing apache from listening on the desired port. What happens if you change 3221 back to 80?

https://wiki.apache.org/httpd/CouldNotBindToAddress
 
Old 02-21-2018, 11:03 PM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
It looks like it could, be related selinux policies. Maybe try it with selinux permissive.
 
Old 02-22-2018, 06:54 AM   #4
Hostech_Support
Member
 
Registered: Oct 2017
Location: India
Posts: 41

Rep: Reputation: Disabled
Quote:
Originally Posted by 606166 View Post
Trying to get apache working following this guide:
https://www.tecmint.com/things-to-do...stallation/#C2

Fairly easy guide and quite helpful. Apache isn't too happy though:
https://imgur.com/a/NUAKC

thanks in advance
>> What apachectl configtest shows? Apache error log could provide more info about the error.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie with Apache Server question "ervice - The Apache HTTP Server" vs. "Service - The Apache HTTP Server" HYEARWOOD Linux - Newbie 5 10-17-2017 02:38 AM
Job Failed Error after trying to use the "service mysqld start" command? j3llimari3 Linux - Newbie 2 09-04-2015 10:28 AM
Centos Server Failed @ Bootup: Missing "/sbin/blkid" & "fsck" command not found beagle7 Linux - Newbie 4 08-24-2012 01:33 AM
"nmcli con" failed "Can't obtain connections: settings service is not running." parcox Slackware 2 08-14-2012 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration