Перейти к содержимому


Фото
- - - - -

Снова сломанное обновление (solaris)


  • Please log in to reply
7 ответов в этой теме

#1 cdesz

cdesz

    Newbie

  • Posters
  • 24 Сообщений:

Отправлено 05 Апрель 2017 - 21:05

При обновлении с части серверов приходит плохой libvaderetro для solaris x86

 

Вот тут нормальный: 

 

Dr.Web update details:
Update has begun at Wed Apr  5 20:46:27 2017
Update has finished at Wed Apr  5 20:46:28 2017
 
Following files have been updated:
        /var/drweb/bases/timestamp
        /var/drweb/updates/timestamp
        /var/drweb/lib/libvaderetro.so
 
$ ldd /var/drweb/lib/libvaderetro.so.cache
        libxnet.so.1 =>  /lib/libxnet.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libsocket.so.1 =>        /lib/libsocket.so.1
        libstdc++.so.6 =>        /opt/drweb/lib/libstdc++.so.6
        libm.so.1 =>     /lib/libm.so.1
        libgcc_s.so.1 =>         /opt/drweb/lib/libgcc_s.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libc.so.1 =>     /lib/libc.so.1
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        libm.so.2 =>     /lib/libm.so.2
---
 
А вот тут битый: 
Dr.Web update details:
Update has begun at Wed Apr  5 20:45:47 2017
Update has finished at Wed Apr  5 20:45:48 2017
 
Following files have been updated:
        /var/drweb/bases/timestamp
        /var/drweb/updates/timestamp
        /var/drweb/lib/libvaderetro.so
 
$ ldd /var/drweb/lib/libvaderetro.so.cache
        librt.so.1 =>    /lib/librt.so.1
        librt.so.1 (GLIBC_2.2) =>        (version not found)
        libpthread.so.0 =>       (file not found)
        libm.so.6 =>     (file not found)
        libgcc_s.so.1 =>         /opt/drweb/lib/libgcc_s.so.1
        libgcc_s.so.1 (GLIBC_2.0) =>     (version not found)
        libc.so.6 =>     (file not found)
        libaio.so.1 =>   /lib/libaio.so.1
        libmd.so.1 =>    /lib/libmd.so.1
        libc.so.1 =>     /lib/libc.so.1
        libm.so.2 =>     /lib/libm.so.2
---
Это судя по всему что-то линуксовое. 
При таком обновлении drweb-monitor сразу падает
[1] vaderetro FATAL Reload error:error in open lib '/var/drweb/lib/libvaderetro.so.cache': ld.so.1: drweb-maild: fatal: librt.so.1: open failed: No such file or directory
 
 


#2 Boris Savelev

Boris Savelev

    Member

  • Beta Tester
  • 153 Сообщений:

Отправлено 06 Апрель 2017 - 12:19

Здравствуйте!

 

1) Покажите, пожалуйста, md5 от рабочей и не рабочей libvaderetro

2) По ldd не понятно. Если есть возможность, покажите вывод readelf -d libvaderetro.so от обоих


telegram: @bsavelev


#3 cdesz

cdesz

    Newbie

  • Posters
  • 24 Сообщений:

Отправлено 06 Апрель 2017 - 17:10

$ md5sum libvaderetro.so.*
e1691c6b5b69cdb4a3f035607ae0867d  libvaderetro.so.bad
e80efa03eacbf13999bc16f314aad6d2  libvaderetro.so.good
 
$ readelf -d libvaderetro.so.bad
 
Dynamic section at offset 0x323014 contains 24 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [librt.so.1]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000c (INIT)                       0x179b4
 0x0000000d (FINI)                       0x130654
 0x00000004 (HASH)                       0xd4
 0x00000005 (STRTAB)                     0x8dbc
 0x00000006 (SYMTAB)                     0x29ec
 0x0000000a (STRSZ)                      45646 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000003 (PLTGOT)                     0x32348c
 0x00000002 (PLTRELSZ)                   7400 (bytes)
 0x00000014 (PLTREL)                     REL
 0x00000017 (JMPREL)                     0x15ccc
 0x00000011 (REL)                        0x14d84
 0x00000012 (RELSZ)                      3912 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffe (VERNEED)                    0x14c84
 0x6fffffff (VERNEEDNUM)                 5
 0x6ffffff0 (VERSYM)                     0x1400a
 0x6ffffffa (RELCOUNT)                   51
 0x00000000 (NULL)                       0x0
 
$ readelf -d libvaderetro.so.good
 
Dynamic section at offset 0x323a2c contains 27 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libxnet.so.1]
 0x00000001 (NEEDED)                     Shared library: [libnsl.so.1]
 0x00000001 (NEEDED)                     Shared library: [libsocket.so.1]
 0x00000001 (NEEDED)                     Shared library: [libstdc++.so.6]
 0x00000001 (NEEDED)                     Shared library: [libm.so.1]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x0000000c (INIT)                       0x12972c
 0x0000000d (FINI)                       0x129739
 0x00000004 (HASH)                       0x94
 0x00000005 (STRTAB)                     0x887c
 0x0000000a (STRSZ)                      40387 (bytes)
 0x00000006 (SYMTAB)                     0x2dec
 0x0000000b (SYMENT)                     16 (bytes)
 0x6ffffdf8 (CHECKSUM)                   0xb669
 0x6ffffffe (VERNEED)                    0x12640
 0x6fffffff (VERNEEDNUM)                 3
 0x00000002 (PLTRELSZ)                   6800 (bytes)
 0x00000014 (PLTREL)                     REL
 0x00000017 (JMPREL)                     0x13620
 0x00000011 (REL)                        0x126a0
 0x00000012 (RELSZ)                      10768 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffdfc (FEATURE)                    Flags: PARINIT
 0x0000001e (FLAGS)
 0x6ffffffb (FLAGS_1)                    Flags: None
 0x00000003 (PLTGOT)                     0x332994
 0x00000000 (NULL)                       0x0
 

 



#4 Boris Savelev

Boris Savelev

    Member

  • Beta Tester
  • 153 Сообщений:

Отправлено 06 Апрель 2017 - 17:58

e1691c6b5b69cdb4a3f035607ae0867d  libvaderetro.so.bad

 

 

Это линуксовая libvaderetro. Как она оказалась в солярисе, возможно подскажут логи апдейтера... Они сохранились?

telegram: @bsavelev


#5 cdesz

cdesz

    Newbie

  • Posters
  • 24 Сообщений:

Отправлено 06 Апрель 2017 - 18:41

Вот лог только что получивший неверный файл.

Только убрал строки типа

/var/drweb/bases/dwr70003.vdb - dwr70003.vdb with such check sum already exists, skipped...

чтобы влезть в ограничения

 
Apr  6 18:29:20 Dr.Web Updater ($Id: 30cd8d350a4dd344558f718284c052a1630f9981 $) started ...
Apr  6 18:29:20 Generated file path: /var/drweb/updater/agent/
Apr  6 18:29:20 Generated file path: /var/drweb/updater/drweb/
Apr  6 18:29:20 Generated file path: /var/drweb/updater/vaderetro_lib/
Apr  6 18:29:20 Trying to load last update cache...
Apr  6 18:29:20 Last update cache has been loaded.
Apr  6 18:29:20 Loading cache data...
Apr  6 18:29:20 Cache data has been loaded...
Apr  6 18:29:20 /var/drweb/bases/custom.drl: no such file or no permissions for reading custom URL list
Apr  6 18:29:20 try using Dr.Web URL list (/var/drweb/bases/update.drl)
Apr  6 18:29:20 no custom update servers
Apr  6 18:29:20 main update servers:
Apr  6 18:29:20     http://update.drweb.com/unix/700
Apr  6 18:29:20     http://update.msk.drweb.com/unix/700
Apr  6 18:29:20     http://update.us.drweb.com/unix/700
Apr  6 18:29:20     http://update.msk5.drweb.com/unix/700
Apr  6 18:29:20     http://update.msk6.drweb.com/unix/700
Apr  6 18:29:20     http://update.fr1.drweb.com/unix/700
Apr  6 18:29:20     http://update.us1.drweb.com/unix/700
Apr  6 18:29:20     http://update.nsk1.drweb.com/unix/700
Apr  6 18:29:20 no custom URLs for plugin vaderetro_lib
Apr  6 18:29:20 try using plugin vaderetro_lib URL list (/var/drweb/drl/vaderetro_lib.drl)
Apr  6 18:29:20 plugin vaderetro_lib main URLs are: http://update.drweb.com/unix/maild/vr/i386/solaris9, http://update.msk.drweb.com/unix/maild/vr/i386/solaris9, http://update.us.drweb.com/unix/maild/vr/i386/solaris9, http://update.nsk1.drweb.com/unix/maild/vr/i386/solaris9
Apr  6 18:29:20 Key file is not needed to update
Apr  6 18:29:20 Trying to check if updates are frozen...
Apr  6 18:29:20 Generated file path: /var/drweb/updater/drweb/lock
Apr  6 18:29:20 Updates are not frozen.
Apr  6 18:29:20 Attempting to fetch http://update.nsk1.drweb.com/unix/700/version.lst ...
Apr  6 18:29:20 request with 380 bytes length was sent to update.nsk1.drweb.com
Apr  6 18:29:20 update.nsk1.drweb.com return 200 OK
Apr  6 18:29:20 Saving data into file '/var/drweb/spool/version.lst.RPpnuUhC'...
Apr  6 18:29:20 Data has been saved.
Apr  6 18:29:21 /var/drweb/bases/update.drl -   update.drl with such check sum already exists, skipped...
Apr  6 18:29:21 request with 381 bytes length was sent to update.nsk1.drweb.com
Apr  6 18:29:21 update.nsk1.drweb.com return 404 Not Found
Apr  6 18:29:21 File not found (softfail), will try other variant if any
Apr  6 18:29:21 request with 376 bytes length was sent to update.nsk1.drweb.com
Apr  6 18:29:21 update.nsk1.drweb.com return 200 OK
Apr  6 18:29:21 drwtoday.vdb has been downloaded (check sum=3130ca9a165940c396b2b5009670d7f4d83210210cf19a45e2f76321007c7dcf)
Apr  6 18:29:21 request with 381 bytes length was sent to update.nsk1.drweb.com
Apr  6 18:29:21 update.nsk1.drweb.com return 404 Not Found
Apr  6 18:29:21 File not found (softfail), will try other variant if any
Apr  6 18:29:21 request with 376 bytes length was sent to update.nsk1.drweb.com
Apr  6 18:29:21 update.nsk1.drweb.com return 200 OK
Apr  6 18:29:21 dwmtoday.vdb has been downloaded (check sum=2fa8e4d57b73f3e9c17b7500987f76f2ecb82bbdc96c2bb0c0d1b008a1e56a36)
Apr  6 18:29:21 request with 381 bytes length was sent to update.nsk1.drweb.com
Apr  6 18:29:21 update.nsk1.drweb.com return 404 Not Found
Apr  6 18:29:21 File not found (softfail), will try other variant if any
Apr  6 18:29:21 request with 376 bytes length was sent to update.nsk1.drweb.com
Apr  6 18:29:21 update.nsk1.drweb.com return 200 OK
Apr  6 18:29:21 dwntoday.vdb has been downloaded (check sum=a901c622e483306409a7e9e733edc6a8b60267f9e27fa06fa830b141872082c1)
Apr  6 18:29:21 request with 381 bytes length was sent to update.nsk1.drweb.com
Apr  6 18:29:21 update.nsk1.drweb.com return 404 Not Found
Apr  6 18:29:21 File not found (softfail), will try other variant if any
Apr  6 18:29:21 request with 376 bytes length was sent to update.nsk1.drweb.com
Apr  6 18:29:21 update.nsk1.drweb.com return 200 OK
Apr  6 18:29:21 dwrtoday.vdb has been downloaded (check sum=a3ba9fd7a0a89ab9b4ed4601e269f85e31eccaa3f6b43754564910d3a37abbb8)
Apr  6 18:29:21 request with 378 bytes length was sent to update.nsk1.drweb.com
Apr  6 18:29:21 update.nsk1.drweb.com return 404 Not Found
Apr  6 18:29:21 File not found (softfail), will try other variant if any
Apr  6 18:29:21 request with 373 bytes length was sent to update.nsk1.drweb.com
Apr  6 18:29:21 update.nsk1.drweb.com return 200 OK
Apr  6 18:29:21    timestamp has been downloaded (check sum=3a49d1536ed5072142ae73a5cc4a016c4079894fad995c34350250f9c9906bb6)
Apr  6 18:29:21 Creating backup...
Apr  6 18:29:21 Generated file path: /var/drweb/updater/drweb/data/
Apr  6 18:29:21 Generating backup info...
Apr  6 18:29:21 Cleaning up backup data...
Apr  6 18:29:21 Generated file path: /var/drweb/updater/drweb/data/
Apr  6 18:29:21 Generated file path: /var/drweb/updater/drweb/diff
Apr  6 18:29:21 Storing backup data...
Apr  6 18:29:21 Generated file path: /var/drweb/updater/drweb/data/
Apr  6 18:29:21 Generated file path: /var/drweb/updater/drweb/diff
Apr  6 18:29:21 Saving data into file '/var/drweb/updater/drweb/diff'...
Apr  6 18:29:21 Data has been saved.
Apr  6 18:29:21 Backup complete
Apr  6 18:29:21 Updating cache data...
Apr  6 18:29:21 Cache data has been updated.
Apr  6 18:29:21 Trying to check if updates are frozen...
Apr  6 18:29:21 Generated file path: /var/drweb/updater/vaderetro_lib/lock
Apr  6 18:29:21 Updates are not frozen.
Apr  6 18:29:21 Attempting to fetch http://update.drweb.com/unix/maild/vr/i386/solaris9/version.lst ...
Apr  6 18:29:21 request with 394 bytes length was sent to update.drweb.com
Apr  6 18:29:21 update.drweb.com return 200 OK
Apr  6 18:29:21 Saving data into file '/var/drweb/spool/version.lst.qVT40juq'...
Apr  6 18:29:21 Data has been saved.
Apr  6 18:29:21 /var/drweb/lib/libvaderetro.so - libvaderetrosp.so with such check sum already exists, skipped...
Apr  6 18:29:21 /var/drweb/drl/vaderetro_lib.drl - vaderetro_lib.drl with such check sum already exists, skipped...
Apr  6 18:29:21 request with 400 bytes length was sent to update.drweb.com
Apr  6 18:29:21 update.drweb.com return 404 Not Found
Apr  6 18:29:21 File not found (softfail), will try other variant if any
Apr  6 18:29:21 request with 395 bytes length was sent to update.drweb.com
Apr  6 18:29:21 update.drweb.com return 200 OK
Apr  6 18:29:42 libvaderetrofb.so has been downloaded (check sum=f2f36a9f920f4cb879e396e6ebbabe06bc6e1929e5b5055edf7a6e1d6c47f073)
Apr  6 18:29:42 request with 400 bytes length was sent to update.drweb.com
Apr  6 18:29:42 update.drweb.com return 404 Not Found
Apr  6 18:29:42 File not found (softfail), will try other variant if any
Apr  6 18:29:42 request with 395 bytes length was sent to update.drweb.com
Apr  6 18:29:42 update.drweb.com return 200 OK
Apr  6 18:30:04 libvaderetrolx.so has been downloaded (check sum=a93feeee33fbe7d9418d62a7d5386b52d17bc82c202258dafdd24bb258f81100)
Apr  6 18:30:04 request with 392 bytes length was sent to update.drweb.com
Apr  6 18:30:04 update.drweb.com return 404 Not Found
Apr  6 18:30:04 File not found (softfail), will try other variant if any
Apr  6 18:30:04 request with 387 bytes length was sent to update.drweb.com
Apr  6 18:30:04 update.drweb.com return 200 OK
Apr  6 18:30:04         timestamp has been downloaded (check sum=acd4df9f3f6cfa50592a8181dbb9b11078e6443f04b0be6388e7d2ae04d333c9)
Apr  6 18:30:04 Creating backup...
Apr  6 18:30:04 Generated file path: /var/drweb/updater/vaderetro_lib/data/
Apr  6 18:30:04 Generating backup info...
Apr  6 18:30:04 Cleaning up backup data...
Apr  6 18:30:04 Generated file path: /var/drweb/updater/vaderetro_lib/data/
Apr  6 18:30:04 Generated file path: /var/drweb/updater/vaderetro_lib/diff
Apr  6 18:30:04 Storing backup data...
Apr  6 18:30:04 Generated file path: /var/drweb/updater/vaderetro_lib/data/
Apr  6 18:30:04 Generated file path: /var/drweb/updater/vaderetro_lib/diff
Apr  6 18:30:04 Saving data into file '/var/drweb/updater/vaderetro_lib/diff'...
Apr  6 18:30:04 Data has been saved.
Apr  6 18:30:04 Backup complete
Apr  6 18:30:04 Updating cache data...
Apr  6 18:30:04 Cache data has been updated.
Apr  6 18:30:04 lotusd pidfile /var/drweb/run/drweblotusd.pid does not exist or unaccessible
Apr  6 18:30:04 Trying to send signal HUP Dr.Web daemon...
Apr  6 18:30:04 signal HUP has been sent to Dr.Web daemon...
Apr  6 18:30:04 Trying to send signal HUP drweb-maild...
Apr  6 18:30:04 signal HUP has been sent to drweb-maild...
Apr  6 18:30:04 Saving last update cache data...
Apr  6 18:30:04 Last update cache data has been saved.
Apr  6 18:30:04 Saving cache data...
Apr  6 18:30:04 Cache data has been saved.
Apr  6 18:30:04 Finish Success:   2017-04-06 18:30:04
Apr  6 18:30:04 Socket path is /var/drweb/run/updateSock


Сообщение было изменено cdesz: 06 Апрель 2017 - 18:44


#6 Boris Savelev

Boris Savelev

    Member

  • Beta Tester
  • 153 Сообщений:

Отправлено 06 Апрель 2017 - 19:05

Похоже нашли проблему. Должно исправиться в ближайшее время. Понаблюдайте, пожалуйста.

 

Спасибо за сигнал!


telegram: @bsavelev


#7 snk73_uldp

snk73_uldp

    Newbie

  • Posters
  • 16 Сообщений:

Отправлено 14 Декабрь 2018 - 16:02

ошибка обновления

Fri Dec 14 16:45:13 2018 {W} updater [17935] Dr.Web Updater ($Id: 30cd8d350a4dd344558f718284c052a1630f9981 $) started ...
Fri Dec 14 16:45:13 2018 {W} updater [17935] /var/drweb/bases/custom.drl: no such file or no permissions for reading custom URL list
Fri Dec 14 16:45:13 2018 {W} updater [17935] File not found (softfail), will try other variant if any
Fri Dec 14 16:45:14 2018 {W} updater [17935] File not found (softfail), will try other variant if any

 

пропал

/var/drweb/bases/custom.drl



#8 Boris Savelev

Boris Savelev

    Member

  • Beta Tester
  • 153 Сообщений:

Отправлено 15 Декабрь 2018 - 11:27

это другая проблема, не связанная с ошибкой ТС.

 

Лучше создать новую тему, указать ОС, продукт, его версию и прикрепить лог обновления.


telegram: @bsavelev



Читают тему: 1

0 пользователей, 1 гостей, 0 скрытых