upgrading to v4, change of "req.backend.healthy" -> "std.healthy(req.backend)" reports "Symbol not found: 'std.healthy' (expected type BOOL)"

Dridi Boukelmoune dridi.boukelmoune at zenika.com
Sun May 4 19:13:39 CEST 2014


On Sun, May 4, 2014 at 7:07 PM,  <grantksupport at operamail.com> wrote:
> Hi Dridi,
>
> (Relocating to this separate thread ...)
>
> On Sun, May 4, 2014, at 09:57 AM, Dridi Boukelmoune wrote:
>> I have no idea why it doesn't find the healthy function.
>>
>> Can you run the following command and paste the output?
>> readelf -s /usr/lib64/varnish/vmods/libvmod_std.so | grep vmod_
>>
>> It might be in a different place on your system.
>>
>> Dridi
>
> readelf -s /usr/lib64/varnish/vmods/libvmod_std.so | grep vmod_
>         readelf: Error: '/usr/lib64/varnish/vmods/libvmod_std.so': No
>         such file
>
> find /usr/local/lib64 -type f -name "*libvmod_std*"
>         /usr/local/lib64/varnish/vmods/libvmod_std.la
>         /usr/local/lib64/varnish/vmods/libvmod_std.a
>         /usr/local/lib64/varnish/vmods/libvmod_std.so

Ok then, what's the output of the following command?

sudo varnishadm param.show vmod_dir

Dridi

> readelf -s /usr/local/lib64/varnish/vmods/libvmod_std.so | grep vmod_
>     43: 0000000000001be0   238 FUNC    GLOBAL DEFAULT   12
>     vmod_set_ip_tos
>     45: 0000000000001e00   267 FUNC    GLOBAL DEFAULT   12 vmod_tolower
>     48: 0000000000001ce0   270 FUNC    GLOBAL DEFAULT   12 vmod_toupper
>     49: 0000000000001f20   171 FUNC    GLOBAL DEFAULT   12 vmod_random
>     53: 0000000000002920   986 FUNC    GLOBAL DEFAULT   12 vmod_fileread
>     55: 0000000000002180   347 FUNC    GLOBAL DEFAULT   12 vmod_syslog
>     56: 0000000000002d00   510 FUNC    GLOBAL DEFAULT   12 vmod_duration
>     60: 0000000000001fe0   403 FUNC    GLOBAL DEFAULT   12 vmod_log
>     61: 0000000000003000   574 FUNC    GLOBAL DEFAULT   12 vmod_ip
>     62: 00000000000022e0   206 FUNC    GLOBAL DEFAULT   12 vmod_collect
>     63: 0000000000002f00   250 FUNC    GLOBAL DEFAULT   12 vmod_integer
>     64: 00000000000023c0   200 FUNC    GLOBAL DEFAULT   12 vmod_healthy
>     65: 0000000000002540   598 FUNC    GLOBAL DEFAULT   12
>     vmod_timestamp
>     67: 00000000000024a0   140 FUNC    GLOBAL DEFAULT   12 vmod_port
>     41: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS vmod_std.c
>     42: 00000000000019c0   525 FUNC    LOCAL  DEFAULT   12 vmod_updown
>     54: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS
>     vmod_std_fileread.c
>     60: 0000000000000000     0 FILE    LOCAL  DEFAULT  ABS
>     vmod_std_conversions.c
>     75: 0000000000001be0   238 FUNC    GLOBAL DEFAULT   12
>     vmod_set_ip_tos
>     80: 0000000000002f00   250 FUNC    GLOBAL DEFAULT   12 vmod_integer
>     86: 0000000000001fe0   403 FUNC    GLOBAL DEFAULT   12 vmod_log
>     87: 0000000000001f20   171 FUNC    GLOBAL DEFAULT   12 vmod_random
>     88: 0000000000002920   986 FUNC    GLOBAL DEFAULT   12 vmod_fileread
>     92: 0000000000002d00   510 FUNC    GLOBAL DEFAULT   12 vmod_duration
>     97: 0000000000002540   598 FUNC    GLOBAL DEFAULT   12
>     vmod_timestamp
>    112: 00000000000024a0   140 FUNC    GLOBAL DEFAULT   12 vmod_port
>    114: 00000000000023c0   200 FUNC    GLOBAL DEFAULT   12 vmod_healthy
>    116: 0000000000003000   574 FUNC    GLOBAL DEFAULT   12 vmod_ip
>    119: 0000000000001e00   267 FUNC    GLOBAL DEFAULT   12 vmod_tolower
>    124: 00000000000022e0   206 FUNC    GLOBAL DEFAULT   12 vmod_collect
>    126: 0000000000001ce0   270 FUNC    GLOBAL DEFAULT   12 vmod_toupper
>    130: 0000000000002180   347 FUNC    GLOBAL DEFAULT   12 vmod_syslog
>
> which varnishd
>         /usr/local/sbin/varnishd
>
> ldd /usr/local/sbin/varnishd
>         linux-vdso.so.1 (0x00007fffae2e6000)
>         libvarnish.so => /usr/local/lib64/varnish/libvarnish.so
>         (0x00007fa946dc5000)
>         librt.so.1 => /lib64/librt.so.1 (0x00007fa946bbd000)
>         libvarnishcompat.so =>
>         /usr/local/lib64/varnish/libvarnishcompat.so
>         (0x00007fa9469bb000)
>         libvcc.so => /usr/local/lib64/varnish/libvcc.so
>         (0x00007fa94679a000)
>         libvgz.so => /usr/local/lib64/varnish/libvgz.so
>         (0x00007fa946587000)
>         libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007fa946321000)
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007fa94611d000)
>         libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fa945f05000)
>         libm.so.6 => /lib64/libm.so.6 (0x00007fa945c02000)
>         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa9459e4000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007fa945635000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007fa946fdb000)
>
>
> Grant



More information about the varnish-misc mailing list