PureFTPd Server no OS X - Os clientes FTP podem efetuar login, mas não conseguem visualizar ou gravar em suas pastas

1

Preciso de um guru de FTP real para este que eu penso. Se você souber algo sobre o pureftp, leia os logs abaixo e veja se algo aparece em você. As pessoas podem fazer login, mas não postar arquivos ou criar diretórios ou visualizar seus arquivos colocados anteriormente.

Problema relatado pela primeira vez às 8h31 5/5/14

ftps://...:990 OSX Server 10.5.8
Client Filezilla FTP client: Error: critical file transfer error Client Transmit on Mac when trying to create a directory error: Error -140: remote mkdir failed

Tentativa de parar / iniciar daemons de ftp e servidor reiniciado, mas com o mesmo resultado.
Eu não criei este sistema, mas preciso descobrir uma solução. Abaixo estão os trechos de arquivos de log relevantes. É difícil distinguir o que é normal do anormal, mas o log de erros em particular tem muita concatenação

040xserve002:log admin$ sudo cat ftp.log

May 5 15:40:32 040xserve002 pure-ftpd[2384]: ([email protected]) [INFO] Logout.

May 5 15:40:38 040xserve002 pure-ftpd[2392]: ([email protected]) [INFO] New connection from tardis.domain.com

May 5 15:40:39 040xserve002 pure-ftpd[2392]: ([email protected]) [INFO] test.student is now logged in

May 5 15:40:39 040xserve002 pure-ftpd[2392]: ([email protected]) [INFO] Logout.

040xserve002:log admin$ sudo cat ftpswrap.log

2014-05-05 15:43:53,354: INFO: Connection from tardis.domain.com (10.52.27.75).

2014-05-05 15:43:54,039: INFO: Login from tardis.domain.com (10.52.27.75).

040xserve002:log admin$ cat ftpswrap-external.log

2014-05-05 15:30:17,953: INFO: Connection from tardis.domain.com (10.52.27.75).

2014-05-05 15:30:18,702: INFO: Login from tardis.domain.com (10.52.27.75).

Você pode ver que eu tentei conectar e fazer upload de um arquivo às 15:23:43. O usuário que relatou o problema, winrob ..., postou arquivos anteriormente.

040xserve002:log admin$ sudo cat homework-ftpd-client.2014-05.log

(Isso exibe uma conexão em que eu consegui fazer o login, mas não consegui fazer o upload de um arquivo)

[Mon May 5 15:23:33 2014][2239:-][CONNECTION FROM 127.0.0.1:53708] #1

[Mon May 5 15:23:43 2014][2239:-]USER coljas0614

[Mon May 5 15:23:43 2014][2239:coljas0614][UNRESTRICTED IP 127.0.0.1]

[Mon May 5 15:23:43 2014][2239:coljas0614]SYST

[Mon May 5 15:23:43 2014][2239:coljas0614]FEAT

[Mon May 5 15:23:43 2014][2239:coljas0614]OPTS UTF8 ON

[Mon May 5 15:23:43 2014][2239:coljas0614]PWD

[Mon May 5 15:23:43 2014][2239:coljas0614]TYPE I

[Mon May 5 15:23:43 2014][2239:coljas0614]PASV

[Mon May 5 15:23:43 2014][2239:coljas0614]MLSD

[Mon May 5 15:23:44 2014][2240:-][CONNECTION FROM 127.0.0.1:53714] #2

[Mon May 5 15:23:44 2014][2240:-]USER test.student

[Mon May 5 15:23:44 2014][2240:test.student][UNRESTRICTED IP 127.0.0.1]

[Mon May 5 15:23:44 2014][2240:test.student]QUIT

[Mon May 5 15:23:44 2014][2240:test.student][ENDED BY CLIENT 127.0.0.1:53714]

[Mon May 5 15:23:54 2014][2239:coljas0614]PASV

ESTE É EU TENTANDO CARREGAR UM ARQUIVO NOMEADO jasontest2

[Mon May 5 15:23:54 2014][2239:coljas0614]STOR jasontest2

[Mon May 5 15:24:00 2014][2239:coljas0614][ENDED BY CLIENT 127.0.0.1:53708]

[Mon May 5 15:25:12 2014][2253:-][CONNECTION FROM 127.0.0.1:53741] #1

040xserve002:log admin$ sudo cat homework-ftpd-error.2014-05.log

could not find student's student_id at /usr/local/ftp_homework/scripts/HomeworkFTP/Server.pm line 311, line 2. at /Library/Perl/5.8.8/Net/FTPServer.pm line 2353, line 2. Net::FTPServer::ANON('could not find student\'s student_id at /usr/local/ftp_homewo...') called at /usr/local/ftp_homework/scripts/HomeworkFTP/Server.pm line 311

>Net::FTPServer::HomeworkFTP::Server::user_login_hook('Net::FTPServer::HomeworkFTP::Server=HASH(0x801794)', 'test.student', undef) called at /Library/Perl/5.8.8/Net/FTPServer.pm line 4662
Net::FTPServer::_PASS_command('Net::FTPServer::HomeworkFTP::Server=HASH(0x801794)', 'PASS', 'test') called at /Library/Perl/5.8.8/Net/FTPServer.pm line 3002
Net::FTPServer::run('Net::FTPServer::HomeworkFTP::Server') called at /usr/local/ftp_homework/scripts/homework-ftpd.pl line 34

Use of uninitialized value in concatenation (.) or string at /Library/Perl/5.8.8/Net/FTPServer.pm line 5905, line 21, line 26, line 30... through line 1006...

040xserve002:log admin$ sudo cat homework-ftpd-xfer.2014-05.log

Fri May 2 12:12:37 2014 0 127.0.0.1 126 / a _ o r burbru0525 ftp 0 * c

Fri May 2 12:14:29 2014 0 127.0.0.1 126 / a _ o r burbru0525 ftp 0 * c

Mon May 5 11:35:26 2014 1 127.0.0.1 258 / a _ o r burbru0525 ftp 0 * c

Mon May 5 11:35:29 2014 0 127.0.0.1 417 /PTT214-VA/ a _ o r burbru0525 ftp 0 * c

...

Mon May 5 12:34:35 2014 0 127.0.0.1 126 / a _ o r yawban0510 ftp 0 * c Mon May 5 12:54:52 2014 0 127.0.0.1 258 / a _ o r winrob0319 ftp 0 * c

040xserve002:etc admin$ sudo cat /var/log/pureftpd.log

...

2014-03-31 23:35:12 10.54.32.89 []created /Volumes/Storage%20HD/ftp/8888/chad%20hill%20%2811B5640342%29/hill_chad_ceremony_2.jpg 226 c.hill135 724587

2014-03-31 23:50:22 10.54.32.89 []created /Volumes/Storage%20HD/ftp/8888/chad%20hill%20%2811B5640342%29/hill_chad_ceremony_3.jpg 226 c.hill135 446325

    
por JasonC 06.05.2014 / 20:11

1 resposta

0

executou o seguinte nos servidores ftp para resolver com êxito:

sudo /Library/StartupItems/FTPSWRAP/FTPSWRAP restart

sudo /usr/local/sbin/homework-ftpd-init restart

sudo /Library/StartupItems/PureFTPD/PureFTPD restart

    
por 07.05.2014 / 22:43