[squid-users] Squid -k parse -f alternateconfig file

Garbacik, Joe Joseph.Garbacik at netapp.com
Tue Sep 12 12:01:54 UTC 2017


I am using an alternate filename for my squid configuration and am trying to validate the file below going live with it. Should I be able to use both the –k parse and the –f filename options at the same time? It looks like “-k parse” is defaulting to only use only /etc/squid/squid.conf.
# squid –f /etc/squid/squid-20170912a.conf -k parse
2017/09/12 07:56:05| Startup: Initializing Authentication Schemes ...
2017/09/12 07:56:05| Startup: Initialized Authentication Scheme 'basic'
2017/09/12 07:56:05| Startup: Initialized Authentication Scheme 'digest'
2017/09/12 07:56:05| Startup: Initialized Authentication Scheme 'negotiate'
2017/09/12 07:56:05| Startup: Initialized Authentication Scheme 'ntlm'
2017/09/12 07:56:05| Startup: Initialized Authentication.
2017/09/12 07:56:05| Processing Configuration File: /etc/squid/squid.conf (depth 0)
FATAL: Unable to open configuration file: /etc/squid/squid.conf: (2) No such file or directory
Squid Cache (Version 3.5.20): Terminated abnormally.
CPU Usage: 0.014 seconds = 0.006 user + 0.008 sys
Maximum Resident Size: 29344 KB
Page faults with physical i/o: 0

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170912/47e8ce72/attachment.html>


More information about the squid-users mailing list