MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: KloxoLittleFish on 2016-06-02, 09:45:17
-
I dont know why but "/script/restart-all" and "/script/restart-web" ..."dns" (etc) do not work properly.
It do stop services but it don't start them again :o
sh /script/restart-all
Desactivando el generador de registros del sistema: [ OK ]
Deteniendo named: . [ OK ]
Stopping php-fpm (PHP Used): [ OK ]
Parando httpd: [ OK ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Parando pure-ftpd: [ OK ]
Stopping kloxo-phpcgi: [ OK ]
Stopping kloxo-hiawatha: [ OK ]
- For help, type '/script/restart-all [--help|-h]'
sh /script/sysinfo
A. Control Panel:
- Kloxo-MR: 7.0.0.b-2016060105
- Web: hiawatha-10.2.0-f.7.mr.el6.x86_64
- PHP: php54s-5.4.40-1.ius.el6 (fpm mode)
B. Plateform:
- OS: CentOS release 6.8 (Final) x86_64
- Hostname: mydomain.mydomain.com
C. Services:
1. MySQL: MariaDB-server-10.0.25-1.el6.x86_64
2. PHP:
- Branch: php54-cli-5.4.45-1.ius.el6.x86_64
- Multiple:
* php52m-5.2.17-102.mr.el6
* php53m-5.3.29-1.ius.el6
* php54m-5.4.40-1.ius.el6
* php55m-5.5.24-1.ius.el6
* php56m-5.6.8-1.ius.el6
- Used: --Use PHP Branch--
3. Web Used: apache
- Hiawatha: --unused--
- Lighttpd: --uninstalled--
- Nginx: --uninstalled--
- Httpd: httpd-2.2.31-1.mr.el6.x86_64
- PHP Type: php-fpm_event
4. WebCache: none
- ATS: --uninstalled--
- Squid: --uninstalled--
- Varnish: --uninstalled--
5. Dns: bind
- Bind: bind-9.9.7-1.mr.el6.x86_64
- DJBDns: --uninstalled--
- NSD: --uninstalled--
- PowerDNS: --uninstalled--
- Yadifa: --uninstalled--
6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
- pop3/imap4: courier-imap-toaster-4.1.2-1.3.19.mr.el6.x86_64
- spam: spamassassin
-
Try 'sh /script/restart-all -y' (with '-y') instead 'sh /script/restart-all'.
-
it is the same :(
-
I am not sure using different language may trouble with restart process or not.
code inside /script/restart.inc are 'grep' certain words like ':on', 'dead but' and '(pid'. I don't know this words will be translate to other language or not.
-
it is strange, in webmin console "it works", but in PuTTY doesnt work.
In crontab doesn't work.
Some "scripts" work in webmin:
> sh /script/restart-web
*** Process for PHP-FPM service ***
- Process: restart
Stopping php-fpm (PHP Used): [ OK ]
Starting php-fpm (PHP Used): [ OK ]
-------------------------------------------------------------------
*** Process for HTTPD service ***
- Process: restart
Parando httpd: [ OK ]
Iniciando httpd: [ OK ]
-------------------------------------------------------------------
- For help, type '/script/restart-web [--help|-h]'
> sh /script/restart-dns
*** Process for BIND service ***
- Process: restart
Deteniendo named: .[ OK ]
Iniciando named: [ OK ]
-------------------------------------------------------------------
- For help, type '/script/restart-dns [--help|-h]'
-
It's your putty problem.
-
Crontab doesn't work either. I put cronjob and it log:
Stopping php-fpm (PHP Used): [ OK ]
Parando httpd: [ OK ]
- For help, type '/script/restart-web [--help|-h]'