Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-20, 15:01:12

Author Topic: Apache 2.4 not working correctly  (Read 13703 times)

0 Members and 1 Guest are viewing this topic.

Offline tega

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: Apache 2.4 not working correctly
« Reply #15 on: 2016-01-14, 09:34:18 »
Oh finally it looks now the apache 2.4 has the correct configuration.

Code: [Select]
httpd -v
Server version: Apache/2.4.18 (Red Hat)

But now I have a new issue:
Code: [Select]
service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: no listening sockets available, shutting down
AH00015: Unable to open logs
                                                           [FAILED]

So I checked netstat nothing is running on the port 80 (or 443)
Code: [Select]
netstat -an | grep LISTEN
tcp        0      0 127.0.0.1:7776              0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:7779                0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:55333               0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:52777               0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:50001               0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:52778               0.0.0.0:*                   LISTEN
tcp        0      0 :::25                       :::*                        LISTEN
tcp        0      0 :::993                      :::*                        LISTEN
tcp        0      0 :::995                      :::*                        LISTEN
tcp        0      0 :::22                        :::*                        LISTEN
tcp        0      0 :::3306                     :::*                        LISTEN
tcp        0      0 :::587                      :::*                        LISTEN
tcp        0      0 :::110                      :::*                        LISTEN
tcp        0      0 :::143                      :::*                        LISTEN
tcp        0      0 :::465                      :::*                        LISTEN

Also I rebooted the server after getting apache working, iptables is completely clear of rules and /etc/hosts is correctly set.

So what could be the problem for this new issue?

Offline tega

  • Valuable Member
  • *
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: Apache 2.4 not working correctly
« Reply #16 on: 2016-01-14, 09:47:16 »
Nevermind I finally figured it out the problem, basically, by comparing the files with my backup I noticed that the file /etc/httpd/conf.d/~lxcenter.conf was missing, which contains the includes for the domain config files right?

so I just run sh /script/apache-optimize and the file ~lxcenter.conf was generated!

Finally looks like everything is working fine as it was before, I apologize for being a pain in the but! Thanks for the support Mustafa for the support. I will try to donate you something, being a long time user of Kloxo it's only fair.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Apache 2.4 not working correctly
« Reply #17 on: 2016-01-14, 10:35:11 »
I have a plan to change how to Kloxo-MR handling web server. Two options:

1. Install all web server together and then on/off for their services depend on what's we want. Sadly this appoarch not work if we want apache 2.2 and apache 2.4 installed together. Need recompile apache 2.4 with special treatment, or

2. Extract all web server binary in /opt but need special treatment for their init and configure. This trick like I did for 'multiple php'.
« Last Edit: 2016-01-14, 10:37:14 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.027 seconds with 22 queries.

web stats analysis