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-19, 20:35:23

Author Topic: httpd stops after adding domain  (Read 7718 times)

0 Members and 1 Guest are viewing this topic.

Offline brianhill

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
httpd stops after adding domain
« on: 2017-03-11, 12:39:52 »
Hi, after installing kloxo-mr in centos6.5. Apache stops after adding domain. It's working again after editing httpd.conf by enabling "LISTEN 80". But it stops again after adding any new domain, the httpd.conf will be rewrited and "LISTEN 80" is disable again.

I have sent you the server info through pm. Please help check how to fix this issue. Thank you so much.

httpd no listening sockets available shutting down

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd stops after adding domain
« Reply #1 on: 2017-03-11, 12:45:19 »
Inform here 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline brianhill

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: httpd stops after adding domain
« Reply #2 on: 2017-03-11, 13:22:32 »
[root@ab ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017030803
   - Web: hiawatha-10.5.0-f.2.mr.el6.x86_64
   - PHP: php56s-5.6.30-1.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: ab.abcdg.com
C. Services:
   1. MySQL: MariaDB-server-10.0.30-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.30-1.ius.centos6.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.5.0-f.2.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
     - Nginx: nginx-1.11.10-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.25-3.ius.centos6.x86_64
       - PHP Type: php-fpm_event (default)
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          7870        508       7361          0         24        161
-/+ buffers/cache:        322       7548
Swap:         2047          0       2047
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1       235G  2.3G  221G   1% /


*** Process Time: 00:00:00:16.16923 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd stops after adding domain
« Reply #3 on: 2017-03-11, 14:08:02 »
Try update with 'yum clean all; yum update -y; sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline brianhill

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: httpd stops after adding domain
« Reply #4 on: 2017-03-11, 14:42:48 »
Sme result after yum update.


[root@ab ~]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: no listening sockets available, shutting down
AH00015: Unable to open logs
                                                           [FAILED]

Below is the code i used to install the kloxo-mr.
cd /tmp
rm -f mratwork*
wget https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/noarch/mratwork-release-0.0.1-1.noarch.rpm --no-check-certificate
rpm -ivh mratwork-release-0.0.1-1.noarch.rpm
cd /
yum clean all
yum update mratwork-* -y
yum install kloxomr7 -y
sh /script/upcp

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd stops after adding domain
« Reply #5 on: 2017-03-11, 15:14:07 »
Try 'sh /script/fixweb; sh /script/restart-web'. But, make sure your Kloxo-MR using 'Kloxo-MR: 7.0.0.c-2017031002' or newer (test with 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline brianhill

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: httpd stops after adding domain
« Reply #6 on: 2017-03-11, 15:24:35 »
My version is Kloxo-MR: 7.0.0.c-2017030803
It looks like my version is a littler older than Kloxo-MR: 7.0.0.c-2017031002. How can i upgrade to newer version?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd stops after adding domain
« Reply #7 on: 2017-03-11, 15:27:03 »
Run 'yum clean all; yum update -y' not work?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline brianhill

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: httpd stops after adding domain
« Reply #8 on: 2017-03-11, 15:44:36 »
After running update, the version is still Kloxo-MR: 7.0.0.c-2017030803

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd stops after adding domain
« Reply #9 on: 2017-03-11, 15:52:16 »
Open '/etc/yum.repos.d/mratwork.repo' and change 'mirrorlist=https://github.com/mustafaramadhan' to '#mirrorlist=https://github.com/mustafaramadhan' and then:
Code: [Select]
'rm' -f /var/lib/rpm/__db*
rpm --rebuilddb
yum clean all
yum update -y
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline brianhill

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: httpd stops after adding domain
« Reply #10 on: 2017-03-11, 16:15:07 »
The version is correct now. But after running "sh /script/fixweb; sh /script/restart-web", the httpd is still down.

*** Process for HTTPD service ***
  - Process: restart
Stopping httpd:                                            [FAILED]
Starting httpd: no listening sockets available, shutting down
AH00015: Unable to open logs
                                                           [FAILED]

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd stops after adding domain
« Reply #11 on: 2017-03-11, 16:55:34 »
Did you run 'sh /script/cleanup'?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline brianhill

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: httpd stops after adding domain
« Reply #12 on: 2017-03-11, 17:55:59 »
Just tried running it, but keep getting below error, still not finished.

https://mirror.chpc.utah.edu/pub/epel/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 400 Bad Request"
trying other mirror

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd stops after adding domain
« Reply #13 on: 2017-03-11, 18:01:15 »
Just tried running it, but keep getting below error, still not finished.

https://mirror.chpc.utah.edu/pub/epel/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 400 Bad Request"
trying other mirror
Not really issue if still continue to process.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline brianhill

  • Junior Member
  • *
  • Posts: 36
  • Karma: +0/-0
    • View Profile
Re: httpd stops after adding domain
« Reply #14 on: 2017-03-11, 18:42:08 »
It's done. But the problem is same. Cloud you help check this issue by login my vps? I have sent the info before through PM. Thank you so much.

 


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

Page created in 0.032 seconds with 18 queries.

web stats analysis