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-28, 16:08:07

Author Topic: Apache starting problem - Kloxo MR 7  (Read 11340 times)

0 Members and 1 Guest are viewing this topic.

Offline mehawk

  • Valuable Member
  • *
  • Posts: 63
  • Karma: +0/-0
    • View Profile
    • Xplore Tech
Apache starting problem - Kloxo MR 7
« on: 2016-03-16, 10:51:29 »
Hello,

I before the second last update I was using Apache 2.4 with nginx proxy with varnish cache server. When i updated kloxo apache 2.4 and apache 2.2 failed to start so i switched to nginx and disabled varnish cache. After that i updated kloxo to most recent version and tried following things:

- switched to apache 2.2 from kloxo admin panel
- executed sh /script/fix-all via SSH
- executed sh /script/restart-all via SSH

every thing went fine except apache.

Code: [Select]
*** Process for HTTPD service ***
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/perl.conf: Cannot load /etc/httpd/modules/mod_perl.so into server: /etc/httpd/modules/mod_perl.so: cannot open shared object file: No such file or directory
                                                           [FAILED]
  - Process with 'httpd': restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/perl.conf: Cannot load /etc/httpd/modules/mod_perl.so into server: /etc/httpd/modules/mod_perl.so: cannot open shared object file: No such file or directory

p.s right now i am switching back to nginx untill we have a solution for apache
Website Designing, Development, Kloxo MR Based Hosting : https://www.xploretech.net | https://www.heraldlynx.com
Social Network: https://www.socialbees.me

Offline zenkul

  • Global Moderator
  • Master
  • *****
  • Posts: 383
  • Karma: +3/-0
    • View Profile
    • home & decor
Re: Apache starting problem - Kloxo MR 7
« Reply #1 on: 2016-03-16, 10:59:22 »
delete file "perl.conf"    

/ etc / httpd / conf.d / perl.conf    
easy, secure and speed up web panel ===> Kloxo-MR

Offline mehawk

  • Valuable Member
  • *
  • Posts: 63
  • Karma: +0/-0
    • View Profile
    • Xplore Tech
Re: Apache starting problem - Kloxo MR 7
« Reply #2 on: 2016-03-16, 11:12:59 »
ok after

Code: [Select]
rm /etc/httpd/conf.d/perl.conf

here is the result
Code: [Select]

*** Process for HTTPD service ***
Starting httpd:                                            [  OK  ]
  - Process with 'httpd': restart
Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]


Website Designing, Development, Kloxo MR Based Hosting : https://www.xploretech.net | https://www.heraldlynx.com
Social Network: https://www.socialbees.me

Offline zenkul

  • Global Moderator
  • Master
  • *****
  • Posts: 383
  • Karma: +3/-0
    • View Profile
    • home & decor
Re: Apache starting problem - Kloxo MR 7
« Reply #3 on: 2016-03-16, 11:22:38 »
reboot
easy, secure and speed up web panel ===> Kloxo-MR

Offline mehawk

  • Valuable Member
  • *
  • Posts: 63
  • Karma: +0/-0
    • View Profile
    • Xplore Tech
Re: Apache starting problem - Kloxo MR 7
« Reply #4 on: 2016-03-16, 13:21:06 »
after reboot

Code: [Select]
*** Process for HTTPD service ***
  - No need started
  - Process with 'httpd': restart
Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
Website Designing, Development, Kloxo MR Based Hosting : https://www.xploretech.net | https://www.heraldlynx.com
Social Network: https://www.socialbees.me

Offline mehawk

  • Valuable Member
  • *
  • Posts: 63
  • Karma: +0/-0
    • View Profile
    • Xplore Tech
Re: Apache starting problem - Kloxo MR 7
« Reply #5 on: 2016-03-16, 13:24:51 »
netstat -tulpn | grep :80

gives me this

Code: [Select]
tcp        0      0 :::80                       :::*                        LISTEN      1060/httpd
Website Designing, Development, Kloxo MR Based Hosting : https://www.xploretech.net | https://www.heraldlynx.com
Social Network: https://www.socialbees.me

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Apache starting problem - Kloxo MR 7
« Reply #6 on: 2016-03-16, 13:49:52 »
Try 'yum reinstall httpd* -y; sh /script/restart-all -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mehawk

  • Valuable Member
  • *
  • Posts: 63
  • Karma: +0/-0
    • View Profile
    • Xplore Tech
Re: Apache starting problem - Kloxo MR 7
« Reply #7 on: 2016-03-25, 16:28:56 »
Code: [Select]
Try 'yum reinstall httpd* -y; sh /script/restart-all -y'.
i tried here is the result:
Quote
Starting httpd: httpd.event: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/perl.conf: Cannot load /etc/httpd/modules/mod_perl.so into server: /etc/httpd/modules/mod_perl.so: cannot open shared object file: No such file or directory
Website Designing, Development, Kloxo MR Based Hosting : https://www.xploretech.net | https://www.heraldlynx.com
Social Network: https://www.socialbees.me

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Apache starting problem - Kloxo MR 7
« Reply #8 on: 2016-03-25, 17:05:52 »
Try 'rm -f /etc/httpd/conf.d/perl.conf; sh /script/restart-web -y'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline mehawk

  • Valuable Member
  • *
  • Posts: 63
  • Karma: +0/-0
    • View Profile
    • Xplore Tech
Re: Apache starting problem - Kloxo MR 7
« Reply #9 on: 2016-03-25, 20:00:45 »
Quote
[root@server1 ~]# rm -f /etc/httpd/conf.d/perl.conf; sh /script/restart-web -y

Stopping php56m-fpm:                                       [  OK  ]
Starting php56m-fpm:                                       [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd:                                            [  OK  ]

Now my websites are showing kloxo default pagge
Website Designing, Development, Kloxo MR Based Hosting : https://www.xploretech.net | https://www.heraldlynx.com
Social Network: https://www.socialbees.me

Offline jtaco263

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: Apache starting problem - Kloxo MR 7
« Reply #10 on: 2016-03-25, 22:56:51 »
Quote
[root@server1 ~]# rm -f /etc/httpd/conf.d/perl.conf; sh /script/restart-web -y

Stopping php56m-fpm:                                       [  OK  ]
Starting php56m-fpm:                                       [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd:                                            [  OK  ]

Now my websites are showing kloxo default pagge

try this:
Code: [Select]
pkill -9 httpd; sh /script/restart-web -y; sh /script/restart-web -y
i fixed with that code

Offline mehawk

  • Valuable Member
  • *
  • Posts: 63
  • Karma: +0/-0
    • View Profile
    • Xplore Tech
Re: Apache starting problem - Kloxo MR 7
« Reply #11 on: 2016-03-26, 06:37:09 »
ok guys its strange i have tried it many time time but this time my procedure worked:

I tried following:

From 'switch program' i switched to Apache for web and Apache 2.4

cache turned off

then i tried following commands:

Quote
sh /script/upcp

then everything start working

one thing i didn't i understand why varnish cache is running when i have turned it off.

Quote
-------------------------------------------------------------------

Stopping Varnish Cache:                                    [  OK  ]
Starting Varnish Cache:                                    [  OK  ]
-------------------------------------------------------------------

i mean doesn't matter for me if it runs or not but i want to know why it is running when i have turned it off
Website Designing, Development, Kloxo MR Based Hosting : https://www.xploretech.net | https://www.heraldlynx.com
Social Network: https://www.socialbees.me

Offline mehawk

  • Valuable Member
  • *
  • Posts: 63
  • Karma: +0/-0
    • View Profile
    • Xplore Tech
Re: Apache starting problem - Kloxo MR 7
« Reply #12 on: 2016-03-26, 06:46:25 »
@MRatWork

I know these problem occurs in every program its not big deal.. what i want to say is, I am really thankful to you that you made an awesome Web Control Panel. I mean no other Web Control Panel can compete Kloxo MR 7. Its an awesome piece of work. Thank you Mustafa for making this and providing support for this.

Best Regards,
Muhammad Mehroz Anjum
Website Designing, Development, Kloxo MR Based Hosting : https://www.xploretech.net | https://www.heraldlynx.com
Social Network: https://www.socialbees.me

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Apache starting problem - Kloxo MR 7
« Reply #13 on: 2016-03-26, 06:55:03 »
Try 'chkconfig varnish off; service varnish stop; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.059 seconds with 18 queries.

web stats analysis