<div dir="ltr"><div>Hi Robert,</div><div> are you sure that you have the required packages on your system?</div><div>You'll need perl-DBD-MariaDB and what it depends on</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 2, 2023 at 6:41 PM Brendan Kearney <<a href="mailto:bpk678@gmail.com">bpk678@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/2/23 2:14 PM, Robert 'Bobby' Zenz wrote:<br>
>>> Use of uninitialized value $DBI::errstr in concatenation (.) or<br>
>>> string at /usr/lib64/squid/log_db_daemon line 403.<br>
>> You're trying to use an uninitialized variable when outputting(?) the<br>
>> error message. Fix that first. I'm guessing you're using the `errstr`<br>
>> function wrong there, see the official documentation for hints:<br>
>> <a href="https://metacpan.org/pod/DBD::MariaDB" rel="noreferrer" target="_blank">https://metacpan.org/pod/DBD::MariaDB</a><br>
>><br>
>>> Cannot connect to database: at /usr/lib64/squid/log_db_daemon line<br>
>>> 403.<br>
>> And then you should see what error you're actually getting here. My<br>
>> guess is that it will be a permission issue. User not allowed to<br>
>> connect from this host, or process not allowed to access the socket or<br>
>> something similar.<br>
> My apologies, I missed that that might not be a script you've written.<br>
> I guess it is a ready-made script?<br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
> <a href="https://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">https://lists.squid-cache.org/listinfo/squid-users</a><br>
<br>
yes, this is the script packaged with squid from the fedora repos. i <br>
will try to correct the script, which i believe may be victim to newer <br>
syntax in an updated perl version or something like that. we'll see <br>
what comes of it...<br>
<br>
thanks,<br>
<br>
brendan<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="https://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">https://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"> Francesco</div>