MRatWork Forum by Mustafa Ramadhan
Language Specific Discussions => Indonesia Users => Topic started by: flameblue59 on 2017-08-08, 18:53:09
-
Malam, saya memiliki kendala tidak bisa connect ke ftp filezilla berikut ini errror yang saya dapat
Status: Resolving address of stidac.id
Status: Connecting to 69.197.182.182:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server
Status: Waiting to retry...
Status: Resolving address of stidac.id
Status: Connecting to 69.197.182.182:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server
Hasil sh /script/sysinfo
A. Control Panel:
- Kloxo-MR: 7.0.0.c-2017080103
- Web: hiawatha-10.6.0-f.1.mr.el7.x86_64
- PHP: php56s - 5.6.31-1.ius.centos7 (fpm mode)
B. Plateform:
- OS: CentOS Linux release 7.3.1611 (Core) x86_64
- Hostname: server.1ori.com
C. Services:
1. MySQL: MariaDB-server-10.0.31-1.el7.centos.x86_64
2. PHP:
- Installed:
- Branch: php56u-cli-5.6.31-1.ius.centos7.x86_64
- Multiple:
* php54m - 5.4.45-14.mr.el7
* php55m - 5.5.38-1.ius.centos7
* php56m - 5.6.31-1.ius.centos7
* php70m - 7.0.21-1.ius.centos7
* php71m - 7.1.7-1.ius.centos7
- Used: php54m-fpm
- Multiple: disable
3. Web Used: nginx
- Hiawatha: hiawatha-10.6.0-f.1.mr.el7.x86_64
- Lighttpd: lighttpd-1.4.45-1.el7.x86_64
- Nginx: nginx-1.13.3-1.el7.ngx.x86_64
- Apache: httpd24u-2.4.27-1.ius.centos7.x86_64
- PHP Type: php-fpm_event
- Secondary PHP: off
4. WebCache: none
- ATS: --uninstalled--
- Squid: --uninstalled--
- Varnish: --uninstalled--
5. Dns: bind
- Bind: bind-9.9.9-1.mr.el7.x86_64
- DJBDns: djbdns-1.05-17.4.mr.el7.x86_64
- NSD: nsd-4.1.16-1.el7.x86_64
- PowerDNS: pdns-4.0.3-1.el7.MIND.x86_64
- Yadifa: yadifa-2.2.5-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.42-3.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: 968 207 89 53 671 511
Swap: 999 63 936
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 8.9G 4.0G 4.5G 48% /
*** Process Time: 00:00:00:44.44326 (dd:hh:mm:ss:xxxxxx) ***
* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
(importance after Kloxo-MR update)
Mohon bantuannya. Thank you :)
-
1. Coba restart dengan 'sh /script/restart-ftp'
2. Gunakan 'passive mode' untuk connect pada ftp client
-
1. Coba restart dengan 'sh /script/restart-ftp'
2. Gunakan 'passive mode' untuk connect pada ftp client
sudah saya coba pak
[root@server ~]# sh /script/restart-ftp
- For help, type '/script/restart-ftp [--help|-h]'
[root@server ~]#
tapi masih tidak bisa. Saya coba di
https://ftptest.net/
Status: Resolving address of stidac.id
Status: Connecting to 69.197.182.182
Error: Could not connect to server: Connection refused
Semua FTP yang saya install di Centos 7 tidak bisa pak, sedangkan saya juga ada yang masih menggunakan Centos 6, masih bisa seperti biasa.
-
Infokan 'yum list pure-ftpd* --showduplicates'.
-
Ini pak
Installed Packages
pure-ftpd.x86_64 1.0.42-3.el7 @mratwork-epel
Available Packages
pure-ftpd.x86_64 1.0.37-1.mr.el7 mratwork-release-version-arch
pure-ftpd.x86_64 1.0.42-3.el7 mratwork-epel
pure-ftpd-selinux.x86_64 1.0.37-1.mr.el7 mratwork-release-version-arch
pure-ftpd-selinux.x86_64 1.0.42-3.el7 mratwork-epel
-
Coba 'chkconfig pure-ftpd on; systemctl daemon-reload; sh /script/restart-ftp'
-
Ini pak outputnya
[root@server ~]# chkconfig pure-ftpd on; systemctl daemon-reload; sh /script/restart-ftp
Note: Forwarding request to 'systemctl enable pure-ftpd.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/pure-ftpd.service to /usr/lib/systemd/system/pure-ftpd.service.
Redirecting to /bin/systemctl restart pure-ftpd.service
Job for pure-ftpd.service failed because a configured resource limit was exceeded. See "systemctl status pure-ftpd.service" and "journalctl -xe" for details.
-------------------------------------------------------------------
- For help, type '/script/restart-ftp [--help|-h]'
[root@server ~]#
Saya test masih tidak bisa juga pak. Ini disemua KloxoMr yang terinstall di CentOS 7 saya mengalami kendala yang sama pak.
-
COba infokan 'systemctl status pure-ftpd -l'.
-
COba infokan 'systemctl status pure-ftpd -l'.
ini pak
[root@server ~]# systemctl status pure-ftpd -l
? pure-ftpd.service - Pure-FTPd FTP server
Loaded: loaded (/usr/lib/systemd/system/pure-ftpd.service; enabled; vendor pr eset: disabled)
Active: failed (Result: resources) since Wed 2017-08-09 03:28:56 EDT; 34min a go
Process: 27720 ExecStart=/usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.con f --daemonize (code=exited, status=0/SUCCESS)
Aug 09 03:28:55 server.1ori.com systemd[1]: Starting Pure-FTPd FTP server...
Aug 09 03:28:56 server.1ori.com systemd[1]: PID file /var/run/pure-ftpd.pid not readable (yet?) after start.
Aug 09 03:28:56 server.1ori.com systemd[1]: pure-ftpd.service never wrote its PI D file. Failing.
Aug 09 03:28:56 server.1ori.com systemd[1]: Failed to start Pure-FTPd FTP server .
Aug 09 03:28:56 server.1ori.com systemd[1]: Unit pure-ftpd.service entered faile d state.
Aug 09 03:28:56 server.1ori.com systemd[1]: pure-ftpd.service failed.
[root@server ~]#
nampaknya pure-ftpdnya tidak bisa jalan.
-
Infokan 'chkconfig --list; systemctl list-unit-files; ps aux|grep ftp'
-
Infokan 'chkconfig --list; systemctl list-unit-files; ps aux|grep ftp'
Ini pak MR hasil outputnya
[root@server ~]# chkconfig --list; systemctl list-unit-files; ps aux|grep ftp
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
djbdns 0:off 1:off 2:off 3:off 4:off 5:off 6:off
dovecot 0:off 1:off 2:off 3:off 4:off 5:off 6:off
httpry 0:off 1:off 2:on 3:on 4:on 5:on 6:off
mysql 0:off 1:off 2:on 3:on 4:on 5:on 6:off
named 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
qmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off
spawn-fcgi 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xinetd based services:
chargen-dgram: off
chargen-stream: off
daytime-dgram: off
daytime-stream: off
discard-dgram: off
discard-stream: off
echo-dgram: off
echo-stream: off
tcpmux-server: off
time-dgram: off
time-stream: off
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount disabled
brandbot.path disabled
systemd-ask-password-console.path static
systemd-ask-password-plymouth.path static
systemd-ask-password-wall.path static
session-111.scope static
session-21.scope static
session-29.scope static
arp-ethers.service disabled
atd.service enabled
auditd.service enabled
lines 1-19...skipping...
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount disabled
brandbot.path disabled
systemd-ask-password-console.path static
systemd-ask-password-plymouth.path static
systemd-ask-password-wall.path static
session-111.scope static
session-21.scope static
session-29.scope static
arp-ethers.service disabled
atd.service enabled
auditd.service enabled
autovt@.service enabled
blk-availability.service disabled
brandbot.service static
chrony-dnssrv@.service static
chrony-wait.service disabled
chronyd.service enabled
console-getty.service disabled
console-shell.service disabled
container-getty@.service static
cpupower.service disabled
crond.service enabled
csf.service enabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.import1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.machine1.service static
dbus-org.freedesktop.network1.service bad
dbus-org.freedesktop.timedate1.service static
dbus.service
-
Rasanya infonya tidak lengkap. Coba 'chkconfig --list|grep ftp; systemctl list-unit-files|grep ftp; ps aux|grep ftp'
-
Rasanya infonya tidak lengkap. Coba 'chkconfig --list|grep ftp; systemctl list-unit-files|grep ftp; ps aux|grep ftp'
ini pak outputnya
[root@server ~]# chkconfig --list|grep ftp; systemctl list-unit-files|grep ftp; ps aux|grep ftp
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
pure-ftpd.service enabled
root 20066 0.0 0.0 112644 968 pts/0 R+ 10:33 0:00 grep --color=auto ftp
[root@server ~]#
-
COba 'pkill -9 pure-ftpd; sh /script/restart-ftp'.
-
COba 'pkill -9 pure-ftpd; sh /script/restart-ftp'.
Sudah saya coba pak, tapi masih tetap ftp tidak bisa diakses. Berikut ini hasil outputnya
[root@server ~]# pkill -9 pure-ftpd; sh /script/restart-ftp
Redirecting to /bin/systemctl restart pure-ftpd.service
Job for pure-ftpd.service failed because a configured resource limit was exceeded. See "systemctl status pure-ftpd.service" and "journalctl -xe" for details.
-------------------------------------------------------------------
- For help, type '/script/restart-ftp [--help|-h]'
[root@server ~]#
-
Infokan 'dir -l /etc/init.d'.
-
ini pak MR
[root@server ~]# dir -l /etc/init.d
lrwxrwxrwx 1 root root 11 Aug 3 04:49 /etc/init.d -> rc.d/init.d
[root@server ~]#
-
Coba 'dir -l /etc/rc.d/init.d'.
-
Coba 'dir -l /etc/rc.d/init.d'.
Ini pak, apa ini memang terjadi di semua CentOS 7 ya pak? Karena semua situs saya yang pakai CentOS7+KloxoMR tidak bisa konek ke ftp.
[root@server ~]# dir -l /etc/rc.d/init.d
total 76
-rwxr-xr-x 1 root root 3416 Jun 14 2016 djbdns
-rwxr-xr-x 1 root root 1987 Mar 29 2014 dovecot
-rw-r--r-- 1 root root 15131 Sep 12 2016 functions
-rwxr-xr-x 1 root root 1830 Aug 8 23:45 httpry
-rwxr-xr-x 1 root root 11496 Aug 4 03:40 mysql
-rwxr-xr-x 1 root root 7361 Mar 20 13:28 named
-rwxr-xr-x 1 root root 2989 Sep 12 2016 netconsole
-rwxr-xr-x 1 root root 6643 Sep 12 2016 network
-rwxr-xr-x 1 root root 4431 Aug 8 23:47 qmail
-rw-r--r-- 1 root root 1160 May 25 17:22 README
-rwxr-xr-x 1 root root 2129 Feb 6 2014 spawn-fcgi
[root@server ~]#
-
Saya rasanya tidal. Ada VPS saya yang pakai Kloxo-MR 7.0 di CentOS 7. Memang VPS saya adalah KVM. Saya tidak tahu jika OpenVZ.
Berikan akses ssh dan panel ke saya.
Saya sendiri masih lebih menyukai pakai CentOS 6 daripada CentOS 7 untuk Kloxo-MR 7.
-
Saya rasanya tidal. Ada VPS saya yang pakai Kloxo-MR 7.0 di CentOS 7. Memang VPS saya adalah KVM. Saya tidak tahu jika OpenVZ.
Berikan akses ssh dan panel ke saya.
Saya sendiri masih lebih menyukai pakai CentOS 6 daripada CentOS 7 untuk Kloxo-MR 7.
Yang CentOS7 saya ini sih KVM pak, saya pakai Virtualizor.
-
Penyebabnya adalah anda merubah port ftp tapi port tersebut sama dengan port ssh anda. Ya jadi kacau.
Saya ubah password panel anda yang saya samakan dengan password ssh.
-
pak, kenapa panel kloxo mr saya tidak bisa diakses ya? begitu pun situs saya pak. Thank you.
-
Bukankah IP anda 69.xxx.xxx.182 kan. Saya bisa akses ke panel pakai password admin yang sama dengan password root untuk ssh.
-
Bukankah IP anda 69.xxx.xxx.182 kan. Saya bisa akses ke panel pakai password admin yang sama dengan password root untuk ssh.
betul pak, sudah bisa pak. Mungkin kemarin IP saya ke blok kali.
Owh iya pak, saya masih ga bisa akses ftpnya.
-
Lihat di 'ftp configure' untuk tahu port yang digunakan.
-
Lihat di 'ftp configure' untuk tahu port yang digunakan.
sudah pak, tapi saat retrieving directory malah failed. Ini pak output dari ftptest.net
Warning: Selected port (40021) is not the default port (21) of the selected protocol.
Status: Resolving address of stidac.id
Status: Connecting to 69.197.182.182
Warning: The entered address does not resolve to an IPv6 address.
Status: Connected, waiting for welcome message...
Reply: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Reply: 220-You are user number 3 of 5000 allowed.
Reply: 220-Local time is now 01:04. Server port: 40021.
Reply: 220-IPv6 connections are also welcome on this server.
Reply: 220 You will be disconnected after 15 minutes of inactivity.
Command: CLNT https://ftptest.net on behalf of 115.178.212.148
Reply: 530 You aren't logged in
Command: AUTH TLS
Reply: 234 AUTH TLS OK.
Status: Performing TLS handshake...
Status: TLS handshake successful, verifying certificate...
Status: Received 2 certificates from server.
Status: cert[0]: subject='EMAIL=ssl@mratwork.com,CN=Kloxo-MR certificate' issuer='EMAIL=ssl@mratwork.com,CN=Kloxo-MR certificate'
Status: cert[1]: subject='C=ID,ST=DIY,L=Yogyakarta,O=MRatWork.com,OU=Owner,CN=Kloxo-MR,EMAIL=admin@mratwork.com' issuer='C=ID,ST=DIY,L=Yogyakarta,O=MRatWork.com,OU=Owner,CN=Kloxo-MR,EMAIL=admin@mratwork.com'
Error: Peer certificate chain received in wrong order. The TLS specifications require that each certificate in the chain must directly certify the one preceeding it.
-
Jangan pakai tls untuk ftp connect.
-
Jangan pakai tls untuk ftp connect.
sudah saya disable pak. Tapi hasilnya masih sama saja.
Warning: Selected port (40021) is not the default port (21) of the selected protocol.
Status: Resolving address of stidac.id
Status: Connecting to 69.197.182.182
Warning: The entered address does not resolve to an IPv6 address.
Status: Connected, waiting for welcome message...
Reply: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Reply: 220-You are user number 1 of 5000 allowed.
Reply: 220-Local time is now 01:52. Server port: 40021.
Reply: 220-IPv6 connections are also welcome on this server.
Reply: 220 You will be disconnected after 15 minutes of inactivity.
Command: CLNT https://ftptest.net on behalf of 115.178.212.148
Reply: 530 You aren't logged in
Command: AUTH TLS
Reply: 500 This security scheme is not implemented
Warning: Server refused AUTH TLS, trying deprecated AUTH SSL fallback.
Command: AUTH SSL
Reply: 500 This security scheme is not implemented
Error: Server refused FTP over TLS
-
Jika anda pakai filezilla sebagai ftp client, pilih encryption sebagai 'Use explicit FTP over TLS if available' dan protocol sebagai 'FTP'.
-
Jika anda pakai filezilla sebagai ftp client, pilih encryption sebagai 'Use explicit FTP over TLS if available' dan protocol sebagai 'FTP'.
Masih tidak bisa pak, saya sudah pilih protocol FTP dengan encrpytion 'Use explicit FTP over TLS if available'
Status: Resolving address of stidac.id
Status: Connecting to 69.197.182.182:40021...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (69,197,182,182,206,219)
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
-
Apa anda pakai SolusVM panel pada VPS anda?. Bisa jadi masalah ini muncul karena ada bug di SolusVM terkait hal ini.
Dan atau perlu penyesuaian setting firewall di VPS panel anda.
-
Apa anda pakai SolusVM panel pada VPS anda?. Bisa jadi masalah ini muncul karena ada bug di SolusVM terkait hal ini.
Dan atau perlu penyesuaian setting firewall di VPS panel anda.
Saya pakai Virtualizor KVM pak. Saya juga sudah mematikan CSF tapi hasilnya tetap saja sama.
-
Saya tidak terlalu yakin dengan vps anda terkait apa penyebabnya. Di VPS saya (pakai provider vulr) tidak ada masalah terkait ftp di CentOS 7.
Sebagai pembanding, jika dimungkinkan coba pakai CentOS 6 saja.
-
Saya tidak terlalu yakin dengan vps anda terkait apa penyebabnya. Di VPS saya (pakai provider vulr) tidak ada masalah terkait ftp di CentOS 7.
Sebagai pembanding, jika dimungkinkan coba pakai CentOS 6 saja.
iya pak, saya mau pakai CentOS 6 saja nih. Sebelumnya terima kasih banyak pak untuk bantuannya.
-
Saya tidak yakin,
tapi coba saja konek
- No encryption [plain]
- Limit to 1 connection
- Use passive mode