Nginx/Apache/Httpd

Issues related to configuring your network
Post Reply
scatterbrainz
Posts: 11
Joined: 2018/12/23 22:00:34

Nginx/Apache/Httpd

Post by scatterbrainz » 2018/12/23 22:04:48

Hey Everyone,

I'm really new to centOS, I've only dabbled with a few other installs of linux distro's. Anyway, I seem to running into a challenge. I tried to install nginx on the system, it says it couldn't start the service, port in use 0.0.0.0:80 --> 13011/nginx: master was on it? So I was speaking with a friend of mine, and he suggested I use apache instead. The challenge is though, now even after deleting the caches and associated files, i still get 0.0.0.0:80/nginx: master and same on :::80 nginx/master, when i try to install httpd.service. SO I'm wondering where I'm going wrong? Does centOS install something by default I don't know, for port 80?

Thanks a bunch

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Nginx/Apache/Httpd

Post by avij » 2018/12/24 08:13:21

Are you maybe using some sort of a control panel software, such as Cpanel?

scatterbrainz
Posts: 11
Joined: 2018/12/23 22:00:34

Re: Nginx/Apache/Httpd

Post by scatterbrainz » 2018/12/24 17:03:26

not that I'm aware of, how could I check? everything i've done thus far, is CLI, and I think i can get into a desktop - gnome, if i run "X"....i forget the exact commands, still memorizing them.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Nginx/Apache/Httpd

Post by avij » 2018/12/25 15:14:41

The reason I asked was that CentOS does not install nginx by default. It is not even shipped in the CentOS base repositories. Some control panel software ship their own copy of nginx, or you may have installed it from some other source.

If you are using some sort of a standard installation, yum remove nginx may help. This will remove nginx from your system. If this does not work, you will need to figure out how nginx got installed on your system in the first place.

scatterbrainz
Posts: 11
Joined: 2018/12/23 22:00:34

Re: Nginx/Apache/Httpd

Post by scatterbrainz » 2019/01/02 12:03:05

Ok, so I've been going into "the box" as i call it, and i did a systemctl this morning, it shows me....httpd.service loaded/failed/failed The Apache Http Service and also nginx.service loaded failed/failed The nginx http and reverse proxy service.

The thing for me, is don't know what would cause it not to load. I could uninstall both ...but I thought I already uninstalled nginx, so i'm not sure why its still there.

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Nginx/Apache/Httpd

Post by TrevorH » 2019/01/02 12:15:36

Pick one of nginx OR httpd. Not both.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

scatterbrainz
Posts: 11
Joined: 2018/12/23 22:00:34

Re: Nginx/Apache/Httpd

Post by scatterbrainz » 2019/01/02 12:22:40

well I wasn't aware apache was installed, does it come bundled?

scatterbrainz
Posts: 11
Joined: 2018/12/23 22:00:34

Re: Nginx/Apache/Httpd

Post by scatterbrainz » 2019/01/02 20:14:03

Hey All,

So i think I got nginx completely removed from the system, it doesn't show up anywhere;

when i check the status of httpd. it says Apache HTTP server
Loaded
Active: Active,
but under Process: 4149 ExecStop=/bin/kill -WINCH ${MainPID} {code=exited, status=1/failure}
MAINPID: 4320 (httpd)
Status: "total requests...."
Tasks 6

Can i confirm this means that the apache httpd web server is up and running properly with this information?

Thanks.

Post Reply