Squid with squidguard launch problem

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm not able to successfully launch squid with squidguard.



Here is my service squid status :



 ● squid.service - LSB: Squid HTTP Proxy version 3.x
Loaded: loaded (/etc/init.d/squid; generated; vendor preset: enabled)
Active: active (running) since Sun 2018-10-14 20:03:26 CEST; 7s ago
Docs: man:systemd-sysv-generator(8)
Process: 1701 ExecStop=/etc/init.d/squid stop (code=exited, status=0/SUCCESS)
Process: 602 ExecReload=/etc/init.d/squid reload (code=exited, status=0/SUCCESS)
Process: 1783 ExecStart=/etc/init.d/squid start (code=exited, status=0/SUCCESS)
Main PID: 1824 (squid)
CGroup: /system.slice/squid.service
├─1822 /usr/sbin/squid -YC -f /etc/squid/squid.conf
├─1824 (squid-1) -YC -f /etc/squid/squid.conf
├─1825 (logfile-daemon) /var/log/squid/access.log
├─1826 (unlinkd)
└─1827 (pinger)

Oct 14 20:03:20 pirate systemd[1]: Starting LSB: Squid HTTP Proxy version 3.x...
Oct 14 20:03:25 pirate squid[1822]: Squid Parent: will start 1 kids
Oct 14 20:03:25 pirate squid[1783]: Starting Squid HTTP Proxy: squid.
Oct 14 20:03:25 pirate systemd[1]: squid.service: PID file /var/run/squid.pid not readable (yet?) after start: No such file or director
Oct 14 20:03:25 pirate squid[1822]: Squid Parent: (squid-1) process 1824 started
Oct 14 20:03:26 pirate systemd[1]: squid.service: Supervising process 1824 which is not our child. We'll most likely not notice when it
Oct 14 20:03:26 pirate systemd[1]: Started LSB: Squid HTTP Proxy version 3.x.


I think the problem occurs because of this line : Oct 14 20:03:25 pirate systemd[1]: squid.service: PID file /var/run/squid.pid not readable (yet?) after start: No such file or director. I think that root should not start the process.



Here is my "ps -aux" for squid:



root 1822 0.0 5.1 66120 23072 ? Ss 20:03 0:00 /usr/sbin/squid -YC -f /etc/squid/squid.conf
proxy 1824 0.7 9.0 96832 40328 ? S 20:03 0:00 (squid-1) -YC -f /etc/squid/squid.conf
proxy 1825 0.0 0.5 3832 2276 ? S 20:03 0:00 (logfile-daemon) /var/log/squid/access.log


Squid configuration :



acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl Local src 192.168.1.0/24
acl ads dstdom_regex -i "/etc/squid/squid.adservers.regex"
acl my_adblock url_regex -i "/etc/squid/myadblock.adservers.regex"
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow localhost
http_access allow Local
http_access deny all
http_port 3128
forwarded_for off
coredump_dir /var/spool/squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|?) 0 0% 0
refresh_pattern . 0 20% 4320
url_rewrite_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf
url_rewrite_children 32
cache_dir ufs /cache 400 16 256


I haven't forget to generate database for squidguard.










share|improve this question







New contributor




