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-27, 08:16:47

Author Topic: (Solved) Nor work HTTPD  (Read 6123 times)

0 Members and 1 Guest are viewing this topic.

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
(Solved) Nor work HTTPD
« 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?

« Last Edit: 2015-07-01, 14:26:37 by azzureal »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Nor work HTTPD
« Reply #1 on: 2015-07-01, 13:58:44 »
Inform here 'sh /script/sysinfo; yum list installed httpd* mod_* bind* *-toaster'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: Nor work HTTPD
« Reply #2 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'

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: Nor work HTTPD
« Reply #3 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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Nor work HTTPD
« Reply #4 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.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Nor work HTTPD
« Reply #5 on: 2015-07-01, 14:09:29 »
Don't use rpmforge because possible conflict with default repo from Kloxo-MR (aka mratwork.repo).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: Nor work HTTPD
« Reply #6 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.
« Last Edit: 2015-07-01, 14:18:58 by azzureal »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Nor work HTTPD
« Reply #7 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
« Last Edit: 2015-07-01, 14:37:13 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline azzureal

  • Master
  • **
  • Posts: 420
  • Karma: +1/-0
    • View Profile
Re: (Solved) Nor work HTTPD
« Reply #8 on: 2015-07-01, 14:27:07 »
Sucess after delete rpmforge.

Thanks

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.043 seconds with 18 queries.

web stats analysis