Squid and ntopng errors at boot after upgrade from 2.2.3 to 2.2.4

  • when squid3 start
    warning: chmod() expects parameter 2 to be long, string given in /usr/local/pkg/squid.inc on line 156
    line 156 in squid.inc is: chmod("/var/squid/cache/swap.state", "a+rw");

    moving a+rw to 666 fixed this one

    when ntopng start
    warning: Invalid argument supplied for foreach() in /etc/inc/pkg-utils.inc(423): eval()'d code on line 29
    warning: symlink(): no such file or directory in /etc/inc/pkg-utils.inc(423): eval()'d code on line 159 (this line appear 4 times)             
    line 159 in pkg-utils.inc:  $pkg_internal_name = $package['internal_name'];

    any idea how to fix this?

Log in to reply