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. 2017-11-07, 21:59:43

Author Topic: sh /script/restart-web missing apache graceful  (Read 1156 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
sh /script/restart-web missing apache graceful
« on: 2014-10-07, 12:19:36 »
[root@c44-49 ~]# sh /script/restart-web
Ponowne wczytywanie nginx:                                 [  OK  ]
Ponowne wczytywanie php-fpm:                               [  OK  ]

Where is apache ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-web missing apache graceful
« Reply #1 on: 2014-10-07, 12:41:10 »
Try 'chkconfig httpd on'. Script 'restart' detect chkconfig state and restart if state is enough. Don't care service init exists or not.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: sh /script/restart-web missing apache graceful
« Reply #2 on: 2014-10-07, 13:15:19 »
Are you sure it's working fine ?

[root@c44-49 ~]# sh /script/restart-web
Ponowne wczytywanie nginx:                                 [  OK  ]
httpd not running, trying to start
Ponowne wczytywanie php-fpm:                               [  OK  ]
[root@c44-49 ~]# sh /script/restart-web
Ponowne wczytywanie nginx:                                 [  OK  ]
Ponowne wczytywanie php-fpm:                               [  OK  ]
[root@c44-49 ~]# sh /script/restart-web
Ponowne wczytywanie nginx:                                 [  OK  ]
Ponowne wczytywanie php-fpm:                               [  OK  ]
[root@c44-49 ~]# sh /script/restart-web
Ponowne wczytywanie nginx:                                 [  OK  ]
Ponowne wczytywanie php-fpm:                               [  OK  ]
[root@c44-49 ~]#

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-web missing apache graceful
« Reply #3 on: 2014-10-07, 13:20:13 »
Try 'service httpd grafull' and you can see 'response' (like 'ok' for stop/start).

To make sure for using it, modified /usr/local/lxlabs/kloxo/etc/process/custom.httpd with content:
Code: [Select]
#!/bin/sh
echo "* Process for 'httpd graceful"
service httpd graceful
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-web missing apache graceful
« Reply #4 on: 2014-10-07, 13:21:10 »
Try 'service httpd grafull' and you can see 'response' (like 'ok' for stop/start).

To make sure for using it, modified /usr/local/lxlabs/kloxo/etc/process/custom.httpd with content:
Code: [Select]
#!/bin/sh
echo "* Process for 'httpd graceful"
service httpd graceful

So, it's mean 'restart process' using 'customize rule' also.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: sh /script/restart-web missing apache graceful
« Reply #5 on: 2014-10-07, 13:27:43 »
Good - now it's ok ;)

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.036 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM