Форум русскоязычного сообщества Ubuntu


Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?
Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!

Автор Тема: Проблемы с FTP Сервером - файлы при Uploading и downloading создаются 0 байт  (Прочитано 4295 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн chikatillo

  • Автор темы
  • Участник
  • *
  • Сообщений: 139
    • Просмотр профиля
Есть сервер в Германии на нем стоит Ubuntu 12.04.
Настроен Proftpd,подключаюсь, начинай загружать файлы сайтов , и в момент загрузки(каждый раз по разному, может на 10 файле а может на 40ом) происходит пауза, загрузка останавливается через 10 секунд продолжает загружать следующий файл а тот файл на котором пауза была создался размером 0 байт...
В логах сервера пусто.
Не выкладываю пока конфиг т.к:
1 - На аналогичном конфиге работает сервер с аналогичной конфигурацией в Украине
2 - Есть одна странность, проблема не наблюдается при подключении к нему с другого провайдера(Как бы на этом моменте все начнут грешить на провайдера, но я дома проверял на 3ем провайдере и тоже самое, без всяких роутеров и т.п.)
3 - На сервере в германии фаервол не настроен, все цепочки policy ACCEPT

Весь гугл перевернул нет ничего....


Кратко где проявляется либо не проявляется проблема:
Провайдер1-СерверФтпГермания происходит проблема как загрузки так и сохранения файлов - 0 байт
Провайдер 2,3-СерверФтпГермания - Все работает нормально(как через роутер с фаерволом так и без него)
Провайдер 4 происходит проблема как через роутер так и без него

Всего была возможность проверить на четырех Провайдерах, нахожусь в Украине...

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Цитировать
В логах сервера пусто.
что делать... :(
Wars ~.o

Оффлайн chikatillo

  • Автор темы
  • Участник
  • *
  • Сообщений: 139
    • Просмотр профиля
Цитировать
В логах сервера пусто.
что делать... :(
С утра попробовал с провайдера 4 , паузы были где-то по 10 секунд, но все файлы скопировались нормально, мот просто я не много кинул так как времени нет:
Wed Aug 08 06:21:58 2012 0 xxxx 32621 /home/neos/test/content/6_17_5_15794_225.png b _ i r neos ftp 0 * c
Wed Aug 08 06:21:58 2012 0 xxxx 33736 /home/neos/test/content/6_17_5_16398_225.png b _ i r neos ftp 0 * c
Wed Aug 08 06:21:59 2012 0 xxxx 94681 /home/neos/test/content/6_17_6_16398_400.png b _ i r neos ftp 0 * c
Wed Aug 08 06:22:00 2012 0 xxxx 41998 /home/neos/test/content/6_17_7_13671_225.png b _ i r neos ftp 0 * c
Wed Aug 08 06:22:01 2012 0 xxxx 96534 /home/neos/test/content/6_17_7_16398_400.png b _ i r neos ftp 0 * c
Wed Aug 08 06:22:01 2012 0 xxxx 36943 /home/neos/test/content/6_25_2_17167_225.png b _ i r neos ftp 0 * c
Wed Aug 08 06:22:02 2012 0 xxxx 35187 /home/neos/test/content/6_25_2_17175_225.png b _ i r neos ftp 0 * c
Wed Aug 08 06:22:02 2012 0 xxxx 67833 /home/neos/test/content/6_27_1_16398_400.png b _ i r neos ftp 0 * c
Wed Aug 08 06:22:03 2012 0 xxxx 43176 /home/neos/test/content/6_38_8_15264_225.png b _ i r neos ftp 0 * c
Wed Aug 08 06:22:04 2012 0 xxxx 46102 /home/neos/test/content/6_38_8_17169_225.png b _ i r neos ftp 0 * c
Wed Aug 08 06:23:36 2012 0 xxxx 0 /home/neos/test/data.xml b _ i r neos ftp 0 * i
Wed Aug 08 06:23:52 2012 13 xxxx 2255506 /home/neos/test/data.xml b _ i r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 49992 /home/neos/test/content/6_17_2_17064_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 50665 /home/neos/test/content/6_17_2_16740_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 47054 /home/neos/test/content/6_17_2_13823_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 50202 /home/neos/test/content/6_17_2_16604_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 36943 /home/neos/test/content/6_25_2_17167_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 50971 /home/neos/test/content/6_17_2_14082_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 29521 /home/neos/test/content/6_17_2_15884_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 94681 /home/neos/test/content/6_17_6_16398_400.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 41998 /home/neos/test/content/6_17_7_13671_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 33736 /home/neos/test/content/6_17_5_16398_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 49650 /home/neos/test/content/6_17_2_16489_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 67833 /home/neos/test/content/6_27_1_16398_400.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:25 2012 0 xxxx 48004 /home/neos/test/content/6_17_2_14198_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 49485 /home/neos/test/content/6_17_2_16757_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 32621 /home/neos/test/content/6_17_5_15794_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 65897 /home/neos/test/content/6_17_2_16398_400.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 45831 /home/neos/test/content/6_17_2_13908_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 48347 /home/neos/test/content/6_17_2_16771_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 50154 /home/neos/test/content/6_17_2_15849_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 35187 /home/neos/test/content/6_25_2_17175_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 51503 /home/neos/test/content/6_17_2_15607_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 48746 /home/neos/test/content/6_17_2_15376_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 28740 /home/neos/test/content/6_17_2_15851_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 43176 /home/neos/test/content/6_38_8_15264_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 46613 /home/neos/test/content/6_17_2_16497_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 27499 /home/neos/test/content/6_17_2_16395_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 46102 /home/neos/test/content/6_38_8_17169_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 53303 /home/neos/test/content/6_17_2_15958_225.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 59688 /home/neos/test/content/6_17_2_15425_400.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:26 2012 0 xxxx 96534 /home/neos/test/content/6_17_7_16398_400.png a _ d r neos ftp 0 * c
Wed Aug 08 06:24:27 2012 0 xxxx 2255506 /home/neos/test/data.xml a _ d r neos ftp 0 * c
Wed Aug 08 06:24:35 2012 0 xxxx 7183 /home/neos/test/controller/Controller.php b _ i r neos ftp 0 * c
Wed Aug 08 06:24:36 2012 0 xxxx 2378 /home/neos/test/controller/C_Base.php b _ i r neos ftp 0 * c
Wed Aug 08 06:24:36 2012 0 xxxx 377 /home/neos/test/controller/C_Captcha.php b _ i r neos ftp 0 * c
Wed Aug 08 06:24:36 2012 0 xxxx 1384 /home/neos/test/controller/C_Cart.php b _ i r neos ftp 0 * c
Wed Aug 08 06:24:37 2012 0 xxxx 5024 /home/neos/test/controller/C_Category.php b _ i r neos ftp 0 * c
Wed Aug 08 06:24:37 2012 0 xxxx 3027 /home/neos/test/controller/C_Complete.php b _ i r neos ftp 0 * c
Wed Aug 08 06:24:37 2012 0 xxxx 786 /home/neos/test/controller/C_Congratulations.php b _ i r neos ftp 0 * c
Wed Aug 08 06:24:37 2012 0 xxxx 1810 /home/neos/test/controller/C_Contacts.php b _ i r neos ftp 0 * c
Wed Aug 08 06:24:38 2012 0 xxxx 827 /home/neos/test/controller/C_End.php b _ i r neos ftp 0 * c
Wed Aug 08 06:24:38 2012 0 xxxx 1184 /home/neos/test/controller/C_Idea.php b _ i r neos ftp 0 * c
Wed Aug 08 06:24:38 2012 0 xxxx 233 /home/neos/test/controller/C_Images.php b _ i r neos ftp 0 * c
Wed Aug 08 06:24:39 2012 0 xxxx 1018 /home/neos/test/controller/C_Page.php b _ i r neos ftp 0 * c
Wed Aug 08 06:24:39 2012 0 xxxx 881 /home/neos/test/controller/C_Paypage.php b _ i r neos ftp 0 * c
Aug 08 06:16:03 xxxx proftpd[32019] xxxx (localhost[127.0.0.1]): FTP session closed.
Aug 08 06:18:53 xxxx proftpd[32088] xxxx (]): FTP session opened.
Aug 08 06:19:03 xxxx proftpd[32088] xxxx (]): Preparing to chroot to directory '/home/neos'
Aug 08 06:19:03 xxxx proftpd[32088] xxxx (]): USER neos: Login successful.
Aug 08 06:20:03 xxxx proftpd[32117] xxxx (localhost[127.0.0.1]): FTP session opened.
Aug 08 06:20:03 xxxx proftpd[32117] xxxx (localhost[127.0.0.1]): FTP session closed.
Aug 08 06:23:19 xxxx proftpd[32265] xxxx (localhost[127.0.0.1]): FTP session opened.
Aug 08 06:23:19 xxxx proftpd[32265] xxxx (localhost[127.0.0.1]): FTP session closed.
Aug 08 06:24:03 xxxx proftpd[32294] xxxx (localhost[127.0.0.1]): FTP session opened.
Aug 08 06:24:03 xxxx proftpd[32294] xxxx (localhost[127.0.0.1]): FTP session closed.
250 CWD command successful
PWD
257 "/test" is the current directory
MKD upload
257 "/test/upload" - Directory successfully created
CWD upload
250 CWD command successful
PWD
257 "/test/upload" is the current directory
Чтение каталога...
TYPE A
200 Type set to A
PORT 192,168,1,248,196,241
200 PORT command successful
MLSD
150 Opening ASCII mode data connection for MLSD
Загрузка
Ожидание ответа сервера...
226 Transfer complete
CWD /test
250 CWD command successful
PWD
257 "/test" is the current directory
Чтение каталога...
PORT 192,168,1,248,196,242
200 PORT command successful
MLSD
150 Opening ASCII mode data connection for MLSD
Загрузка
Ожидание ответа сервера...
226 Transfer complete
CWD controller
250 CWD command successful
PWD
257 "/test/controller" is the current directory
Чтение каталога...
PORT 192,168,1,248,196,245
200 PORT command successful
MLSD
150 Opening ASCII mode data connection for MLSD
Загрузка
Ожидание ответа сервера...
226 Transfer complete
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD controller
250 CWD command successful
PWD
257 "/test/controller" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD model
250 CWD command successful
PWD
257 "/test/model" is the current directory
Чтение каталога...
PORT 192,168,1,248,196,246
200 PORT command successful
MLSD
150 Opening ASCII mode data connection for MLSD
Загрузка
Ожидание ответа сервера...
226 Transfer complete
CWD kcaptcha
250 CWD command successful
PWD
257 "/test/model/kcaptcha" is the current directory
Чтение каталога...
PORT 192,168,1,248,196,247
200 PORT command successful
MLSD
150 Opening ASCII mode data connection for MLSD
Загрузка
Ожидание ответа сервера...
226 Transfer complete
CWD fonts
250 CWD command successful
PWD
257 "/test/model/kcaptcha/fonts" is the current directory
Чтение каталога...
PORT 192,168,1,248,196,248
200 PORT command successful
MLSD
150 Opening ASCII mode data connection for MLSD
Загрузка
Ожидание ответа сервера...
226 Transfer complete
CDUP
250 CDUP command successful
PWD
257 "/test/model/kcaptcha" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test/model" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD shipping
250 CWD command successful
PWD
257 "/test/shipping" is the current directory
Чтение каталога...
PORT 192,168,1,248,196,249
200 PORT command successful
MLSD
150 Opening ASCII mode data connection for MLSD
Загрузка
Ожидание ответа сервера...
226 Transfer complete
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD upload
250 CWD command successful
PWD
257 "/test/upload" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/" is the current directory
CWD test
250 CWD command successful
PWD
257 "/test" is the current directory
CWD controller
250 CWD command successful
PWD
257 "/test/controller" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD model
250 CWD command successful
PWD
257 "/test/model" is the current directory
CWD kcaptcha
250 CWD command successful
PWD
257 "/test/model/kcaptcha" is the current directory
CWD fonts
250 CWD command successful
PWD
257 "/test/model/kcaptcha/fonts" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test/model/kcaptcha" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test/model" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD shipping
250 CWD command successful
PWD
257 "/test/shipping" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD upload
250 CWD command successful
PWD
257 "/test/upload" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/" is the current directory
CWD test
250 CWD command successful
PWD
257 "/test" is the current directory
CWD controller
250 CWD command successful
PWD
257 "/test/controller" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD model
250 CWD command successful
PWD
257 "/test/model" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD shipping
250 CWD command successful
PWD
257 "/test/shipping" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD upload
250 CWD command successful
PWD
257 "/test/upload" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD controller
250 CWD command successful
PWD
257 "/test/controller" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD model
250 CWD command successful
PWD
257 "/test/model" is the current directory
CWD kcaptcha
250 CWD command successful
PWD
257 "/test/model/kcaptcha" is the current directory
CWD fonts
250 CWD command successful
PWD
257 "/test/model/kcaptcha/fonts" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test/model/kcaptcha" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test/model" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD shipping
250 CWD command successful
PWD
257 "/test/shipping" is the current directory
CDUP
250 CDUP command successful
PWD
257 "/test" is the current directory
CWD upload
250 CWD command successful
PWD
257 "/test/upload" is the current directory

Вот  где паузы были?
Opening ASCII mode data connection for MLSD
Загрузка
Ожидание ответа сервера...
« Последнее редактирование: 08 Августа 2012, 08:39:40 от chikatillo »

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
ls -l /home/neos/test/controller/?
Wars ~.o

Оффлайн chikatillo

  • Автор темы
  • Участник
  • *
  • Сообщений: 139
    • Просмотр профиля
ls -l /home/neos/test/controller/?
Вот с утра на работе залил(паузы были но все файлы залились):
(Нажмите, чтобы показать/скрыть)
При загрузке обратно этих же файлов
200 PORT command successful
RETR C_Shipping.php
425 Unable to build data connection: Connection timed out
(Нажмите, чтобы показать/скрыть)

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Цитировать
425 Unable to build data connection: Connection timed out
порт закрыто. не знаю.
Wars ~.o

Оффлайн chikatillo

  • Автор темы
  • Участник
  • *
  • Сообщений: 139
    • Просмотр профиля
Цитировать
425 Unable to build data connection: Connection timed out
порт закрыто. не знаю.
Это понятно, но вот сейчас с другого места(Разница там только в другом провайдере, а так тот же шлюз на ubuntu с теме же правилами) загрузил, все грузится без пауз, и ошибок нет...Почему отбросил шлюз клиента, по тому как подключил выделенную линию на прямую к ноуту(Без фаерволов и антивирусников) и та же фигня...

P.S. при порт закрыто. не знаю. в фтп - Wed Aug 08 09:02:01 2012 0 xxx 0 /home/neos/test/S0110007.ubs b _ o r neos ftp 0 * i
P.S.S. Если на сервере в Гремании подключаюсь с МС к заведомо рабочему фтп, тоже проблемы происходят...
« Последнее редактирование: 08 Августа 2012, 11:11:55 от chikatillo »

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
у меня тоже германия сервер без проблема, терминалу команда curlftpfs клиент удобно.
Wars ~.o

Оффлайн chikatillo

  • Автор темы
  • Участник
  • *
  • Сообщений: 139
    • Просмотр профиля
у меня тоже германия сервер без проблема, терминалу команда curlftpfs клиент удобно.
Эт не решение проблемы, я просто проверял, а так в терминале в Германии мне фтп пользоваться не нужно...

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
chikatillo,
не терминал, любого программа фтп.
Wars ~.o

Оффлайн chikatillo

  • Автор темы
  • Участник
  • *
  • Сообщений: 139
    • Просмотр профиля

chikatillo,
не терминал, любого программа фтп.
А если у клиентов все на Windows? А причина все таки в чем?
« Последнее редактирование: 09 Августа 2012, 09:43:08 от chikatillo »

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
папробувал narod.ru ?
Wars ~.o

Оффлайн chikatillo

  • Автор темы
  • Участник
  • *
  • Сообщений: 139
    • Просмотр профиля
папробувал narod.ru ?
Все ок залил и слил 300 файлов....

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
одну zip файл положил, распоковать папробувал?
Wars ~.o

Оффлайн chikatillo

  • Автор темы
  • Участник
  • *
  • Сообщений: 139
    • Просмотр профиля
одну zip файл положил, распоковать папробувал?
в архивах передавать не подходит

И все-таки как определить где проблема у провайдера или у хостера?

 

Страница сгенерирована за 0.029 секунд. Запросов: 21.