MRatWork Forum by Mustafa Ramadhan

Language Specific Discussions => Indonesia Users => Topic started by: ahmaddani on 2019-06-13, 06:33:00

Title: ssh selalu disconnect kalau perinta cleanup
Post by: ahmaddani on 2019-06-13, 06:33:00
Ini hanya terjadi di salah satu vps saya... di mana setiap saya menjalankan perintah 'sh /script/cleanup' ssh langsung disconnect... ini terjadi juga untuk bbrp perintah di /script/ tapi alhamdulillaah /script/sysinfo lancar :


[root@vps ~]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2019060402
   - Web: hiawatha-10.9.0-f.1.mr.el7.x86_64
   - PHP: php56s - 5.6.40-1.ius.centos7 (fpm mode)
B. Plateform:
   - OS: CentOS Linux release 7.6.1810 (Core) x86_64
   - Hostname: vps
C. Services:
   1. MySQL: MariaDB-server-10.0.38-1.el7.centos.x86_64
   2. PHP:
      - Installed:
        - Branch: php71u-cli-7.1.30-1.el7.ius.x86_64
        - Multiple:
          * php71m - 7.1.27-1.ius.centos7
      - Used: php71m-fpm
      - Multiple: enable
   3. Web Used: nginxproxy
     - Hiawatha: hiawatha-10.9.0-f.1.mr.el7.x86_64
     - Lighttpd: lighttpd-1.4.53-1.el7.x86_64
     - Nginx: nginx-1.17.0-1.el7.ngx.x86_64
     - Apache: httpd24u-2.4.39-1.ius.el7.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: nsd
     - Bind: bind-9.9.9-1.mr.el7.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el7.x86_64
     - NSD: nsd-4.1.24-2.el7.x86_64
     - PowerDNS: pdns-4.0.3-1.el7.MIND.x86_64
     - Yadifa: yadifa-2.3.9-1.el7.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el7.x86_64
      - smtp: qmail-toaster-1.03-1.3.57.mr.el7.x86_64
      - spam: bogofilter-1.2.3-6.el7.x86_64
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.47-2.el7.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.6-1.mr.noarch
D. Memory:
              total        used        free      shared  buff/cache   available
Mem:           2048         813         946         338         288        1029
Swap:          4096          94        4001
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/simfs       85G   46G   40G  54% /


*** Process Time: 00:00:00:26.26711 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

[root@vps ~]#
Title: Re: ssh selalu disconnect kalau perinta cleanup
Post by: MRatWork on 2019-06-13, 06:45:12
Bisa sebutkan beberapa perintah script yang menyebabkan disconnect?.

Saya ingin tahu 'sebelah mana' yang jadi penyebabnya. Oh ya, VPS ini KVM atau OpenVZ?.
Title: Re: ssh selalu disconnect kalau perinta cleanup
Post by: ahmaddani on 2019-06-13, 07:47:50
ini vps OpenVZ

yang sudah dicoba :
sh /script/upcp  --> disconnect
sh /script/cleanup  --> disconnect

sh /script/restart-all --> lancar
sh /script/sysinfo  --> lancar
Title: Re: ssh selalu disconnect kalau perinta cleanup
Post by: MRatWork on 2019-06-13, 08:09:38
Saya menduga ada masalah di RAM dan atau HDD. Bisa jadi karena oversell.

Kalau 'sh /script/fix-all' bagaimana?
Title: Re: ssh selalu disconnect kalau perinta cleanup
Post by: ahmaddani on 2019-06-13, 09:31:57
sh /script/fix-all  --> lancar

bisa jadi benar karena oversell ... saya pakai layanan vps pool di sana.. sehingga bisa create bbrp vps... pas apes vps ini saja yang masalah seperti ini.

ini pesan error di BitVise :
--------------------------
14:15:57.640 The SSH session has terminated with error. Reason: Error class: LocalSshDisconn, code: ByApplication, message: FlowSshPacketDecoder: unresponsiveness timeout.
14:15:57.763 Automatic reconnection started.
Reconnection attempt is scheduled at
Title: Re: ssh selalu disconnect kalau perinta cleanup
Post by: ahmaddani on 2019-06-13, 09:43:23
kalau sh /script/upcp disconnect nya pas seperti gambar attachment ... tapi kalau  sh /script/cleanup disconnect langsung saat belum keluar apa-apa
Title: Re: ssh selalu disconnect kalau perinta cleanup
Post by: MRatWork on 2019-06-13, 10:59:35
Coba periksa isi file '/usr/lxlabs/kloxo/install/install.log' setelah jalankan upcp.