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-29, 02:33:43

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

0 Members and 1 Guest are viewing this topic.

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
sh /script/restart-mail [--force|-y]
« on: 2015-11-02, 12:30:14 »
Code: [Select]
sh /script/restart-mail

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

????

Code: [Select]
sh /script/restart-mail --help
 ------------------------------------------------------------------------------
  format: sh /script/restart-mail [--force|-y]
 ------------------------------------------------------------------------------
  --force or -y
      - running '/etc/init.d/httpd restart' instead custom 'restart' declare
        inside /etc/local/lxlabs/kloxo/etc/process
      - use it if trouble restart without '--force' or '-y'

i cant execute restart-mail ...  :-\

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #1 on: 2015-11-02, 12:42:34 »
For mail, 'sh /script/restart-mail' is equal to 'sh /script/restart-mail -y'. It's because qmail behaviour.
..:: 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 #2 on: 2015-11-02, 13:09:28 »
It doesn't work ...  :-\


Code: [Select]
sh /script/restart-mail -y

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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #3 on: 2015-11-02, 13:36:15 »
This is in my server (using Kloxo-MR 7.0):
Code: [Select]
[root@cc1 ~]# sh /script/restart-mail

*** 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@cc1 ~]# 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@cc1 ~]#
..:: 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 #4 on: 2015-11-03, 10:04:56 »
After update doesn´t work  on my server.

Code: [Select]
sh restart-mysql

- For help, type 'restart-mysql [--help|-h]'

Code: [Select]
sh restart-all

- For help, type 'restart-all [--help|-h]'

Code: [Select]
sh restart-mail

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


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #5 on: 2015-11-03, 10:18:21 »
Inform here 'sh /script/version-full'
..:: 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 #6 on: 2015-11-03, 18:08:16 »
Code: [Select]
7.0.0.b-2015103001

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #7 on: 2015-11-03, 18:25:18 »
Try reinstall rpm with 'yum reinstall kloxomr7 -y; sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #8 on: 2015-11-03, 20:06:39 »
after update
I have the same

after yum reinstall kloxomr7 -y; sh /script/cleanup
the same

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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #9 on: 2015-11-03, 20:25:34 »
Inform here 'sh -x /script/restart-all -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #10 on: 2015-11-03, 21:46:10 »
Code: [Select]
sh -x /script/restart-all -y
+ '[' -f /script/custom.restart-list.inc ']'
+ . /script/restart-list.inc
++ list_web=(varnish trafficserver squid php-fpm memcached lighttpd nginx hiawatha httpd htcacheclean)
++ list_syslog=(syslog rsyslog syslog-ng)
++ list_services=(mysqld mysql named djbdns pdns nsd mydns yadifad varnish trafficserver 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 varnish trafficserver squid php-fpm memcached lighttpd nginx hiawatha httpd htcacheclean qmail xinetd kloxo)
++ list_kloxo=(kloxo)
+ list='syslog rsyslog mysqld mysql named djbdns pdns nsd mydns yadifad varnish trafficserver squid php-fpm memcached lighttpd nginx hiawatha httpd htcacheclean qmail xinetd kloxo'
+ '[' -f /script/custom.restart.inc ']'
+ . /script/restart.inc
++ '[' -y == --help ']'
++ '[' -y == -h ']'
++ ASQMAIL=
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/syslog ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/rsyslog ']'
+++ chkconfig --list rsyslog
+++ grep :on
++ '[' '' '!=' '' ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/mysqld ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/mysql ']'
+++ chkconfig --list mysql
+++ grep :on
++ '[' '' '!=' '' ']'
++ 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 ']'
+++ chkconfig --list pdns
+++ grep :on
++ '[' '' '!=' '' ']'
++ 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 ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/varnish ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/trafficserver ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/squid ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/php-fpm ']'
+++ chkconfig --list php-fpm
+++ grep :on
++ '[' '' '!=' '' ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/memcached ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/lighttpd ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/nginx ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/hiawatha ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/httpd ']'
+++ chkconfig --list httpd
+++ grep :on
++ '[' '' '!=' '' ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/htcacheclean ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/qmail ']'
+++ chkconfig --list qmail
+++ grep :on
++ '[' '' '!=' '' ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/xinetd ']'
+++ chkconfig --list xinetd
+++ grep :on
++ '[' '' '!=' '' ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/kloxo ']'
+++ chkconfig --list kloxo
+++ grep :on
++ '[' '' '!=' '' ']'
++ '[' '' '!=' qmail ']'
++ echo ''

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

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

