MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: Spacedust on 2016-01-07, 16:16:05

Title: Unable to login via FTP after latest update
Post by: Spacedust on 2016-01-07, 16:16:05
What's wrong ?
Title: Re: Unable to login via FTP after latest update
Post by: MRatWork on 2016-01-07, 17:59:19
Try 'service xinetd restart; sh /script/restart-ftp -y'. Also update 'ftp configure' if change to different port.

This issue possible appear because change pure-ftp service from xinetd to initd (for prepare to CentOS 7).
Title: Re: Unable to login via FTP after latest update
Post by: alex_fear on 2016-01-07, 20:15:19
the script is not executedt sh /script/restart-ftp -y
server response
- For help, type '/script/restart-ftp [--help|-h]'
Title: Re: Unable to login via FTP after latest update
Post by: Spacedust on 2016-01-07, 22:19:26
FTP is working - I'm just unable to login ;(
Title: Re: Unable to login via FTP after latest update
Post by: Spacedust on 2016-01-07, 22:20:50
Jan  7 22:30:42 onlinecity xinetd[27204]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Jan  7 22:30:42 onlinecity xinetd[27204]: Started working: 0 available services
Jan  7 22:31:00 onlinecity pure-ftpd: (?@109.173.144.201) [INFO] New connection from 109.173.144.201
Jan  7 22:31:09 onlinecity pure-ftpd: (?@109.173.144.201) [WARNING] Authentication failed for user [admin]
Title: Re: Unable to login via FTP after latest update
Post by: MRatWork on 2016-01-08, 02:16:10
It's must execute 'sh /script/cleanup'.
Title: Re: Unable to login via FTP after latest update
Post by: MRatWork on 2016-01-08, 02:28:26
If pure-ftpd already change to initd, you will see '/etc/rc.d/init.d/pure-ftpd' instead '/etc/xinetd/pureftp'.
Title: Re: Unable to login via FTP after latest update
Post by: alex_fear on 2016-01-08, 09:05:07
putty start giving the server unexpectedly closed connection to the network.
Title: Re: Unable to login via FTP after latest update
Post by: Spacedust on 2016-01-08, 11:35:50
It's must execute 'sh /script/cleanup'.

I did it already - does not help !
Title: Re: Unable to login via FTP after latest update
Post by: MRatWork on 2016-01-08, 11:39:24
Inform here 'ps aux|gep pure'.
Title: Re: Unable to login via FTP after latest update
Post by: Spacedust on 2016-01-08, 11:40:34
I can even remove pureftpd.passwd completely - it does not read it !
Title: Re: Unable to login via FTP after latest update
Post by: Spacedust on 2016-01-08, 11:42:09
Inform here 'ps aux|gep pure'.

[root@onlinecity xinetd.d]# ps aux | grep pure
root     13166  0.0  0.0 146928   876 ?        Ss   11:53   0:00 pure-ftpd (SERVER)                                                                                 
root     13193  0.0  0.0 103308   876 pts/1    S+   11:53   0:00 grep pure
Title: Re: Unable to login via FTP after latest update
Post by: MRatWork on 2016-01-08, 14:20:33
Inform here 'ps aux|gep pure'.

[root@onlinecity xinetd.d]# ps aux | grep pure
root     13166  0.0  0.0 146928   876 ?        Ss   11:53   0:00 pure-ftpd (SERVER)                                                                                 
root     13193  0.0  0.0 103308   876 pts/1    S+   11:53   0:00 grep pure
Pure-ftpd init already running.
Title: Re: Unable to login via FTP after latest update
Post by: Spacedust on 2016-01-08, 16:09:56
I know, but it throwed login error.

Maybe this line should be uncommented now ?

# PureDB                        /etc/pure-ftpd/pureftpd.pdb
Title: Re: Unable to login via FTP after latest update
Post by: MRatWork on 2016-01-08, 16:23:27
If update in 'ftp configure', /etc/pure-ftpd/pure-ftpd.conf will be overwrite by Kloxo-MR.
Title: Re: Unable to login via FTP after latest update
Post by: naujasdizainas on 2016-01-12, 11:12:06
I change Default Port from 21 to custom and works


I know, but it throwed login error.

Maybe this line should be uncommented now ?

# PureDB                        /etc/pure-ftpd/pureftpd.pdb
Title: Re: Unable to login via FTP after latest update
Post by: alex_fear on 2016-01-12, 11:34:22
When connecting using FTP an error
Code: [Select]
Status: Disconnected from server
Status: Resolving address of mama-market.dp.ua
Status: Connecting to 91.215.54.20:21...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Command: USER mama-market.dp.ua
Response: 331 User mama-market.dp.ua OK. Password required
Command: PASS ***********
Response: 530 Login authentication failed
Error: Critical error: Could not connect to server
Title: Re: Unable to login via FTP after latest update
Post by: naujasdizainas on 2016-01-12, 11:36:15
When connecting using FTP an error
Code: [Select]
Status: Disconnected from server
Status: Resolving address of mama-market.dp.ua
Status: Connecting to 91.215.54.20:21...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Command: USER mama-market.dp.ua
Response: 331 User mama-market.dp.ua OK. Password required
Command: PASS ***********
Response: 530 Login authentication failed
Error: Critical error: Could not connect to server
change Default Port from 21 to custom
Title: Re: Unable to login via FTP after latest update
Post by: MRatWork on 2016-01-12, 13:27:56
In latest Kloxo-MR 7, pure-ftpd use init instead xinetd for start/stop/restart/reload. So, need run cleanup and then go to 'php configure' to change 'port'.
Title: Re: Unable to login via FTP after latest update
Post by: aamirrajpoot on 2016-01-13, 08:55:48
For me, some of the ftp are working, and some of them are not working. I tried creating new accounts, and also changed the passwords, all are saying authentication failed.



$ sh /script/cleanup

fixed it,

Thankyou
Title: Re: Unable to login via FTP after latest update
Post by: djscooby on 2016-01-16, 16:28:25
same issue here
Title: Re: Unable to login via FTP after latest update
Post by: djscooby on 2016-01-16, 16:35:52
1)i change FTP port inside FTP configure
2)run sh /script/fixftp
3)changed again FTP port to default

And it works fine now..


sh /script/cleanup doesnt fix this... tried a couple of times