MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: azzureal on 2015-07-01, 13:53:27

Title: (Solved) Nor work HTTPD
Post by: azzureal on 2015-07-01, 13:53:27
Fresh installed. I tried upcp -y many times.

I got 'Starting httpd: Syntax error on line 288 of /etc/httpd/conf/httpd.conf:
Invalid command 'SSLCompression', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]
[root@mkt7sv httpdocs]# yum install mod_ssl'

How can I solve?

Title: Re: Nor work HTTPD
Post by: MRatWork on 2015-07-01, 13:58:44
Inform here 'sh /script/sysinfo; yum list installed httpd* mod_* bind* *-toaster'.
Title: Re: Nor work HTTPD
Post by: azzureal on 2015-07-01, 14:03:09
I run 'yum replace mod_ssl --replace-with=mod24u_ssl -y' as another article.
Error disapeared

BUt I met another problem.

'Starting httpd: httpd: Syntax error on line 13 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_authn_alias.so into server: /etc/httpd/modules/mod_authn_alias.so: cannot open shared object file: No such file or directory'
Title: Re: Nor work HTTPD
Post by: azzureal on 2015-07-01, 14:06:34
[root@mkt7sv httpdocs]# yum list httpd*; dir -l /etc/yum.repos.d
Loaded plugins: fastestmirror, priorities, protectbase, replace, security
Loading mirror speeds from cached hostfile
Excluding mirror: data.nicehosting.co.kr
 * base: mirror.premi.st
Excluding mirror: data.nicehosting.co.kr
 * extras: mirror.premi.st
 * mratwork-epel: mirror.premi.st
 * mratwork-ius-stable: ftp.neowiz.com
 * rpmforge: ftp.neowiz.com
Excluding mirror: data.nicehosting.co.kr
 * updates: mirror.premi.st
0 packages excluded due to repository protections
Installed Packages
httpd24u.x86_64                                                         2.4.12-5.ius.el6                                                  @mratwork-ius-stable         
httpd24u-filesystem.noarch                                              2.4.12-5.ius.el6                                                  @mratwork-ius-stable         
httpd24u-tools.x86_64                                                   2.4.12-5.ius.el6                                                  @mratwork-ius-stable         
Available Packages
httpd.x86_64                                                            2.2.29-2.mr.el6                                                   mratwork-release-version-arch
httpd-devel.i686                                                        2.2.15-39.el6.centos                                              base                         
httpd-devel.x86_64                                                      2.2.29-2.mr.el6                                                   mratwork-release-version-arch
httpd-itk.x86_64                                                        2.2.22-7.el6                                                      mratwork-epel               
httpd-manual.noarch                                                     2.2.15-39.el6.centos                                              base                         
httpd-manual.x86_64                                                     2.2.29-2.mr.el6                                                   mratwork-release-version-arch
httpd-tools.x86_64                                                      2.2.29-2.mr.el6                                                   mratwork-release-version-arch
httpd24u-debuginfo.x86_64                                               2.4.12-5.ius.el6                                                  mratwork-ius-stable         
httpd24u-devel.x86_64                                                   2.4.12-5.ius.el6                                                  mratwork-ius-stable         
httpd24u-manual.noarch                                                  2.4.12-5.ius.el6                                                  mratwork-ius-stable         
total 48
-rw-r--r--. 1 root root 1991 Oct 23  2014 CentOS-Base.repo
-rw-r--r--. 1 root root  647 Oct 23  2014 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root  630 Oct 23  2014 CentOS-Media.repo
-rw-r--r--. 1 root root 5394 Oct 23  2014 CentOS-Vault.repo
-rw-r--r--. 1 root root  289 Oct 23  2014 CentOS-fasttrack.repo
-rw-r--r--. 1 root root  739 Mar 20  2013 mirrors-rpmforge
-rw-r--r--. 1 root root  717 Mar 20  2013 mirrors-rpmforge-extras
-rw-r--r--. 1 root root  728 Mar 20  2013 mirrors-rpmforge-testing
-rw-r--r--. 1 root root 7414 Jul  1 20:07 mratwork.repo
-rw-r--r--. 1 root root 1128 Mar 20  2013 rpmforge.repo
Title: Re: Nor work HTTPD
Post by: MRatWork on 2015-07-01, 14:08:21
In latest upload, just enough using 'sh /script/switch-apache httpd24'. But, before change to apache 2.4, default services running well.
Title: Re: Nor work HTTPD
Post by: MRatWork on 2015-07-01, 14:09:29
Don't use rpmforge because possible conflict with default repo from Kloxo-MR (aka mratwork.repo).
Title: Re: Nor work HTTPD
Post by: azzureal on 2015-07-01, 14:15:22
I reinstalled httpd. But the same error.

[root@mkt7sv ~]# /etc/init.d/httpd start
Starting httpd: Syntax error on line 288 of /etc/httpd/conf/httpd.conf:
Invalid command 'SSLCompression', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]

I deleted rpmforge.

I will run upcp -y again.
Title: Re: Nor work HTTPD
Post by: MRatWork on 2015-07-01, 14:19:09
I think (because using rpmforge.repo), your install incompletely (possible missing/conflict packages).

So, reinstall with:
Code: [Select]
mv -f /etc/yum.repos.d/rpmforge.repo /etc/yum.repos.d/rpmforge.nonrepo
yum clean all;
yum update
sh /script/upcp -y
Title: Re: (Solved) Nor work HTTPD
Post by: azzureal on 2015-07-01, 14:27:07
Sucess after delete rpmforge.

Thanks