Offline KloxoLittleFish

  • Valuable Member
  • *
  • Posts: 147
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #11 on: 2015-11-04, 10:29:32 »
Code: [Select]
sh -x /script/restart-all -y
+ '[' -f /script/custom.restart-list.inc ']'
+ . /script/restart-list.inc
++ list_web=(varnish trafficserver squid php-fpm memcached lighttpd nginx hiawatha httpd htcacheclean)
++ list_syslog=(syslog rsyslog syslog-ng)
++ list_services=(mysqld mysql named djbdns pdns nsd mydns yadifad varnish trafficserver 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 varnish trafficserver squid php-fpm memcached lighttpd nginx hiawatha httpd htcache clean qmail xinetd kloxo)
++ list_kloxo=(kloxo)
+ list='syslog rsyslog mysqld mysql named djbdns pdns nsd mydns yadifad varnish trafficserver squid php-fpm memcached lighttpd nginx hiawatha httpd htcacheclean qmail xinetd kloxo'
+ '[' -f /script/custom.restart.inc ']'
+ . /script/restart.inc
++ '[' -y == --help ']'
++ '[' -y == -h ']'
++ ASQMAIL=
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/syslog ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/rsyslog ']'
+++ chkconfig --list rsyslog
+++ grep :on
++ '[' '' '!=' '' ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/mysqld ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/mysql ']'
+++ chkconfig --list mysql
+++ grep :on
++ '[' '' '!=' '' ']'
++ 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 ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/varnish ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/trafficserver ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/squid ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/php-fpm ']'
+++ chkconfig --list php-fpm
+++ grep :on
++ '[' '' '!=' '' ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/memcached ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/lighttpd ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/nginx ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/hiawatha ']'
+++ chkconfig --list hiawatha
+++ grep :on
++ '[' '' '!=' '' ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/httpd ']'
+++ chkconfig --list httpd
+++ grep :on
++ '[' '' '!=' '' ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/htcacheclean ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/qmail ']'
+++ chkconfig --list qmail
+++ grep :on
++ '[' '' '!=' '' ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/xinetd ']'
+++ chkconfig --list xinetd
+++ grep :on
++ '[' '' '!=' '' ']'
++ for item in '${list[*]}'
++ '[' -f /etc/init.d/kloxo ']'
+++ grep :on
+++ chkconfig --list kloxo
++ '[' '' '!=' '' ']'
++ '[' '' '!=' qmail ']'
++ echo ''

++ echo '- For help, type '\''/script/restart-all [--help|-h]'\'''
- For help, type '/script/restart-all [--help|-h]'
« Last Edit: 2015-11-04, 10:31:08 by KloxoLittleFish »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #12 on: 2015-11-04, 11:20:58 »
Inform here 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ibuxxi

  • Senior Member
  • *
  • Posts: 322
  • Karma: +0/-0
    • View Profile
Re: sh /script/restart-mail [--force|-y]
« Reply #13 on: 2015-11-04, 16:44:16 »
Code: [Select]
sh  /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2015103001
   - Web: hiawatha-9.15.0-f.6.mr.el6.i686
   - PHP: php54s-5.4.43-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.7 (Final) i686
   - Hostname: happy.icoore.com
C. Services:
   1. MySQL: MariaDB-server-10.0.22-1.el6.i686
   2. PHP:
      - Branch: php56u-cli-5.6.14-1.ius.el6.i686
      - Multiple:
        * php52m-5.2.17-102.mr.el6
        * php53m-5.3.29-1.ius.el6
        * php54m-5.4.43-1.ius.el6
        * php55m-5.5.27-1.ius.el6
        * php56m-5.6.11-1.ius.el6
      - Used: php56m
   3. Httpd: --uninstalled--
      - 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.i386
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1893       1610        282          0        150        682
   -/+ buffers/cache:        777       1115
   Swap:         1999         53       1946
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1        41G   14G   26G  35% /

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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: sh /script/restart-mail [--force|-y]
« Reply #14 on: 2015-11-04, 16:58:42 »
Look like no web server installed (like httpd/apache, nginx or others) in your server. Go to 'switch programs'.

And try 'chkconfig mysql on; chkconfig named on; chkconfig qmail on' and then 'sh /script/restart-all -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.036 seconds with 18 queries.

web stats analysis