Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ext_session_acl can not initialize db via tdb_open() #18

Open
sergor75 opened this issue Jun 28, 2022 · 0 comments
Open

ext_session_acl can not initialize db via tdb_open() #18

sergor75 opened this issue Jun 28, 2022 · 0 comments

Comments

@sergor75
Copy link

sergor75 commented Jun 28, 2022

Ubuntu 20.04.4, squid-openssl 5.5

$ dpkg -l | grep squid
rc squid 4.10-1ubuntu1.5 amd64 Full featured Web Proxy cache (HTTP proxy)
ii squid-common 5.5-1 all Full featured Web Proxy cache (HTTP proxy) - common files
ii squid-langpack 20191103-1 all Localized error pages for Squid
ii squid-openssl 5.5-1 amd64 Full featured Web Proxy cache (HTTP proxy OpenSSL flavour)
ii squidclient 5.5-1 amd64 Full featured Web Proxy cache (HTTP proxy) - HTTP(S) message utility

$ id
uid=13(proxy) gid=13(proxy) groups=13(proxy),124(winbindd_priv)
$ ls -ld /var/lib/squid/
drwxr-xr-x 3 proxy proxy 53 Jun 27 17:37 /var/lib/squid
$ ls -l /var/lib/squid
total 0
-rw-rw---- 1 proxy proxy 0 Jun 27 17:37 session
-rw-rw---- 1 proxy proxy 0 Jun 27 16:54 session.db
drwxr-xr-x 3 proxy proxy 48 Jun 27 16:25 ssl_db

$ /usr/lib/squid/ext_session_acl -b /var/lib/squid/session.db
FATAL: /usr/lib/squid/ext_session_acl: Failed to open session db '/var/lib/squid/session.db'
$ /usr/lib/squid/ext_session_acl -b /var/lib/squid/
FATAL: /usr/lib/squid/ext_session_acl: Failed to open session db '/var/lib/squid/session'
$ /usr/lib/squid/ext_session_acl -b /var/lib/squid
FATAL: /usr/lib/squid/ext_session_acl: Failed to open session db '/var/lib/squidsession'

$ ldd /usr/lib/squid/ext_session_acl
linux-vdso.so.1 (0x00007ffeb83e5000)
libtdb.so.1 => /lib/x86_64-linux-gnu/libtdb.so.1 (0x00007fe13908d000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe138eab000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe138e90000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe138c9e000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe138c7b000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe138b2c000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe1390ba000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant