MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: lewisngai on 2013-02-09, 22:10:53

Title: httpd cannot start
Post by: lewisngai 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.
Title: Re: httpd cannot start
Post by: MRatWork 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.
Title: Re: httpd cannot start
Post by: lewisngai 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...
Title: Re: httpd cannot start
Post by: lewisngai 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...