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-05-11, 20:33:40

Author Topic: Update Kloxo-MR 6.5.0.f-2013081402  (Read 8493 times)

0 Members and 1 Guest are viewing this topic.

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Update Kloxo-MR 6.5.0.f-2013081402
« on: 2013-08-15, 00:11:18 »
Mustafa does not work after the update 'sh /script/restart-all'.
« 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: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #1 on: 2013-08-15, 00:19:49 »
Running' sh /script/cleanup' before 'sh /script/restart-all'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #2 on: 2013-08-15, 00:27:50 »
Quote from: "MRatWork"
Running' sh /script/cleanup' before 'sh /script/restart-all'.
Mustafa did so and did not work.
Code: [Select]
sh /script/restart
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
Code: [Select]
# sh /script/restart-all
#
« 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: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #3 on: 2013-08-15, 00:29:51 »
Try again 'sh /script/cleanup' before running 'sh /script/restart-all'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #4 on: 2013-08-15, 00:32:33 »
Quote from: "MRatWork"
Try again 'sh /script/cleanup' before running 'sh /script/restart-all'
Mustafa has already done three times this command and still does not work.
See post above for the results.
« 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: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #5 on: 2013-08-15, 00:35:09 »
inform here 'sh /script/sysinfo' to make sure fix for your issue.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #6 on: 2013-08-15, 00:36:49 »
Quote from: "MRatWork"
inform here 'sh /script/sysinfo' to make sure fix for your issue.
Code: [Select]
# sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2013081402

B. OS: CentOS release 6.4 (Final) x86_64

C. Apps:
   1. MySQL: MariaDB-server-10.0.3-1.x86_64
   2. PHP: php53u-5.3.27-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.25-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.5.2-1.el6.x86_64
   6. Qmail: qmail-toaster-1.03-1.3.27.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64
   7. Dns: bind-9.9.3-4.P2.el6.x86_64

D. Php-type (for Httpd/proxy): fcgid_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1536       1265        270          0          0        349
   -/+ buffers/cache:        916        619
   Swap:          512          0        512
« 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: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #7 on: 2013-08-15, 00:46:39 »
Try:
Code: [Select]
chkconfig mysql on
chkconfig httpd on
chkconfig nginx on
chkconfig qmail on
chkconfig named on
chkconfig kloxo on
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #8 on: 2013-08-15, 00:49:15 »
Quote from: "MRatWork"
Try:
Code: [Select]
chkconfig mysql on
chkconfig httpd on
chkconfig nginx on
chkconfig qmail on
chkconfig named on
chkconfig kloxo on
Still does not work.
« 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: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #9 on: 2013-08-15, 00:54:04 »
It's weird. Give me your ssh and kloxo-mr panel access. Send via pm.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #10 on: 2013-08-15, 01:04:45 »
Quote from: "MRatWork"
It's weird. Give me your ssh and kloxo-mr panel access. Send via pm.
I sent.
Please write when you're done.
« 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: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #11 on: 2013-08-15, 02:02:34 »
The answer is simple.

See the code of restart-all:
Code: [Select]
#!/bin/sh

list=(named djbdns maradns httpd nginx lighttpd hiawatha php-fpm qmail xinetd mysqld mysql kloxo)

for item in ${list[*]}
do
if $(chkconfig --list|grep $item|grep -i ':on' >/dev/null 2>&1) && [ -f /etc/init.d/$item ] ; then
if [ $item == 'qmail' ] ; then
/etc/init.d/$item stop
/etc/init.d/$item start
else
/etc/init.d/$item restart
fi
fi
done
especially "chkconfig --list|grep $item|grep -i ':on" where '$item' is looping from list.

To know what service have exists detect with '-f /etc/init.d/$item' but not every service set as 'on' and then need latest detect with "chkconfig --list|grep $item|grep -i ':on".

This example for httpd in my server:
Code: [Select]
> chkconfig --list|grep httpd|grep -i ':on'
httpd           0:off 1:off 2:on 3:on 4:on 5:on 6:off
where httpd set as 'on' for runlevel 2,3,4 and 5.

Sadly, this info only for 'english' language.

In your server:
Code: [Select]
chkconfig --list|grep httpd
httpd           0:wy??czone     1:wy??czone     2:w??czone      3:w??czone     4:w??czone       5:w??czone      6:wy??czone
where ':on' is identical with 'wy??czone' and then script think no init need to restart.

For you, change ':on' to ':wy??czone' in '/script/restart-all' and '/usr/local/lxlabs/kloxo/pscript/restart-all'.

The same ways for other restart(s) like restart-web.

Better backup restart(s) files because update will be overwrite this files.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #12 on: 2013-08-15, 02:51:55 »
Quote from: "MRatWork"
The answer is simple.

See the code of restart-all:
Code: [Select]
#!/bin/sh

list=(named djbdns maradns httpd nginx lighttpd hiawatha php-fpm qmail xinetd mysqld mysql kloxo)

for item in ${list[*]}
do
if $(chkconfig --list|grep $item|grep -i ':on' >/dev/null 2>&1) && [ -f /etc/init.d/$item ] ; then
if [ $item == 'qmail' ] ; then
/etc/init.d/$item stop
/etc/init.d/$item start
else
/etc/init.d/$item restart
fi
fi
done
especially "chkconfig --list|grep $item|grep -i ':on" where '$item' is looping from list.

To know what service have exists detect with '-f /etc/init.d/$item' but not every service set as 'on' and then need latest detect with "chkconfig --list|grep $item|grep -i ':on".

This example for httpd in my server:
Code: [Select]
> chkconfig --list|grep httpd|grep -i ':on'
httpd           0:off 1:off 2:on 3:on 4:on 5:on 6:off
where httpd set as 'on' for runlevel 2,3,4 and 5.

Sadly, this info only for 'english' language.

In your server:
Code: [Select]
chkconfig --list|grep httpd
httpd           0:wy??czone     1:wy??czone     2:w??czone      3:w??czone     4:w??czone       5:w??czone      6:wy??czone
where ':on' is identical with 'wy??czone' and then script think no init need to restart.

For you, change ':on' to ':wy??czone' in '/script/restart-all' and '/usr/local/lxlabs/kloxo/pscript/restart-all'.

The same ways for other restart(s) like restart-web.

Better backup restart(s) files because update will be overwrite this files.
Mustafa knows how to fix this problem. Before updating to work properly.
« 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: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #13 on: 2013-08-15, 02:57:27 »
Yes, the previous code only detect via 'if [ -f /etc/init.d/$item ] ; then'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Viking

  • Senior Member
  • *
  • Posts: 315
  • Karma: +0/-0
    • View Profile
Re: Update Kloxo-MR 6.5.0.f-2013081402
« Reply #14 on: 2013-08-15, 03:08:55 »
Quote from: "MRatWork"
Yes, the previous code only detect via 'if [ -f /etc/init.d/$item ] ; then'
Change: on the: wy??czone?
After the Polish "on" means "w??czony" not "wy??czony (off)".
If I change the Polish word "w??czony" or "wy??czony" works.
And why in the previous version and this does not work?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.132 seconds with 22 queries.

web stats analysis