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, 06:25:11

Author Topic: httpd cannot start  (Read 5833 times)

0 Members and 1 Guest are viewing this topic.

Offline lewisngai

  • Junior Member
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
httpd cannot start
« on: 2013-02-09, 22:10:53 »
Hi, I am installing the Kloxo-MR on Centos 5.9 64bit... and found that the webserver is stopped... then I tried to restart it, it gave me the syntax errors:

[root@server conf]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf.d/suphp52.conf: Cannot load /etc/httpd/modules/mod_suphp.so into server: /etc/httpd/modules/mod_suphp.so: cannot open shared object file: No such file or directory
                                                           [FAILED]

How can I fix this?  Thank you.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: httpd cannot start
« Reply #1 on: 2013-02-09, 22:16:44 »
Quote from: "lewisngai"
Hi, I am installing the Kloxo-MR on Centos 5.9 64bit... and found that the webserver is stopped... then I tried to restart it, it gave me the syntax errors:

[root@server conf]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf.d/suphp52.conf: Cannot load /etc/httpd/modules/mod_suphp.so into server: /etc/httpd/modules/mod_suphp.so: cannot open shared object file: No such file or directory
                                                           [FAILED]

How can I fix this?  Thank you.
Maybe something wrong with suphp.

Try change to other (mod_php_ruid2) and then change back to previous with secondary enable. Better use php53u as php-branch. Try 'sh /script/fixweb; service httpd restart; service nginx restart; service php-fpm restart' also.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline lewisngai

  • Junior Member
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: httpd cannot start
« Reply #2 on: 2013-02-09, 22:40:49 »
I have tried what you said but the same errors still exist...
But I noticed 1 thing is that no matter how I change the PHP-type in panel, it will change back to the suphp after refresh or reboot...

More setting info:
webserver: nginxproxy
php-branch: php53u
php-type:suphp (forced... I can't change??)

How to do?  Thank you...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline lewisngai

  • Junior Member
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: httpd cannot start
« Reply #3 on: 2013-02-09, 22:49:32 »
Fine.... Suddenly.... okay now...

After I changed the php type to suphp-event this time, it holds, then I change to phpfpm-event, and everything is okay now...

don't know why, anyway, many thanks...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.061 seconds with 18 queries.

web stats analysis