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-08, 01:40:50

Author Topic: sh /script/restart-mail [--force|-y]  (Read 3385 times)

0 Members and 1 Guest are viewing this topic.

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 320
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #15 on: 2015-11-04, 17:13:59 »
webserver is hiawtha

Websites works

Code: [Select]
[root@happy ~]# chkconfig mysql on
[root@happy ~]# chkconfig named on
[root@happy ~]# chkconfig qmail on
[root@happy ~]# sh /script/restart-all -y

- For help, type '/script/restart-all [--help|-h]'
[root@happy ~]#



http://i.imgur.com/6huN4Xq.jpg

but no restart scripts works

« Last Edit: 2015-11-04, 17:51:18 by ibuxxi »
KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #16 on: 2015-11-04, 17:55:50 »
It's weird and no happens in my all servers.

Give me an access to your ssh and Kloxo-MR panel. Send via PM.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 320
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #17 on: 2015-11-04, 18:32:23 »
send
KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #18 on: 2015-11-04, 18:42:55 »
Didn't found any issue when execure restart:
Code: [Select]
[root@happy ~]# sh /script/restart -y

Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi ('php54s' in 'fpm' mode):            [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
-------------------------------------------------------------------

- For help, type '/script/restart [--help|-h]'
[root@happy ~]# sh /script/restart-web

*** Process for PHP-FPM service ***
  - Process: reload
Reloading php56m-fpm:                                      [  OK  ]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'
[root@happy ~]# sh /script/restart-web -y

Stopping php56m-fpm:                                       [  OK  ]
Starting php56m-fpm:                                       [  OK  ]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'
[root@happy ~]# sh /script/restart-all -y

Shutting down system logger:                               [  OK  ]
Starting system logger:                                    [  OK  ]
-------------------------------------------------------------------

Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS!
-------------------------------------------------------------------

Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
-------------------------------------------------------------------

Restarting PowerDNS authoritative nameserver: stopping and waiting..done
Starting PowerDNS authoritative nameserver: started
-------------------------------------------------------------------

Stopping php56m-fpm:                                       [  OK  ]
Starting php56m-fpm:                                       [  OK  ]
-------------------------------------------------------------------


*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

- For help, type '/script/restart-mail [--help|-h]'
-------------------------------------------------------------------

Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
-------------------------------------------------------------------

Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi ('php54s' in 'fpm' mode):            [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
-------------------------------------------------------------------
[root@happy ~]# sh /script/restart-mail -y


*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------

- For help, type '/script/restart-mail [--help|-h]'
-------------------------------------------------------------------
[root@happy ~]#
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 320
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #19 on: 2015-11-04, 19:08:31 »
no no i login

and only

 :o

Code: [Select]
[root@happy ~]# sh /script/restart -y                                                                                                                       
                                                                                                                                                           
- For help, type '/script/restart [--help|-h]'                                                                                                             
[root@happy ~]# sh /script/restart-web                                                                                                                     
                                                                                                                                                           
- For help, type '/script/restart-web [--help|-h]'                                                                                                         
[root@happy ~]# sh /script/restart-web -y                                                                                                                   
                                                                                                                                                           
- For help, type '/script/restart-web [--help|-h]'                                                                                                         
[root@happy ~]# sh /script/restart-all -y                                                                                                                   
                                                                                                                                                           
- For help, type '/script/restart-all [--help|-h]'                                                                                                         
[root@happy ~]# sh /script/restart-mail -y                                                                                                                 
                                                                                                                                                           
- For help, type '/script/restart-mail [--help|-h]'
[root@happy ~]#

KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #20 on: 2015-11-04, 19:19:19 »
I think it's your ssh client software problem. As you can see no 'un-normal' result.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 320
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #21 on: 2015-11-04, 23:14:24 »
But Hiawatha is not start  ??

Code: [Select]
- For help, type '/script/restart [--help|-h]'
[root@happy ~]# sh /script/restart-web

*** Process for PHP-FPM service ***
  - Process: reload
Reloading php56m-fpm:                                      [  OK  ]
-------------------------------------------------------------------
KVM VPS | Centos 6.8 (32) 2GB | Kloxo-MR 7.0.0.b-2016* | hiawatha | php56 | php-fpm-event | mariadb

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #22 on: 2015-11-05, 04:14:13 »
I reinstalled hiawatha and then run restart-web. Look like ok now.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tinu

  • Valuable Member
  • *
  • Posts: 76
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #23 on: 2015-11-09, 10:26:00 »
same thing it was showing to me. I created a seperate ticket for it

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #24 on: 2015-11-09, 12:24:36 »
still it doesn't work for me  :(

Quote
sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2015103001
   - Web: hiawatha-9.15.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.40-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) x86_64
   - Hostname: skobox.kobox.org
C. Services:
   1. MySQL: MariaDB-server-10.0.22-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. Httpd: httpd-2.2.31-1.mr.el6.x86_64
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:         96737       3187      93549         22         25        477
   -/+ buffers/cache:       2684      94052
   Swap:          510          0        510
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/root       1,9T  1,2T  548G  69% /

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #25 on: 2015-11-28, 17:02:39 »
I use "PuTTY Tray" to access. Still not working.  :'(

Quote
sh /script/restart-dns

- For help, type '/script/restart-dns [--help|-h]'

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #26 on: 2015-11-28, 18:24:04 »
Did you tried 'sh /script/cleanup'?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #27 on: 2015-11-28, 20:16:20 »
Did you tried 'sh /script/cleanup'?.

Yep, i did. They aren't working.  (restart-all   restart-dns                  restart-ftp                  restart-mail                 restart-mysql      restart-php-fpm              restart-services           restart-syslog              restart-web)

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #28 on: 2015-11-29, 00:30:18 »
inform here 'sh -x /script/restart-dns'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #29 on: 2015-11-29, 17:42:16 »
Quote
sh -x /script/restart-dns
+ '[' -f /script/custom.restart-list.inc ']'
+ . /script/restart-list.inc
++ list_web=(varnish trafficserver squid php-fpm memcached lighttpd nginx hiawat                                              ha httpd htcacheclean)
++ list_syslog=(syslog rsyslog syslog-ng)
++ list_services=(mysqld mysql named djbdns pdns nsd mydns yadifad varnish traff                                              icserver squid httpd nginx lighttpd hiawatha qmail xinetd php-fpm)
++ list_phpfpm=(php-fpm)
++ list_mysql=(mysql mysqld)
++ list_mail=(qmail)
++ list_ftp=(xinetd)
++ list_dns=(named djbdns pdns nsd mydns yadifad)
++ list_all=(syslog rsyslog mysqld mysql named djbdns pdns nsd mydns yadifad var                                              nish trafficserver squid php-fpm memcached lighttpd nginx hiawatha httpd htcache                                              clean qmail xinetd kloxo)
++ list_kloxo=(kloxo)
+ list='named djbdns pdns nsd mydns yadifad'
+ '[' -f /script/custom.restart.inc ']'
+ . /script/restart.inc
++ '[' '' == --help ']'
++ '[' '' == -h ']'
++ ASQMAIL=
++ for item in '${list
  • }'

++ '[' -f /etc/init.d/named ']'
+++ chkconfig --list named
+++ grep :on
++ '[' '' '!=' '' ']'
++ for item in '${list
  • }'

++ '[' -f /etc/init.d/djbdns ']'
++ for item in '${list
  • }'

++ '[' -f /etc/init.d/pdns ']'
++ for item in '${list
  • }'

++ '[' -f /etc/init.d/nsd ']'
++ for item in '${list
  • }'

++ '[' -f /etc/init.d/mydns ']'
++ for item in '${list
  • }'

++ '[' -f /etc/init.d/yadifad ']'
++ '[' '' '!=' qmail ']'
++ echo ''

++ echo '- For help, type '\''/script/restart-dns [--help|-h]'\'''
- For help, type '/script/restart-dns [--help|-h]'


 


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

Page created in 0.035 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM