aria2c - the next generation download utility

о модулях и их работе

Re: aria2c - the next generation download utility

Postby kpa-rs » 13 Jun 2013, 14:02

Доброго времени суток всем!
Прошу помощи. Понравились возможности данного модуля, но проверить их на практике, увы не получается.
Установился модуль нормально. Демон aria2c запускается, но при обращении к нему (хоть через вебморду, хоть через gui) служба aria2c останавливается. В чём может быть проблема? Может
FarVoice wrote:Перед установкой арии НАСТОЯТЕЛЬНО рекомендую обновить библиотеки.
Как это сделать, увы не знаю.
Digma HDMP-550 (1.0.8.0)
kpa-rs
 
Posts: 7
Joined: 13 Jun 2013, 13:34

Re: aria2c - the next generation download utility

Postby Pokrass » 13 Jun 2013, 15:21

Не знаете как обновить модули - не поленились бы прочесть раздел FAQ, а потом бы уже писали, если в том есть необходимость.
IconBIT HDS7L Fw: AMP_r12 GUI: VRT
iNeXT HD1 W Fw: X3D_Series_V4.0.2b160406
User avatar
Pokrass
 
Posts: 3154
Joined: 18 Mar 2012, 04:18
Location: Плюк. Планета № 215 в Тентуре галактики "Кин-дза-дза" в Спирали.

Re: aria2c - the next generation download utility

Postby kpa-rs » 13 Jun 2013, 15:44

Pokrass wrote:Не знаете как обновить модули - не поленились бы прочесть раздел FAQ, а потом бы уже писали, если в том есть необходимость.

Если "обновление библиотек" это нажатие кнопки "update all modules" в web-интерфейсе MOS, то это делал.
Digma HDMP-550 (1.0.8.0)
kpa-rs
 
Posts: 7
Joined: 13 Jun 2013, 13:34

Re: aria2c - the next generation download utility

Postby FarVoice » 13 Jun 2013, 15:57

а винт подключен?
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: aria2c - the next generation download utility

Postby kpa-rs » 13 Jun 2013, 16:03

Да, конечно подключен.
Digma HDMP-550 (1.0.8.0)
kpa-rs
 
Posts: 7
Joined: 13 Jun 2013, 13:34

Re: aria2c - the next generation download utility

Postby FarVoice » 13 Jun 2013, 16:05

пошарьте в папке download на винте файлик aria2s.log и если там есть что-то - копипастите сюда.
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: aria2c - the next generation download utility

Postby kpa-rs » 13 Jun 2013, 16:23

вот всё, что есть в логе:
2013-06-13 12:18:16.250690 [NOTICE] [HttpListenCommand.cc:112] IPv4 RPC: listening on TCP port 6800

Добавил в конфиг параметр log-level=debug, лог стал подробнее:
| +
2013-06-13 13:47:51.452963 [INFO] [main.cc:199] <<--- --- --- ---
2013-06-13 13:47:51.454037 [INFO] [main.cc:200] --- --- --- ---
2013-06-13 13:47:51.454332 [INFO] [main.cc:201] --- --- --- --->>
2013-06-13 13:47:51.454677 [INFO] [main.cc:202] aria2 1.17.0 mipsel-unknown-linux-gnu
2013-06-13 13:47:51.454934 [INFO] [main.cc:203] Logging started.
2013-06-13 13:47:51.455143 [INFO] [SocketCore.cc:1358] getifaddrs is not available. Assume IPv4 and IPv6 addresses are configured.
2013-06-13 13:47:51.462447 [INFO] [HttpListenCommand.cc:110] CUID#6 - Using port 6800 for accepting new connections
2013-06-13 13:47:51.463156 [NOTICE] [HttpListenCommand.cc:112] IPv4 RPC: listening on TCP port 6800
2013-06-13 13:47:57.154355 [INFO] [HttpListenCommand.cc:81] RPC: Accepted the connection from 192.168.0.7:4981.
2013-06-13 13:47:57.156685 [INFO] [HttpServer.cc:142] HTTP Server received request
GET /jsonrpc?jsoncallback=jQuery183012057969975285232_1371131280005&jsonrpc=2&id=webui&method=system.multicall&params=W1t7Im1ldGhvZE5hbWUiOiJhcmlhMi50ZWxsQWN0aXZlIn0seyJtZXRob2ROYW1lIjoiYXJpYTIudGVsbFdhaXRpbmciLCJwYXJhbXMiOlswLDEwMF19LHsibWV0aG9kTmFtZSI6ImFyaWEyLnRlbGxTdG9wcGVkIiwicGFyYW1zIjpbMCwxMDBdfSx7Im1ldGhvZE5hbWUiOiJhcmlhMi5nZXRHbG9iYWxTdGF0In1dXQ%3D%3D&_=1371131280032 HTTP/1.1
Host: digma:6800
Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36
Referer: http://digma/modules/aria2_1228/old.html
Accept-Encoding: gzip,deflate,sdch
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4
Cookie: PHPSESSID=69edf0d699ac14b6bcd11817c83a3ebb


2013-06-13 13:47:57.161205 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 13:47:57.167568 [DEBUG] [HttpServer.cc:251] HTTP Server sends response:
HTTP/1.1 200 OK
Date: Thu, 13 Jun 2013 13:47:57 GMT
Content-Length: 158
Expires: Thu, 13 Jun 2013 13:47:57 GMT
Cache-Control: no-cache
Content-Type: text/javascript
Access-Control-Allow-Origin: *
Content-Encoding: gzip


2013-06-13 13:47:57.169904 [INFO] [AbstractHttpServerResponseCommand.cc:117] CUID#7 - HttpServer: all response transmitted.
2013-06-13 13:47:57.170222 [INFO] [HttpServerResponseCommand.cc:64] CUID#7 - Persist connection.
2013-06-13 13:47:57.180865 [INFO] [HttpListenCommand.cc:81] RPC: Accepted the connection from 192.168.0.7:4982.
2013-06-13 13:47:57.188179 [INFO] [HttpServer.cc:142] HTTP Server received request
GET /jsonrpc HTTP/1.1
Upgrade: websocket
Connection: Upgrade
Host: digma:6800
Origin: http://digma
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: WIzjGmueuh7EvIipH0giJg==
Sec-WebSocket-Version: 13
Sec-WebSocket-Extensions: x-webkit-deflate-frame
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36
Cookie: PHPSESSID=69edf0d699ac14b6bcd11817c83a3ebb


2013-06-13 13:47:57.188768 [DEBUG] [HttpServer.cc:266] HTTP Server sends upgrade response:
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: NECP8HiOVEnyYXM4wwwz+vLSgKo=


2013-06-13 13:47:57.189674 [INFO] [AbstractHttpServerResponseCommand.cc:117] CUID#8 - HttpServer: all response transmitted.
2013-06-13 13:47:57.190478 [DEBUG] [Notifier.cc:55] WebSocket session added.
2013-06-13 13:47:58.170960 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 13:47:59.170826 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 13:48:00.171378 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 13:48:01.172524 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 13:48:02.173589 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 13:48:03.173866 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 13:48:04.174815 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 13:48:05.174972 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 13:48:05.645550 [INFO] [rpc_helper.cc:109] Executing RPC method aria2.addUri
2013-06-13 13:48:05.651942 [DEBUG] [RequestGroupMan.cc:521] 1 RequestGroup(s) added.
2013-06-13 13:48:05.652964 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 13:48:05.654271 [DEBUG] [FeedbackURISelector.cc:161] Selected from normCands
2013-06-13 13:48:05.654693 [DEBUG] [FeedbackURISelector.cc:85] FeedbackURISelector selected ftp://mirror.yandex.ru/ubuntu-releases/ ... -amd64.iso
2013-06-13 13:48:05.655962 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 13:48:05.660028 [INFO] [AsyncNameResolverMan.cc:86] CUID#9 - Resolving hostname mirror.yandex.ru
2013-06-13 13:48:05.661568 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 13:48:05.665573 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 13:48:05.666297 [INFO] [AbstractCommand.cc:758] CUID#9 - Name resolution complete: mirror.yandex.ru -> 213.180.204.183
2013-06-13 13:48:05.667275 [INFO] [FtpInitiateConnectionCommand.cc:173] CUID#9 - Connecting to 213.180.204.183:21
2013-06-13 13:48:05.733005 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:1, hup:0, err:0
2013-06-13 13:48:05.734160 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 13:48:05.801199 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:1, write:0, hup:0, err:0
2013-06-13 13:48:05.802041 [INFO] [FtpConnection.cc:369] CUID#9 - Response received:
220 Welcome to Yandex FTP service (diffuser.yandex.net).

2013-06-13 13:48:05.802353 [INFO] [FtpConnection.cc:87] CUID#9 - Requesting:
USER ********
2013-06-13 13:48:05.868137 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:1, write:0, hup:0, err:0
2013-06-13 13:48:05.868594 [INFO] [FtpConnection.cc:369] CUID#9 - Response received:
331 Please specify the password.

2013-06-13 13:48:05.868985 [INFO] [FtpConnection.cc:101] CUID#9 - Requesting:
PASS ********
2013-06-13 13:48:06.005166 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:1, write:0, hup:0, err:0
2013-06-13 13:48:06.005633 [INFO] [FtpConnection.cc:369] CUID#9 - Response received:
230 Login successful.

2013-06-13 13:48:06.005923 [INFO] [FtpConnection.cc:115] CUID#9 - Requesting:
TYPE I

2013-06-13 13:48:06.087226 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:1, write:0, hup:0, err:0
2013-06-13 13:48:06.087787 [INFO] [FtpConnection.cc:369] CUID#9 - Response received:
200 Switching to Binary mode.

2013-06-13 13:48:06.088074 [INFO] [FtpConnection.cc:127] CUID#9 - Requesting:
PWD

2013-06-13 13:48:06.153798 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:1, write:0, hup:0, err:0
2013-06-13 13:48:06.154247 [INFO] [FtpConnection.cc:369] CUID#9 - Response received:
257 "/"

2013-06-13 13:48:06.154526 [INFO] [FtpNegotiationCommand.cc:261] CUID#9 - base working directory is '/'
2013-06-13 13:48:06.155057 [INFO] [FtpConnection.cc:141] CUID#9 - Requesting:
CWD /

2013-06-13 13:48:06.175662 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 13:48:06.220484 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:1, write:0, hup:0, err:0
2013-06-13 13:48:06.221036 [INFO] [FtpConnection.cc:369] CUID#9 - Response received:
250 Directory successfully changed.

2013-06-13 13:48:06.221486 [INFO] [FtpConnection.cc:141] CUID#9 - Requesting:
CWD ubuntu-releases

2013-06-13 13:48:06.287491 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:1, write:0, hup:0, err:0
2013-06-13 13:48:06.287948 [INFO] [FtpConnection.cc:369] CUID#9 - Response received:
250 Directory successfully changed.

2013-06-13 13:48:06.288248 [INFO] [FtpConnection.cc:141] CUID#9 - Requesting:
CWD 10.04

2013-06-13 13:48:06.354453 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:1, write:0, hup:0, err:0
2013-06-13 13:48:06.354918 [INFO] [FtpConnection.cc:369] CUID#9 - Response received:
250 Directory successfully changed.

2013-06-13 13:48:06.355279 [INFO] [FtpConnection.cc:171] CUID#9 - Requesting:
SIZE ubuntu-10.04.4-server-amd64.iso

2013-06-13 13:48:06.420661 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:1, write:0, hup:0, err:0
2013-06-13 13:48:06.421115 [INFO] [FtpConnection.cc:369] CUID#9 - Response received:
213 714567680

2013-06-13 13:48:06.421792 [DEBUG] [RequestGroup.cc:1034] Finding PreDownloadHandler for path /tmp/hdd/volumes/HDD1/download/ubuntu-10.04.4-server-amd64.iso.
2013-06-13 13:48:06.422036 [DEBUG] [RequestGroup.cc:1048] No PreDownloadHandler found.
2013-06-13 13:48:06.422781 [INFO] [DefaultBtProgressInfoFile.cc:401] The segment file /tmp/hdd/volumes/HDD1/download/ubuntu-10.04.4-server-amd64.iso.aria2 does not exist.
2013-06-13 13:48:06.424002 [DEBUG] [DefaultPieceStorage.cc:637] Instantiating DirectDiskAdaptor
2013-06-13 13:48:06.424961 [INFO] [DefaultBtProgressInfoFile.cc:401] The segment file /tmp/hdd/volumes/HDD1/download/ubuntu-10.04.4-server-amd64.iso.aria2 does not exist.
2013-06-13 13:48:06.425500 [INFO] [DefaultBtProgressInfoFile.cc:401] The segment file /tmp/hdd/volumes/HDD1/download/ubuntu-10.04.4-server-amd64.iso.aria2 does not exist.
2013-06-13 13:48:06.425869 [INFO] [DefaultBtProgressInfoFile.cc:401] The segment file /tmp/hdd/volumes/HDD1/download/ubuntu-10.04.4-server-amd64.iso.aria2 does not exist.
2013-06-13 13:48:06.427396 [DEBUG] [DefaultPieceStorage.cc:155] usedPieces_.size()=1
2013-06-13 13:48:06.427843 [DEBUG] [SegmentMan.cc:139] Attach segment#0 to CUID#9.
2013-06-13 13:48:06.428300 [DEBUG] [SegmentMan.cc:164] index=0, length=1048576, segmentLength=1048576, writtenLength=0
2013-06-13 13:48:06.429066 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 13:48:06.430002 [INFO] [FtpConnection.cc:195] CUID#9 - Requesting:
PASV

2013-06-13 13:48:06.430529 [DEBUG] [AbstractCommand.cc:149] CUID#10 - socket: read:0, write:0, hup:0, err:0
2013-06-13 13:48:06.431032 [DEBUG] [DefaultPieceStorage.cc:155] usedPieces_.size()=2
2013-06-13 13:48:06.431312 [DEBUG] [SegmentMan.cc:139] Attach segment#341 to CUID#10.
2013-06-13 13:48:06.431542 [DEBUG] [SegmentMan.cc:164] index=341, length=1048576, segmentLength=1048576, writtenLength=0
2013-06-13 13:48:06.431974 [DEBUG] [FeedbackURISelector.cc:68] UsedHost=1, mirror.yandex.ru
2013-06-13 13:48:06.432559 [DEBUG] [FileEntry.cc:438] Found 1 reusable URIs
2013-06-13 13:48:06.432825 [DEBUG] [FileEntry.cc:441] URI=ftp://mirror.yandex.ru/ubuntu-releases/10.04/ubuntu-10.04.4-server-amd64.iso
2013-06-13 13:48:06.433062 [DEBUG] [FeedbackURISelector.cc:68] UsedHost=1, mirror.yandex.ru
2013-06-13 13:48:06.433299 [DEBUG] [FeedbackURISelector.cc:142] ftp://mirror.yandex.ru/ubuntu-releases/ ... -amd64.iso is in usedHosts, not considered
2013-06-13 13:48:06.433488 [DEBUG] [FeedbackURISelector.cc:78] No URI returned from selectFaster()
2013-06-13 13:48:06.433904 [DEBUG] [FeedbackURISelector.cc:85] FeedbackURISelector selected ftp://mirror.yandex.ru/ubuntu-releases/ ... -amd64.iso
2013-06-13 13:48:06.434313 [DEBUG] [FeedbackURISelector.cc:68] UsedHost=1, mirror.yandex.ru
2013-06-13 13:48:06.434594 [DEBUG] [SegmentMan.cc:455] ignoring segment for path=/tmp/hdd/volumes/HDD1/download/ubuntu-10.04.4-server-amd64.iso, offset=0, length=714567680
Digma HDMP-550 (1.0.8.0)
kpa-rs
 
Posts: 7
Joined: 13 Jun 2013, 13:34

Re: aria2c - the next generation download utility

Postby FarVoice » 13 Jun 2013, 19:00

в логе не видно, что демон ложицца :(
Попробуйте поставить в конфиге daemon=false и запустить из терминальной сессии
Code: Select all
aria2c  --conf-path=/usr/local/etc/mos/etc/aria2c.conf

и попробовать добавить закачку из веб морды. Может, в консоль что скажет...
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

Re: aria2c - the next generation download utility

Postby kpa-rs » 14 Jun 2013, 06:46

Может, в консоль что скажет...


В консоли было следущее:
Code: Select all
~ # aria2c  --conf-path=/usr/local/etc/mos/etc/aria2c.conf

06/13 23:01:30 [NOTICE] IPv4 RPC: listening on TCP port 6800
aria2c: can't resolve symbol '_Unwind_RaiseException'
~ #

Вот, на всякий случай, из лога:
| +
2013-06-13 23:01:30.587661 [INFO] [main.cc:199] <<--- --- --- ---
2013-06-13 23:01:30.859035 [INFO] [main.cc:200] --- --- --- ---
2013-06-13 23:01:30.859361 [INFO] [main.cc:201] --- --- --- --->>
2013-06-13 23:01:30.859709 [INFO] [main.cc:202] aria2 1.17.0 mipsel-unknown-linux-gnu
2013-06-13 23:01:30.859922 [INFO] [main.cc:203] Logging started.
2013-06-13 23:01:30.860112 [INFO] [SocketCore.cc:1358] getifaddrs is not available. Assume IPv4 and IPv6 addresses are configured.
2013-06-13 23:01:30.882739 [INFO] [HttpListenCommand.cc:110] CUID#6 - Using port 6800 for accepting new connections
2013-06-13 23:01:30.883471 [NOTICE] [HttpListenCommand.cc:112] IPv4 RPC: listening on TCP port 6800
2013-06-13 23:02:54.287354 [INFO] [HttpListenCommand.cc:81] RPC: Accepted the connection from 192.168.0.77:2039.
2013-06-13 23:02:54.296370 [INFO] [HttpServer.cc:142] HTTP Server received request
GET /jsonrpc HTTP/1.1
Origin: http://digma
Sec-WebSocket-Key: jfv8bGxYl69MkIYRBRciZQ==
Connection: Upgrade
Upgrade: Websocket
Sec-WebSocket-Version: 13
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)
Host: digma:6800
DNT: 1
Cache-Control: no-cache
Cookie: PHPSESSID=c80912c106b65ccebed83bc603a531a2


2013-06-13 23:02:54.297157 [DEBUG] [HttpServer.cc:266] HTTP Server sends upgrade response:
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: GODQBcAm6aoHf6oqTIUzRuq7Cng=


2013-06-13 23:02:54.298455 [INFO] [AbstractHttpServerResponseCommand.cc:117] CUID#7 - HttpServer: all response transmitted.
2013-06-13 23:02:54.299479 [DEBUG] [Notifier.cc:55] WebSocket session added.
2013-06-13 23:02:54.308571 [INFO] [HttpListenCommand.cc:81] RPC: Accepted the connection from 192.168.0.77:2040.
2013-06-13 23:02:54.309959 [INFO] [HttpServer.cc:142] HTTP Server received request
GET /jsonrpc?jsoncallback=jQuery18306170574315359729_1371164631950&jsonrpc=2&id=webui&method=system.multicall&params=W1t7Im1ldGhvZE5hbWUiOiJhcmlhMi50ZWxsQWN0aXZlIn0seyJtZXRob2ROYW1lIjoiYXJpYTIudGVsbFdhaXRpbmciLCJwYXJhbXMiOlswLDEwMF19LHsibWV0aG9kTmFtZSI6ImFyaWEyLnRlbGxTdG9wcGVkIiwicGFyYW1zIjpbMCwxMDBdfSx7Im1ldGhvZE5hbWUiOiJhcmlhMi5nZXRHbG9iYWxTdGF0In1dXQ%3D%3D&_=1371164632421 HTTP/1.1
Accept: application/javascript, */*;q=0.8
Referer: http://digma/modules/aria2_1228/old.html
Accept-Language: ru-RU
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)
Accept-Encoding: gzip, deflate
Host: digma:6800
DNT: 1
Connection: Keep-Alive
Cookie: PHPSESSID=c80912c106b65ccebed83bc603a531a2


2013-06-13 23:02:54.315918 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:02:54.324744 [DEBUG] [HttpServer.cc:251] HTTP Server sends response:
HTTP/1.1 200 OK
Date: Thu, 13 Jun 2013 23:02:54 GMT
Content-Length: 158
Expires: Thu, 13 Jun 2013 23:02:54 GMT
Cache-Control: no-cache
Content-Type: text/javascript
Access-Control-Allow-Origin: *
Content-Encoding: gzip


2013-06-13 23:02:54.325573 [INFO] [AbstractHttpServerResponseCommand.cc:117] CUID#8 - HttpServer: all response transmitted.
2013-06-13 23:02:54.325857 [INFO] [HttpServerResponseCommand.cc:64] CUID#8 - Persist connection.
2013-06-13 23:02:55.419060 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:02:56.399171 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:02:57.412032 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:02:58.410398 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:02:59.410334 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:00.409012 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:01.406237 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:02.419804 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:03.402576 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:04.508684 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:05.479961 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:06.474886 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:07.457430 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:08.441749 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:09.439245 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:10.437619 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:10.859185 [INFO] [rpc_helper.cc:109] Executing RPC method aria2.addUri
2013-06-13 23:03:10.864545 [DEBUG] [RequestGroupMan.cc:521] 1 RequestGroup(s) added.
2013-06-13 23:03:10.865588 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 23:03:10.867036 [DEBUG] [FeedbackURISelector.cc:161] Selected from normCands
2013-06-13 23:03:10.867472 [DEBUG] [FeedbackURISelector.cc:85] FeedbackURISelector selected http://download.2gis.ru/arhives/2GISShe ... 00.0.0.exe
2013-06-13 23:03:10.869088 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 23:03:10.874026 [INFO] [AsyncNameResolverMan.cc:86] CUID#9 - Resolving hostname download.2gis.ru
2013-06-13 23:03:10.875659 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 23:03:10.876247 [INFO] [AbstractCommand.cc:758] CUID#9 - Name resolution complete: download.2gis.ru -> 91.221.199.134
2013-06-13 23:03:10.876980 [INFO] [HttpInitiateConnectionCommand.cc:136] CUID#9 - Connecting to 91.221.199.134:80
2013-06-13 23:03:10.892324 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:1, hup:0, err:0
2013-06-13 23:03:10.893375 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:1, hup:0, err:0
2013-06-13 23:03:10.895613 [INFO] [HttpConnection.cc:107] CUID#9 - Requesting:
GET /arhives/2GISShell-3.13.6.0-2GISData_Barnaul-100.0.0.exe HTTP/1.1
User-Agent: aria2/1.17.0
Accept: */*,application/metalink4+xml,application/metalink+xml
Host: download.2gis.ru


2013-06-13 23:03:10.910993 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:1, write:0, hup:0, err:0
2013-06-13 23:03:10.911813 [INFO] [HttpConnection.cc:147] CUID#9 - Response received:
HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Thu, 13 Jun 2013 23:03:11 GMT
Content-Type: text/html
Content-Length: 154
Connection: keep-alive
Location: http://s1.update.2gis.com/ver3/w/downlo ... 00.0.0.exe


