2

I have manually deleted the file /var/cache/squid. Now I get this error:

stat: cannot stat ‘/var/cache/squid’: No such file or directory

To use squid again, what should I do? I'm using Ubuntu 15.10

Byte Commander
  • 107,489
sharq
  • 21
  • 3
  • 1
    squid should create the directory if not there..try service squid3 restart – heemayl Mar 23 '16 at 11:30
  • Shutdown squid service, and then run squid directly with the -z flag. Then 'squid -k shutdown' and then restart it using service. –  Mar 23 '16 at 11:41
  • chown: invalid user: ‘squid:squid’ dpkg: error processing package squid3 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: squid3 E: Sub-process /usr/bin/dpkg returned an error code (1) – sharq Mar 23 '16 at 11:42
  • Is that the correct user:group for squid? –  Mar 23 '16 at 11:49
  • Looks like the directory is not the only thing you deleted. – muru Mar 23 '16 at 14:11
  • @Brian I don't know exactly about the user :group – sharq Mar 23 '16 at 19:35
  • @muru I have only deleted the directory , how could I know about the things which are missing ? – sharq Mar 23 '16 at 19:37

0 Answers0