#1285 Unitialized cache error

1.100
closed-duplicate
5
2003-09-08
2003-09-08
No

I just keept on fighting with "uninitalized cache" error
with Squid webmin module.
Squid module fails finding the cache due to an error in
discovering Squid version number.
The output of my /usr/local/squid/sbin/squid -v 2>&1
command is:
++++++
Squid Cache: Version 2.5.STABLE2
configure options: --prefix /usr/local/squid-2.5.2 '--
enable-storeio=ufs null' --enable-delay-pools '--enable-
auth=basic ntlm' '--enable-basic-auth-helpers=MSNT
NCSA SMB multi-domain-NTLM winbind' '--enable-ntlm-
auth-helpers=SMB fakeauth no_check winbind' --with-
samba-sources=/root/samba-2.2.8 --enable-external-
acl-helpers=ip_user --enable-snmp
++++++
which is incorrecty identified as version 2.2 (may be
samba-sources causes the error).
To correct the problem I
modified /usr/local/webmin/squid/index.cgi:
++++++
34c34
< $ver = `$config{'squid_path'} -v 2>&1 | head -1`;
---
> $ver = `$config{'squid_path'} -v 2>&1 `;
++++++
Now it works fine.

Discussion

  • Massimo Carnevali

    • status: open --> closed-duplicate
     
  • Massimo Carnevali

    Logged In: YES
    user_id=861682

    Sorry, duplicate of 778096 (only different solution).

     
  • Jamie Cameron

    Jamie Cameron - 2003-09-08

    Logged In: YES
    user_id=129364

    This fix will be in webmin 1.110 .. and is already in the 1.109 development
    version, available at http://www.webmin.com/devel.html

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks