Search squid archive

Re: [squid-users] Permission denied on squidguard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, sorry but pheraps now I have created a confusion with many test, now the situation is the following:

[root@fw1 ~]# /etc/init.d/squid start
Avvio di squid: ....................                       [FALLITO]
[root@fw1 ~]# ls -l /usr/sbin/squid
-rwxr-xr-x  1 root root 646564 16 mag 21:59 /usr/sbin/squid
[root@fw1 ~]# ls -l /usr/bin/squidguard
lrwxrwxrwx  1 root root 10 18 mag 15:52 /usr/bin/squidguard -> squidGuard
[root@fw1 ~]# ls -l /usr/bin/squidGuard
-rwxr-xr-x  1 root root 70758 12 gen 21:20 /usr/bin/squidGuard
[root@fw1 ~]# ls -l /etc/squid/squid.conf
-rw-r-----  1 root squid 111213 26 mag 18:50 /etc/squid/squid.conf
[root@fw1 ~]# ls -l /etc/squid/squidguard.conf
-rw-r--r--  1 root root 2569 23 mag 15:24 /etc/squid/squidguard.conf
[root@fw1 ~]# ls -l /var/lib/squidguard/
totale 32
drwxr-xr-x   2 squid squid 4096 19 mag 20:48 ad
drwxr-xr-x  13 squid squid 4096 18 mag 17:48 blacklists
drwxr-xr-x   2 squid squid 4096 19 mag 20:48 ok
drwxr-xr-x   2 squid squid 4096 19 mag 20:48 ok1
[root@fw1 ~]# ls -l /var/lib/squidguard/ad/
totale 40
-rw-r--r--  1 squid squid   16 18 mag 18:04 domains
-rw-r--r--  1 squid squid 8192 19 mag 20:48 domains.db
-rwxr-xr-x  1 squid squid   18 18 mag 18:04 urls
-rw-r--r--  1 squid squid 8192 19 mag 20:48 urls.db
[root@fw1 ~]# ls -l /var/lib/squidguard/blacklists/
totale 96
drwxr-xr-x  2 squid squid 4096 19 mag 20:48 ads
drwxr-xr-x  2 squid squid 4096 19 mag 20:48 aggressive
drwxr-xr-x  2 squid squid 4096 19 mag 20:48 audio-video
drwxr-xr-x  2 squid squid 4096 19 mag 20:48 drugs
drwxr-xr-x  2 squid squid 4096 19 mag 20:48 gambling
drwxr-xr-x  2 squid squid 4096 19 mag 20:48 hacking
drwxr-xr-x  2 squid squid 4096 18 mag 17:48 mail
drwxr-xr-x  2 squid squid 4096 19 mag 20:48 porn
drwxr-xr-x  2 squid squid 4096 19 mag 20:48 proxy
-rw-r--r--  1 squid squid  508 25 mar  2000 README
drwxr-xr-x  2 squid squid 4096 19 mag 20:48 violence
drwxr-xr-x  2 squid squid 4096 19 mag 20:48 warez
[root@fw1 ~]# ls -l /var/spool/squid/
totale 140
drwxr-x---  258 root root 4096 18 mag 17:10 00
drwxr-x---  258 root root 4096 18 mag 17:10 01
drwxr-x---  258 root root 4096 18 mag 17:10 02
drwxr-x---  258 root root 4096 18 mag 17:10 03
drwxr-x---  258 root root 4096 18 mag 17:10 04
drwxr-x---  258 root root 4096 18 mag 17:10 05
drwxr-x---  258 root root 4096 18 mag 17:10 06
drwxr-x---  258 root root 4096 18 mag 17:10 07
drwxr-x---  258 root root 4096 18 mag 17:10 08
drwxr-x---  258 root root 4096 18 mag 17:10 09
drwxr-x---  258 root root 4096 18 mag 17:10 0A
drwxr-x---  258 root root 4096 18 mag 17:10 0B
drwxr-x---  258 root root 4096 18 mag 17:10 0C
drwxr-x---  258 root root 4096 18 mag 17:10 0D
drwxr-x---  258 root root 4096 18 mag 17:10 0E
drwxr-x---  258 root root 4096 18 mag 17:10 0F
-rw-r-----    1 root root   48 25 mag 18:55 swap.state
-rw-r-----    1 root root    0 25 mag 18:55 swap.state.last-clean
[root@fw1 ~]# ls -l /var/log/squid
totale 64
-rw-r-----  1 root root     0 18 mag 17:10 access.log
-rw-r-----  1 root root 17574 26 mag 18:02 cache.log
-rw-r-----  1 root root  6451 22 mag 04:02 cache.log.1.gz
-rw-r-----  1 root root 14732 26 mag 18:50 squid.out
-rw-r-----  1 root root     0 18 mag 17:10 store.log
[root@fw1 ~]# ls -l /var/log/squidguard/
totale 12
-rw-r--r--  1 squid squid 7419 19 mag 20:48 squidGuard.log


..with in squid.conf

cache_effective_user root
cache_effective_group root

..but in this mode squid (without redirect to squidguard) not start !

"squidrunner support" wrote:

> As per configuration, you have to start squid with
> squid:squid user and group setup. Do su squid to start
> it.

..now where I must change permission and/or configuration ??
..still thanks and still for my confusion.

        Salvatore.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux