Closed sknfa closed 8 years ago
Такая же ситуация на машине с debian 8, возможно я чего-то не понимаю...
После исправления всех указанных недочетов - дайте знать, пожалуйста.
Права на запись для папки куда скачиваются обновления? У меня была такая проблема.
Разобрался, конфу скрипта не скопировал в conf.d
Шаги для воспроизведения проблемы (steps to reproduce)
[kot@2 scripts]$ /home/kot/scripts/nod32-mirror.sh -f [15:56:50] Mirror flushed [15:56:50] Total updates (.nup) files count: 0 file(s) [15:56:50] Total updates (.nup) files size: 0.0M [kot@2 scripts]$ /home/kot/scripts/nod32-mirror.sh -u [15:56:56] Checking server (http://update.eset.com:80/eset_upd/ [username:****]).. Available [15:56:57] Starting mirroring "http://update.eset.com:80/eset_upd/" -> "/home/kot/nod32mirror" [15:56:57] Download versions file (http://update.eset.com:80/eset_upd/update.ver).. Success [15:56:57] Versions file packed by RAR, unpacking.. Success [15:56:57] Parsing & writing new (/home/kot/nod32mirror/update.ver) versions file (dots = skipped sections): #.###.......#####..........###....................#.......#.......###.......###.......###.......##.......#.......................#.......#.......###.......###.......###.......###.......###.......#......#........###.......###.......................###.......##.......................###.......#.......##...............##.......###....................##.......####.......................................................########........................................................................................########........................................ [15:57:11] Download file "http://update.eset.com:80/v3-rel-sta/mod_041_w10upgrade_1000/em041_32_l0.nup" (1 of 88).. Downloading file error [15:57:11] Download file "http://update.eset.com:80/v3-rel-sta/mod_041_w10upgrade_1001/em041_32_l1.nup" (2 of 88).. Downloading file error [15:57:12] Download file "http://update.eset.com:80/v3-rel-sta/mod_041_w10upgrade_1007/em041_32_l2.nup" (3 of 88).. Downloading file error [15:57:12] Download file "http://update.eset.com:80/v3-rel-sta/mod_000_loader_1108/em000_32_l0.nup" (4 of 88).. Downloading file error [15:57:13] Download file "http://update.eset.com:80/v3-rel-sta/mod_000_loader_1108/em000_64_l0.nup" (5 of 88).. ^C Файл лога не нахожу.
Данные системы (system information)
Операционная система (operating system): centos 7 Linux version 3.10.0-327.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 19 22:10:57 UTC 2015
Bash: GNU bash, version 4.2.46(1)-release (x86_64-redhat-linux-gnu)
wget / curl: GNU Wget 1.14 built on linux-gnu.
curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.19.1 Basic ECC zlib/1.2.7 libidn/1.28 libssh2/1.4.3
Настройки (settings):
Настройки скрипта (script settings):