MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: naujasdizainas on 2014-02-15, 08:27:21
-
Have error if run sh /script/cleanup or cleanup-simple:
/script/cleanup: line 49: lxphp.exe: Permission denied
Solved if run sh /scripts/fix-chownchmod or sh /scripts/fix-all
-
You need running 'sh /script/cleanup' because many different config for webserver (more secure and less memory usage for php-fpm).
-
Yes, after update 2014021502 there is a permission problem with the linked lxphp.exe file (php52s.cli.sh/cgi.sh) needs chmod 755 in the repo file.
Also, stopping Kloxo-Hiawatha now appears twice so one always fails, how to fix?
[root@server1 ~]# sh /script/restart-all
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
Stopping Djbdns for:
- axfrdns [ OK ]
- tinydns [ OK ]
Starting Djbdns for:
- axfrdns [ OK ]
- tinydns [ OK ]
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Stopping nginx: [ OK ] .
Starting nginx: [ OK ]
Stopping qmail-toaster: svscan qmail logging.
Starting qmail-toaster: svscan.
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
Stopping kloxo-phpcgi: [ OK ]
Starting kloxo-phpcgi: [ OK ]
Stopping kloxo-hiawatha: [ OK ]
Stopping kloxo-hiawatha: [FAILED]
Starting kloxo-hiawatha: [ OK ]
Stopping php-fpm: [ OK ]
Starting php-fpm: [ OK ]
[root@server1 ~]#
See... two stopping kloxo-hiawatha. Please advise.
-
Yep... :) but first run sh /scripts/fix-chownchmod or sh /scripts/fix-all then
You need running 'sh /script/cleanup' because many different config for webserver (more secure and less memory usage for php-fpm).
Because if first run /script/cleanup have error in line 49: lxphp.exe: Permission denied
-
Update to 2014021502 need running 'sh /script/cleanup' because cleanup will be copy kloxo.init to /etc/rc.d/init.d/kloxo. In this kloxo.init already exist chmod command for change to 755 for php*-cli.sh and php*-cgi.sh.
-
Mustafa, for some reason after update 2014021502 cleanup will not run. (Php52s) before converting. When running cleanup you get permission error, then it aborts cleanup.
Why double kloxo-hiawatha stopping? How to fix?
-
About kloxo-hiawatha, just wrong detect.
As we know 'restart' = 'stop' + 'start'. In 'start' function try to detect kloxo-hiwatha pid (possible wrong detect) and then 'start' try 'stop' first before 'start'.
The some logic for kloxo-phpcgi.
I want detect to 'status' running or not before 'start' process. But, possible not work for kloxo-hiawatha and ok for kloxo-phpcgi.
-
Please investigate, as it reproduced across all my servers. :)
-
Appear 'double-stop' just false-possitive. No 'side-effect'.
-
I said...:) if cleanup get error, must run sh /scripts/fix-chownchmod or sh /scripts/fix-all.
It's information for other if have same problem ... ;)
Update to 2014021502 need running 'sh /script/cleanup' because cleanup will be copy kloxo.init to /etc/rc.d/init.d/kloxo. In this kloxo.init already exist chmod command for change to 755 for php*-cli.sh and php*-cgi.sh.