2013-06-13 23:03:10.913641 [INFO] [rpc_helper.cc:109] Executing RPC method system.multicall
2013-06-13 23:03:10.917020 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 23:03:10.917471 [INFO] [DownloadEngine.cc:284] Pool socket for 91.221.199.134(80)
2013-06-13 23:03:10.917702 [DEBUG] [DownloadEngine.cc:290] Scaning SocketPool and erasing timed out entry.
2013-06-13 23:03:10.918403 [DEBUG] [DownloadEngine.cc:300] 0 entries removed.
2013-06-13 23:03:10.918975 [INFO] [HttpResponse.cc:169] CUID#9 - Redirecting to http://s1.update.2gis.com/ver3/w/downlo ... 00.0.0.exe
2013-06-13 23:03:10.919251 [DEBUG] [AbstractCommand.cc:412] CUID#9 - Pooling request URI=http://download.2gis.ru/arhives/2GISShell-3.13.6.0-2GISData_Barnaul-100.0.0.exe
2013-06-13 23:03:10.919817 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 23:03:10.920206 [DEBUG] [FileEntry.cc:213] Picked up from pool: http://download.2gis.ru/arhives/2GISShe ... 00.0.0.exe
2013-06-13 23:03:10.920620 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 23:03:10.922348 [INFO] [AsyncNameResolverMan.cc:86] CUID#9 - Resolving hostname s1.update.2gis.com
2013-06-13 23:03:10.924094 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 23:03:10.924513 [INFO] [AbstractCommand.cc:758] CUID#9 - Name resolution complete: s1.update.2gis.com -> 46.232.200.5
2013-06-13 23:03:10.925136 [INFO] [HttpInitiateConnectionCommand.cc:136] CUID#9 - Connecting to 46.232.200.5:80
2013-06-13 23:03:10.989784 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:1, hup:0, err:0
2013-06-13 23:03:10.990459 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:1, hup:0, err:0
2013-06-13 23:03:10.991326 [INFO] [HttpConnection.cc:107] CUID#9 - Requesting:
GET /ver3/w/download/2GISShell-3.13.6.0-2GISData_Barnaul-100.0.0.exe HTTP/1.1
User-Agent: aria2/1.17.0
Accept: */*,application/metalink4+xml,application/metalink+xml
Host: s1.update.2gis.com


2013-06-13 23:03:11.061579 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:1, write:0, hup:0, err:0
2013-06-13 23:03:11.062280 [INFO] [HttpConnection.cc:147] CUID#9 - Response received:
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 13 Jun 2013 23:03:37 GMT
Content-Type: application/octet-stream
Content-Length: 68950192
Last-Modified: Fri, 31 May 2013 18:39:36 GMT
Connection: keep-alive
Expires: Sat, 13 Jul 2013 23:03:37 GMT
Cache-Control: max-age=2592000
Accept-Ranges: bytes


2013-06-13 23:03:11.063237 [DEBUG] [RequestGroup.cc:1034] Finding PreDownloadHandler for path /tmp/hdd/volumes/HDD1/download/2GISShell-3.13.6.0-2GISData_Barnaul-100.0.0.exe.
2013-06-13 23:03:11.063485 [DEBUG] [RequestGroup.cc:1048] No PreDownloadHandler found.
2013-06-13 23:03:11.064442 [INFO] [DefaultBtProgressInfoFile.cc:401] The segment file /tmp/hdd/volumes/HDD1/download/2GISShell-3.13.6.0-2GISData_Barnaul-100.0.0.exe.aria2 does not exist.
2013-06-13 23:03:11.065394 [DEBUG] [DefaultPieceStorage.cc:637] Instantiating DirectDiskAdaptor
2013-06-13 23:03:11.066326 [INFO] [DefaultBtProgressInfoFile.cc:401] The segment file /tmp/hdd/volumes/HDD1/download/2GISShell-3.13.6.0-2GISData_Barnaul-100.0.0.exe.aria2 does not exist.
2013-06-13 23:03:11.066870 [INFO] [DefaultBtProgressInfoFile.cc:401] The segment file /tmp/hdd/volumes/HDD1/download/2GISShell-3.13.6.0-2GISData_Barnaul-100.0.0.exe.aria2 does not exist.
2013-06-13 23:03:11.067240 [INFO] [DefaultBtProgressInfoFile.cc:401] The segment file /tmp/hdd/volumes/HDD1/download/2GISShell-3.13.6.0-2GISData_Barnaul-100.0.0.exe.aria2 does not exist.
2013-06-13 23:03:11.069226 [DEBUG] [DefaultPieceStorage.cc:155] usedPieces_.size()=1
2013-06-13 23:03:11.069672 [DEBUG] [SegmentMan.cc:139] Attach segment#0 to CUID#9.
2013-06-13 23:03:11.070196 [DEBUG] [SegmentMan.cc:164] index=0, length=1048576, segmentLength=1048576, writtenLength=0
2013-06-13 23:03:11.071562 [DEBUG] [AbstractCommand.cc:149] CUID#9 - socket: read:0, write:0, hup:0, err:0
2013-06-13 23:03:11.142960 [DEBUG] [AbstractCommand.cc:149] CUID#10 - socket: read:0, write:0, hup:0, err:0
2013-06-13 23:03:11.143443 [DEBUG] [DefaultPieceStorage.cc:155] usedPieces_.size()=2
2013-06-13 23:03:11.143723 [DEBUG] [SegmentMan.cc:139] Attach segment#33 to CUID#10.
2013-06-13 23:03:11.143957 [DEBUG] [SegmentMan.cc:164] index=33, length=1048576, segmentLength=1048576, writtenLength=0
2013-06-13 23:03:11.144394 [DEBUG] [FeedbackURISelector.cc:68] UsedHost=1, download.2gis.ru
2013-06-13 23:03:11.144980 [DEBUG] [FileEntry.cc:438] Found 1 reusable URIs
2013-06-13 23:03:11.145243 [DEBUG] [FileEntry.cc:441] URI=http://download.2gis.ru/arhives/2GISShell-3.13.6.0-2GISData_Barnaul-100.0.0.exe
2013-06-13 23:03:11.145573 [DEBUG] [FeedbackURISelector.cc:68] UsedHost=1, download.2gis.ru
2013-06-13 23:03:11.145867 [DEBUG] [FeedbackURISelector.cc:142] http://download.2gis.ru/arhives/2GISShe ... 00.0.0.exe is in usedHosts, not considered
2013-06-13 23:03:11.146055 [DEBUG] [FeedbackURISelector.cc:78] No URI returned from selectFaster()
2013-06-13 23:03:11.146470 [DEBUG] [FeedbackURISelector.cc:85] FeedbackURISelector selected http://download.2gis.ru/arhives/2GISShe ... 00.0.0.exe
2013-06-13 23:03:11.146869 [DEBUG] [FeedbackURISelector.cc:68] UsedHost=1, download.2gis.ru
2013-06-13 23:03:11.147142 [DEBUG] [SegmentMan.cc:455] ignoring segment for path=/tmp/hdd/volumes/HDD1/download/2GISShell-3.13.6.0-2GISData_Barnaul-100.0.0.exe, offset=0, length=68950192

При этом в папке download на плеере появляется скачиваемый файл (точнее его кусок размером около 5 КБ, делал несколько попыток, размер куска был разным - 3-5 КБ).

Как оказывается кое-что aria у меня всё-таки качает. Мне удалось загрузить файл с HTTP-ресурса. При этом в консоли было так:
Code: Select all
~ # aria2c  --conf-path=/usr/local/etc/mos/etc/aria2c.conf

06/13 23:09:45 [NOTICE] IPv4 RPC: listening on TCP port 6800
 *** Download Progress Summary as of Thu Jun 13 23:10:47 2013 ***
=============================================================================================================================
[#1ad4ec 25MiB/29MiB(85%) CN:1 DL:865KiB ETA:5s]
FILE: /tmp/hdd/volumes/HDD1/download/2GISData_Barnaul~mlegacy1-163.6.0.dgdat
-----------------------------------------------------------------------------------------------------------------------------

[#1ad4ec 28MiB/29MiB(98%) CN:1 DL:914KiB]
06/13 23:10:51 [NOTICE] Download complete: /tmp/hdd/volumes/HDD1/download/2GISData_Barnaul~mlegacy1-163.6.0.dgdat

И в вебке арии тоже всё было нормально (отображался прогресс загрузки и её окончание).

Попытки скормить арии "any_file.torrent" ни разу не приводили к положительному результату. В папке download появлялся файл "набор_символов.torren" и ария падала.
Digma HDMP-550 (1.0.8.0)
kpa-rs
 
Posts: 7
Joined: 13 Jun 2013, 13:34

Re: aria2c - the next generation download utility

Postby FarVoice » 14 Jun 2013, 12:24

какая-то библиотека лажает :( вышлите мне файл /usr/local/etc/mos/etc/pm/installed, ну или выложите его содержимое сюда
ASUS O!Play R1 (amp_r12_vrtn), xTreamer Pro (amp_r12_vrt), xTreamer Prodigy (iNeXT 2.14 r2), IconBIT HDR12L (amp_r12_vrt), 3Q F425HW (xds42gl_7725_r3), MyGica A11 (mygica_m3_20121222)
User avatar
FarVoice
Администратор
 
Posts: 8572
Joined: 03 Sep 2010, 01:27
Location: Russia, Moscow

PreviousNext

Return to Модули

Who is online

Users browsing this forum: No registered users and 21 guests

cron