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-16, 19:00:00

Author Topic: After update 6.5.1.a-2014021501 /script/cleanup: line 49: lxphp.exe: Permission  (Read 8438 times)

0 Members and 1 Guest are viewing this topic.

Offline naujasdizainas

  • Junior Member
  • *
  • Posts: 44
  • Karma: +1/-0
  • Gender: Male
    • View Profile
    • http://www.naujasdizainas.com
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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
You need running 'sh /script/cleanup' because many different config for webserver (more secure and less memory usage for php-fpm).

..:: 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
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.
« Last Edit: 2014-02-15, 09:32:49 by chrisf »
Christopher

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

Offline naujasdizainas

  • Junior Member
  • *
  • Posts: 44
  • Karma: +1/-0
  • Gender: Male
    • View Profile
    • http://www.naujasdizainas.com
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
« Last Edit: 2014-02-15, 09:45:16 by naujasdizainas »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
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.
..:: 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
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?
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
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.
..:: 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
Please investigate, as it reproduced across all my servers. :)
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
Appear 'double-stop' just false-possitive. No 'side-effect'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline naujasdizainas

  • Junior Member
  • *
  • Posts: 44
  • Karma: +1/-0
  • Gender: Male
    • View Profile
    • http://www.naujasdizainas.com
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.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.029 seconds with 18 queries.

web stats analysis