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-20, 09:46:46

Author Topic: [BUG - IMPORTANT] script/cleanup httpd and hiawatha  (Read 6780 times)

0 Members and 1 Guest are viewing this topic.

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Mustafa,

We removed httpd, all mod_* from our servers.  Hiawatha selected as webserver.  All running well.

sh /script/cleanup

Reinstalls httpd and httpd-tools and mod_perl!!

It removes hiawatha from start scripts and adds httpd.

Only way to fix is yum remove httpd* mod_*, select none for webserver, select hiawatha for webserver.  All running well.

I can not run cleanup script!  PLEASE FIX soon.  Thank you.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #1 on: 2014-07-22, 05:35:47 »
It appears you are installing mod_perl and httpd, httpd-tools are being installed as dependencies.  There needs to be a check before you install mod_* if httpd is even used!

This happens on every server, newest 6.5.1b.  Why does it remove hiawatha as webserver!  It breaks everything.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #2 on: 2014-07-22, 19:55:22 »
Mustafa where are you ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #3 on: 2014-07-23, 09:10:53 »
Kloxo-MR not remove hiawatha. You can see web__lib.php to know uninstallMeTrue and installMeTrue function.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #4 on: 2014-07-23, 15:33:33 »
Uninstall is wrong word, it shuts it off as webserver.  In panel it still says hiawatha, but /script/restart-all hiawatha as webserver does not start / stop.

THIS IS CONFIRMED ACROSS 5 SERVERS.  If I run /script/cleanup  same happens.

httpd, httpd-tools, mod_perl reinstalled, hiawatha shut off, no start / stop

Since panel still has hiawatha in switch programs, I must select 'none' for webserver, then 'hiawatha'.  Ssh: yum remove httpd* mod_*

This is a problem!
« Last Edit: 2014-07-23, 17:34:36 by chrisf »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #5 on: 2014-07-25, 17:01:14 »
please fix this
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #6 on: 2014-07-27, 20:17:19 »
WHY DIDN'T YOU FIX THIS ISSUE!

Just updated kloxoMR 6.5.1b and hiawatha 9.7b - CLEANUP script still installs httpd, httpd-tools, mod_perl AND disables hiawatha!

Code: [Select]
*** Executing Update (cleanup) - END ***

*** Restart services - BEGIN ***
Shutting down MySQL........                                [  OK  ]
Starting MySQL...                                          [  OK  ]
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Execute fixlxphpexe for php54s...
Stopping kloxo-phpcgi:                                     [  OK  ]                                                        [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php54m-fpm:                                       [  OK  ]
Starting php54m-fpm:                                       [  OK  ]
*** Restart services - END ***

Process Time: 00:00:03:16.196518 (dd:hh:mm:ss:xxxxxx)
[root@cc-server ~]#

SEE --- NO WEBSERVER IS STARTED

Before cleanup I have no httpd* or mod_* installed, AFTER CLEANUP

Code: [Select]
Removed:
  httpd.x86_64 0:2.2.27-1.mr.e6                                   httpd-tools.x86_64 0:2.2.27-1.mr.e6                             mod_perl.x86_64 0:2.0.4-11.el6_5                             
Complete!

STOP INSTALLING mod_perl when no proxy or apache is used!

PLEASE FIX THIS SOON
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #7 on: 2014-07-27, 20:23:23 »
Some apps need apache and it's make if not select apache/-nginx will be have a trouble.

This issue need re-construct web configs like phpm do (no install other web servers except apache but extract their rpms).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #8 on: 2014-07-27, 20:45:43 »
mod_perl is not needed if i am not using httpd!  If you stop installing it in cleanup script httpd won't be installed as dependency!

Simple, check if httpd is used, then install mod_perl, if not, don't!

I have php5xm installed, hiawatha only, httpd* REMOVED all running well!

WHY HIAWATHA ALWAYS GET TURNED OFF?
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #9 on: 2014-07-27, 21:32:59 »
Update your Kloxo-MR.

This issue just related to chkconfig of hiawatha.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #10 on: 2014-07-27, 22:38:37 »
That made it worse

Code: [Select]
*** Executing Update (cleanup) - END ***

*** Restart services - BEGIN ***
Shutting down MySQL.                                       [  OK  ]
Starting MySQL...                                          [  OK  ]
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
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/rpaf.conf: Cannot load /etc/httpd/modules/mod_rpaf-2.0.so into server: /etc/httpd/modules/mod_rpaf-2.0.so: cannot open shared object file: No such file or directory
                                                           [FAILED]
Stopping Hiawatha web server:                              [  OK  ]
Starting Hiawatha web server:                              [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Execute fixlxphpexe for php54s...
Stopping kloxo-phpcgi:                                     [  OK  ]                                                        [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Stopping php54m-fpm:                                       [  OK  ]
Starting php54m-fpm:                                       [  OK  ]
*** Restart services - END ***

Process Time: 00:00:02:12.132697 (dd:hh:mm:ss:xxxxxx)
[root@cc-server ~]#

Now httpd turned on!  I am not using httpd.  mod_perl still installed.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #11 on: 2014-07-27, 22:46:00 »
Change apache first and then change back to hiawatha.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #12 on: 2014-07-27, 22:53:59 »
I know how to fix, just want cleanup to work without switching, removing httpd.  You wrote cleanup like httpd will always be used.  This needs to be fixed.

Please STOP installing mod_perl if no httpd is used
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #13 on: 2014-08-01, 16:53:16 »
Everytime I update it gets worse.  Now httpd is ALWAYS turned on after cleanup.  I do not have apache/httpd selected, webserver is set 'hiawatha'.

mod_perl still being installed!  httpd, httpd-tools installed as dependency.  STOP the installing of mod_* if no apache/httpd used.
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [BUG - IMPORTANT] script/cleanup httpd and hiawatha
« Reply #14 on: 2014-08-02, 08:29:26 »
There are nothing wrong in vps of this forum (using hiawatha-proxy) or test server (next.potissima.com; using hiawatha) when running cleanup.

So, try change to lighttpd first and then change to hiawatha back. After that, run cleanup.

Install/remove rpm manually make confuse in Kloxo-MR.
..:: 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.082 seconds with 18 queries.

web stats analysis