Nicolas Frbezar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    0
    down vote

    favorite












    I'm not able to successfully launch squid with squidguard.



    Here is my service squid status :



     ● squid.service - LSB: Squid HTTP Proxy version 3.x
    Loaded: loaded (/etc/init.d/squid; generated; vendor preset: enabled)
    Active: active (running) since Sun 2018-10-14 20:03:26 CEST; 7s ago
    Docs: man:systemd-sysv-generator(8)
    Process: 1701 ExecStop=/etc/init.d/squid stop (code=exited, status=0/SUCCESS)
    Process: 602 ExecReload=/etc/init.d/squid reload (code=exited, status=0/SUCCESS)
    Process: 1783 ExecStart=/etc/init.d/squid start (code=exited, status=0/SUCCESS)
    Main PID: 1824 (squid)
    CGroup: /system.slice/squid.service
    ├─1822 /usr/sbin/squid -YC -f /etc/squid/squid.conf
    ├─1824 (squid-1) -YC -f /etc/squid/squid.conf
    ├─1825 (logfile-daemon) /var/log/squid/access.log
    ├─1826 (unlinkd)
    └─1827 (pinger)

    Oct 14 20:03:20 pirate systemd[1]: Starting LSB: Squid HTTP Proxy version 3.x...
    Oct 14 20:03:25 pirate squid[1822]: Squid Parent: will start 1 kids
    Oct 14 20:03:25 pirate squid[1783]: Starting Squid HTTP Proxy: squid.
    Oct 14 20:03:25 pirate systemd[1]: squid.service: PID file /var/run/squid.pid not readable (yet?) after start: No such file or director
    Oct 14 20:03:25 pirate squid[1822]: Squid Parent: (squid-1) process 1824 started
    Oct 14 20:03:26 pirate systemd[1]: squid.service: Supervising process 1824 which is not our child. We'll most likely not notice when it
    Oct 14 20:03:26 pirate systemd[1]: Started LSB: Squid HTTP Proxy version 3.x.


    I think the problem occurs because of this line : Oct 14 20:03:25 pirate systemd[1]: squid.service: PID file /var/run/squid.pid not readable (yet?) after start: No such file or director. I think that root should not start the process.



    Here is my "ps -aux" for squid:



    root 1822 0.0 5.1 66120 23072 ? Ss 20:03 0:00 /usr/sbin/squid -YC -f /etc/squid/squid.conf
    proxy 1824 0.7 9.0 96832 40328 ? S 20:03 0:00 (squid-1) -YC -f /etc/squid/squid.conf
    proxy 1825 0.0 0.5 3832 2276 ? S 20:03 0:00 (logfile-daemon) /var/log/squid/access.log


    Squid configuration :



    acl SSL_ports port 443
    acl Safe_ports port 80 # http
    acl Safe_ports port 21 # ftp
    acl Safe_ports port 443 # https
    acl Safe_ports port 70 # gopher
    acl Safe_ports port 210 # wais
    acl Safe_ports port 1025-65535 # unregistered ports
    acl Safe_ports port 280 # http-mgmt
    acl Safe_ports port 488 # gss-http
    acl Safe_ports port 591 # filemaker
    acl Safe_ports port 777 # multiling http
    acl CONNECT method CONNECT
    acl Local src 192.168.1.0/24
    acl ads dstdom_regex -i "/etc/squid/squid.adservers.regex"
    acl my_adblock url_regex -i "/etc/squid/myadblock.adservers.regex"
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access allow localhost manager
    http_access deny manager
    http_access allow localhost
    http_access allow Local
    http_access deny all
    http_port 3128
    forwarded_for off
    coredump_dir /var/spool/squid
    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern -i (/cgi-bin/|?) 0 0% 0
    refresh_pattern . 0 20% 4320
    url_rewrite_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf
    url_rewrite_children 32
    cache_dir ufs /cache 400 16 256


    I haven't forget to generate database for squidguard.










    share|improve this question







    New contributor




    Nicolas Frbezar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm not able to successfully launch squid with squidguard.



      Here is my service squid status :



       ● squid.service - LSB: Squid HTTP Proxy version 3.x
      Loaded: loaded (/etc/init.d/squid; generated; vendor preset: enabled)
      Active: active (running) since Sun 2018-10-14 20:03:26 CEST; 7s ago
      Docs: man:systemd-sysv-generator(8)
      Process: 1701 ExecStop=/etc/init.d/squid stop (code=exited, status=0/SUCCESS)
      Process: 602 ExecReload=/etc/init.d/squid reload (code=exited, status=0/SUCCESS)
      Process: 1783 ExecStart=/etc/init.d/squid start (code=exited, status=0/SUCCESS)
      Main PID: 1824 (squid)
      CGroup: /system.slice/squid.service
      ├─1822 /usr/sbin/squid -YC -f /etc/squid/squid.conf
      ├─1824 (squid-1) -YC -f /etc/squid/squid.conf
      ├─1825 (logfile-daemon) /var/log/squid/access.log
      ├─1826 (unlinkd)
      └─1827 (pinger)

      Oct 14 20:03:20 pirate systemd[1]: Starting LSB: Squid HTTP Proxy version 3.x...
      Oct 14 20:03:25 pirate squid[1822]: Squid Parent: will start 1 kids
      Oct 14 20:03:25 pirate squid[1783]: Starting Squid HTTP Proxy: squid.
      Oct 14 20:03:25 pirate systemd[1]: squid.service: PID file /var/run/squid.pid not readable (yet?) after start: No such file or director
      Oct 14 20:03:25 pirate squid[1822]: Squid Parent: (squid-1) process 1824 started
      Oct 14 20:03:26 pirate systemd[1]: squid.service: Supervising process 1824 which is not our child. We'll most likely not notice when it
      Oct 14 20:03:26 pirate systemd[1]: Started LSB: Squid HTTP Proxy version 3.x.


      I think the problem occurs because of this line : Oct 14 20:03:25 pirate systemd[1]: squid.service: PID file /var/run/squid.pid not readable (yet?) after start: No such file or director. I think that root should not start the process.



      Here is my "ps -aux" for squid:



      root 1822 0.0 5.1 66120 23072 ? Ss 20:03 0:00 /usr/sbin/squid -YC -f /etc/squid/squid.conf
      proxy 1824 0.7 9.0 96832 40328 ? S 20:03 0:00 (squid-1) -YC -f /etc/squid/squid.conf
      proxy 1825 0.0 0.5 3832 2276 ? S 20:03 0:00 (logfile-daemon) /var/log/squid/access.log


      Squid configuration :



      acl SSL_ports port 443
      acl Safe_ports port 80 # http
      acl Safe_ports port 21 # ftp
      acl Safe_ports port 443 # https
      acl Safe_ports port 70 # gopher
      acl Safe_ports port 210 # wais
      acl Safe_ports port 1025-65535 # unregistered ports
      acl Safe_ports port 280 # http-mgmt
      acl Safe_ports port 488 # gss-http
      acl Safe_ports port 591 # filemaker
      acl Safe_ports port 777 # multiling http
      acl CONNECT method CONNECT
      acl Local src 192.168.1.0/24
      acl ads dstdom_regex -i "/etc/squid/squid.adservers.regex"
      acl my_adblock url_regex -i "/etc/squid/myadblock.adservers.regex"
      http_access deny !Safe_ports
      http_access deny CONNECT !SSL_ports
      http_access allow localhost manager
      http_access deny manager
      http_access allow localhost
      http_access allow Local
      http_access deny all
      http_port 3128
      forwarded_for off
      coredump_dir /var/spool/squid
      refresh_pattern ^ftp: 1440 20% 10080
      refresh_pattern ^gopher: 1440 0% 1440
      refresh_pattern -i (/cgi-bin/|?) 0 0% 0
      refresh_pattern . 0 20% 4320
      url_rewrite_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf
      url_rewrite_children 32
      cache_dir ufs /cache 400 16 256


      I haven't forget to generate database for squidguard.










      share|improve this question







      New contributor




      Nicolas Frbezar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I'm not able to successfully launch squid with squidguard.



      Here is my service squid status :



       ● squid.service - LSB: Squid HTTP Proxy version 3.x
      Loaded: loaded (/etc/init.d/squid; generated; vendor preset: enabled)
      Active: active (running) since Sun 2018-10-14 20:03:26 CEST; 7s ago
      Docs: man:systemd-sysv-generator(8)
      Process: 1701 ExecStop=/etc/init.d/squid stop (code=exited, status=0/SUCCESS)
      Process: 602 ExecReload=/etc/init.d/squid reload (code=exited, status=0/SUCCESS)
      Process: 1783 ExecStart=/etc/init.d/squid start (code=exited, status=0/SUCCESS)
      Main PID: 1824 (squid)
      CGroup: /system.slice/squid.service
      ├─1822 /usr/sbin/squid -YC -f /etc/squid/squid.conf
      ├─1824 (squid-1) -YC -f /etc/squid/squid.conf
      ├─1825 (logfile-daemon) /var/log/squid/access.log
      ├─1826 (unlinkd)
      └─1827 (pinger)

      Oct 14 20:03:20 pirate systemd[1]: Starting LSB: Squid HTTP Proxy version 3.x...
      Oct 14 20:03:25 pirate squid[1822]: Squid Parent: will start 1 kids
      Oct 14 20:03:25 pirate squid[1783]: Starting Squid HTTP Proxy: squid.
      Oct 14 20:03:25 pirate systemd[1]: squid.service: PID file /var/run/squid.pid not readable (yet?) after start: No such file or director
      Oct 14 20:03:25 pirate squid[1822]: Squid Parent: (squid-1) process 1824 started
      Oct 14 20:03:26 pirate systemd[1]: squid.service: Supervising process 1824 which is not our child. We'll most likely not notice when it
      Oct 14 20:03:26 pirate systemd[1]: Started LSB: Squid HTTP Proxy version 3.x.


      I think the problem occurs because of this line : Oct 14 20:03:25 pirate systemd[1]: squid.service: PID file /var/run/squid.pid not readable (yet?) after start: No such file or director. I think that root should not start the process.



      Here is my "ps -aux" for squid:



      root 1822 0.0 5.1 66120 23072 ? Ss 20:03 0:00 /usr/sbin/squid -YC -f /etc/squid/squid.conf
      proxy 1824 0.7 9.0 96832 40328 ? S 20:03 0:00 (squid-1) -YC -f /etc/squid/squid.conf
      proxy 1825 0.0 0.5 3832 2276 ? S 20:03 0:00 (logfile-daemon) /var/log/squid/access.log


      Squid configuration :



      acl SSL_ports port 443
      acl Safe_ports port 80 # http
      acl Safe_ports port 21 # ftp
      acl Safe_ports port 443 # https
      acl Safe_ports port 70 # gopher
      acl Safe_ports port 210 # wais
      acl Safe_ports port 1025-65535 # unregistered ports
      acl Safe_ports port 280 # http-mgmt
      acl Safe_ports port 488 # gss-http
      acl Safe_ports port 591 # filemaker
      acl Safe_ports port 777 # multiling http
      acl CONNECT method CONNECT
      acl Local src 192.168.1.0/24
      acl ads dstdom_regex -i "/etc/squid/squid.adservers.regex"
      acl my_adblock url_regex -i "/etc/squid/myadblock.adservers.regex"
      http_access deny !Safe_ports
      http_access deny CONNECT !SSL_ports
      http_access allow localhost manager
      http_access deny manager
      http_access allow localhost
      http_access allow Local
      http_access deny all
      http_port 3128
      forwarded_for off
      coredump_dir /var/spool/squid
      refresh_pattern ^ftp: 1440 20% 10080
      refresh_pattern ^gopher: 1440 0% 1440
      refresh_pattern -i (/cgi-bin/|?) 0 0% 0
      refresh_pattern . 0 20% 4320
      url_rewrite_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf
      url_rewrite_children 32
      cache_dir ufs /cache 400 16 256


      I haven't forget to generate database for squidguard.







      configuration raspberry-pi proxy squid squidguard






      share|improve this question







      New contributor




      Nicolas Frbezar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Nicolas Frbezar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Nicolas Frbezar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 15 mins ago









      Nicolas Frbezar

      1011




      1011




      New contributor




      Nicolas Frbezar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Nicolas Frbezar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Nicolas Frbezar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Nicolas Frbezar is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475452%2fsquid-with-squidguard-launch-problem%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Nicolas Frbezar is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          Nicolas Frbezar is a new contributor. Be nice, and check out our Code of Conduct.












          Nicolas Frbezar is a new contributor. Be nice, and check out our Code of Conduct.











          Nicolas Frbezar is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475452%2fsquid-with-squidguard-launch-problem%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)