Re: [squid-users] Permission denied on squidguard

2005-06-15 Thread Henrik Nordstrom

On Mon, 6 Jun 2005, sasa wrote:


the problem is in SeLinux protection, in fact if disable this protetion for 
squid demon all to start with success and this situation is present on all fc3.


Not much Squid can do about that. You will need to get your SeLinux policy 
corrected.


Regards
Henrik


Re: [squid-users] Permission denied on squidguard

2005-06-06 Thread sasa
Hi,
the problem is in SeLinux protection, in fact if disable this protetion for 
squid demon all to start with success and this situation is present on all fc3.

Salvatore.

- Original Message - 
From: sasa [EMAIL PROTECTED]
To: Squid Users squid-users@squid-cache.org
Sent: Friday, June 03, 2005 2:41 PM
Subject: Re: [squid-users] Permission denied on squidguard


Hi,
.. can I to try other or there isn't a solution ??
still thanks.

Salvatore.

- Original Message - 
From: sasa [EMAIL PROTECTED]
To: Henrik Nordstrom [EMAIL PROTECTED]
Cc: Squid Users squid-users@squid-cache.org
Sent: Monday, May 30, 2005 11:57 AM
Subject: Re: [squid-users] Permission denied on squidguard


Henrik Nordstrom wrote:

  I have installed squid and squidguard from rpm file, pheraps this is a 
  problem ??
 
 Which RPM on what distribution?

 squidguard-1.2.0-2.1.fc3.rf.i386.rpm for Fedora Core 3

 Then /usr/sbin/squid is not a valid squid binary, or not for your OS.

..also squid I have installed with rpm file.
still thanks.

Salvatore.





Re: [squid-users] Permission denied on squidguard

2005-06-03 Thread sasa
Hi,
.. can I to try other or there isn't a solution ??
still thanks.

Salvatore.

- Original Message - 
From: sasa [EMAIL PROTECTED]
To: Henrik Nordstrom [EMAIL PROTECTED]
Cc: Squid Users squid-users@squid-cache.org
Sent: Monday, May 30, 2005 11:57 AM
Subject: Re: [squid-users] Permission denied on squidguard


Henrik Nordstrom wrote:

  I have installed squid and squidguard from rpm file, pheraps this is a 
  problem ??
 
 Which RPM on what distribution?

 squidguard-1.2.0-2.1.fc3.rf.i386.rpm for Fedora Core 3

 Then /usr/sbin/squid is not a valid squid binary, or not for your OS.

..also squid I have installed with rpm file.
still thanks.

Salvatore.




Re: [squid-users] Permission denied on squidguard

2005-05-30 Thread sasa
Khawar Nehal wrote:

 Everything is set to squid and the squid account is not available.
 
 Do adduser squid 

.. the user 'squid' is already present, in fact in /etc/passwd there is:

squid:x:23:23::/var/spool/squid:/sbin/nologin

..how can I make ?? delete and create again the user 'squid' ??
thanks.

Salvatore.


Re: [squid-users] Permission denied on squidguard

2005-05-30 Thread sasa
Henrik Nordstrom wrote:

  I have installed squid and squidguard from rpm file, pheraps this is a 
  problem ??
 
 Which RPM on what distribution?

 squidguard-1.2.0-2.1.fc3.rf.i386.rpm for Fedora Core 3

 Then /usr/sbin/squid is not a valid squid binary, or not for your OS.

..also squid I have installed with rpm file.
still thanks.

Salvatore.



Re: [squid-users] Permission denied on squidguard

2005-05-29 Thread Khawar Nehal
Great

Everything is set to squid and the squid account is not available.

Do adduser squid 


On Fri, 2005-05-27 at 15:55 +0200, sasa wrote:
 squidrunner support wrote:
 
  To help you out on this, just start your squid binary
  as,
  
  ./squid -NCd10
 
 ..but I have installed with rpm file
  
  What you are getting out there.
  
  1. You have configured cache_effective_user and
  cache_effective_group as squid
 
 yes
  
  2. Change all permissions under var/log directory
  squid to squid:squid
 
 ok
 
  3. Su to squid and startup squid as ./squid -NCd10
 
 #su - squid
 This account is currently not available.
 
 thanks.
 
 Salvatore.



Re: [squid-users] Permission denied on squidguard

2005-05-27 Thread sasa
PF wrote:

 Do you know where the blacklist's, the logs directory and squidGuard.conf
 is located? All the directories need to be owned by squid
 
 So just chown -R squid:squid directory
 

[EMAIL PROTECTED] ~]# ls -l /etc/squid/squidguard.conf
-rw-r--r--  1 root root 2569 23 mag 15:24 /etc/squid/squidguard.conf
[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]# ls -l /var/log/squidguard/
totale 12
-rw-r--r--  1 squid squid 7419 19 mag 20:48 squidGuard.log

.. but now the problem is then also squid (whitout redirect to squidguard) not 
start !!???  :-(((
.. in the my previous mail I have writed the actual situation of permission !!
still thanks.

Salvatore.


Re: [squid-users] Permission denied on squidguard

2005-05-27 Thread Henrik Nordstrom

On Fri, 27 May 2005, sasa wrote:


.. but now the problem is then also squid (whitout redirect to squidguard) not 
start


What error(s) do you see?

  /usr/local/squid/sbin/squid -DNYCd3

Regards
Henrik


Re: [squid-users] Permission denied on squidguard

2005-05-27 Thread PF
 .. but now the problem is then also squid (whitout redirect to squidguard)
 not start !!???  :-(((
 .. in the my previous mail I have writed the actual situation of
 permission !!

Hello,

Nothing much would be known if you send a mail that squid is not starting.
Reply back with the error that you're getting so that we know what's the
actual problem is

-- 
The future is uncertain and the end is always near



Re: [squid-users] Permission denied on squidguard

2005-05-27 Thread sasa
squidrunner support wrote:

 You are changed squid.conf to root but changed
 permission of binary to another squid:squid??

..now I have:

[EMAIL PROTECTED] ~]# ls -l /etc/squid/
totale 604
-rw-r-  1 root squid367 16 mag 21:59 cachemgr.conf
lrwxrwxrwx  1 root root  22 20 mag 17:40 icons - /usr/share/squid/icons
-rw-r--r--  1 root root   26104 16 mag 21:59 mib.txt
-rw-r--r--  1 root root   11651 16 mag 21:59 mime.conf
-rw-r--r--  1 root root   11651 16 mag 21:59 mime.conf.default
-rwxr-xr-x  1 root root 296 18 mag 17:01 mp3.txt
-rw-r--r--  1 root root 421 16 mag 21:59 msntauth.conf
-rw-r--r--  1 root root 421 16 mag 21:59 msntauth.conf.default
-rw-r-  1 root root  111215 27 mag 11:42 squid.conf
-rw-r--r--  1 root root  111213 26 mag 18:50 squid.conf~
-rw-r--r--  1 root root  118251 16 mag 21:59 squid.conf.default
-rw-r-  1 root squid 118251 16 mag 21:59 squid.conf.rpmnew
-rw-r--r--  1 root root2569 23 mag 15:24 squidguard.conf
-rw-r--r--  1 root root2515 18 mag 16:30 squidguard.conf~
[EMAIL PROTECTED] ~]# ls -l /usr/sbin/squid
-rwxr-xr-x  1 root root 646564 16 mag 21:59 /usr/sbin/squid
[EMAIL PROTECTED] ~]# ls -l /usr/bin/squidGuard
-rwxr-xr-x  1 root root 70758 12 gen 21:20 /usr/bin/squidGuard



.. I must change to:



[EMAIL PROTECTED] ~]# ls -l /usr/sbin/squid
-rwxr-xr-x  1 squid squid 646564 16 mag 21:59 /usr/sbin/squid
[EMAIL PROTECTED] ~]# ls -l /usr/bin/squidGuard
-rwxr-xr-x  1 squid squid 70758 12 gen 21:20 /usr/bin/squidGuard


 .. it's just ?.. sorry for my banal question but the situation (for me !) is 
much confuse !

 Configure squid as cache_effective_user and group.
 Change all permissions of var/log/* amd squidguard
 file.
 
 chown -R squid:squid var/

..ok !

[EMAIL PROTECTED] ~]# ls -l /var/log/
drwxr-x---  2 squid squid 4096 22 mag 04:02 squid
drwxr-xr-x  2 squid squid 4096 18 mag 17:15 squidguard
 
 Start squid in debug mode to know the problem as
 ./squid -NCd10


#/usr/sbin/squid -NCd10

Abortito



..thanks.


Salvatore.



Re: [squid-users] Permission denied on squidguard

2005-05-27 Thread squidrunner support

 
 #/usr/sbin/squid -DNYCd3
 Abortito

To help you out on this, just start your squid binary
as,

./squid -NCd10

What you are getting out there.

1. You have configured cache_effective_user and
cache_effective_group as squid

2. Change all permissions under var/log directory
squid to squid:squid

3. Su to squid and startup squid as ./squid -NCd10

Post the full messages you are getting to list (Don't
add user names again and again.)

wishing best.


==
Best Regards,
Squid Runner Support
squidrunner_dev at yahoo dot com

Web: http://geocities.com/squidrunner_dev/
Support: runnersupport at gmail dot com

SquidRunner - An Automatic Squid Builder 
==



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/


Re: [squid-users] Permission denied on squidguard

2005-05-27 Thread Henrik Nordstrom

On Fri, 27 May 2005, sasa wrote:


   /usr/local/squid/sbin/squid -DNYCd3


#/usr/sbin/squid -DNYCd3
Abortito


Nothing more? If not something is wrong with your binary. Reinstall Squid.

What about

/usr/sbin/squid -v

Regards
Henrik


Re: [squid-users] Permission denied on squidguard

2005-05-27 Thread sasa
Henrik Nordstrom wrote:

 Nothing more? If not something is wrong with your binary. Reinstall Squid.

I have installed squid and squidguard from rpm file, pheraps this is a problem 
??
 
 What about
 
 /usr/sbin/squid -v

..nothing.
thanks.

Salvatore.


Re: [squid-users] Permission denied on squidguard

2005-05-27 Thread sasa
squidrunner support wrote:

 To help you out on this, just start your squid binary
 as,
 
 ./squid -NCd10

..but I have installed with rpm file
 
 What you are getting out there.
 
 1. You have configured cache_effective_user and
 cache_effective_group as squid

yes
 
 2. Change all permissions under var/log directory
 squid to squid:squid

ok

 3. Su to squid and startup squid as ./squid -NCd10

#su - squid
This account is currently not available.

thanks.

Salvatore.


Re: [squid-users] Permission denied on squidguard

2005-05-27 Thread Henrik Nordstrom



On Fri, 27 May 2005, sasa wrote:


I have installed squid and squidguard from rpm file, pheraps this is a problem 
??


Which RPM on what distribution?


What about

/usr/sbin/squid -v


..nothing.


Then /usr/sbin/squid is not a valid squid binary, or not for your OS.

Regards
Henrik


Re: [squid-users] Permission denied on squidguard

2005-05-26 Thread sasa
Hi, I have made a test on another machine but always with fc3 and same version 
of squid and squidguard and I have had the same problem !!.
thanks.

Salvatore.
 
- Original Message - 
From: sasa [EMAIL PROTECTED]
To: squid-users@squid-cache.org
Sent: Monday, May 23, 2005 2:04 PM
Subject: Re: [squid-users] Permission denied on squidguard


Hi, sorry for my insistence but there isn't solution for my problem ??
still thanks.

Salvatore.

- Original Message - 
From: sasa [EMAIL PROTECTED]
To: squid-users@squid-cache.org
Sent: Thursday, May 19, 2005 12:13 PM
Subject: [squid-users] Permission denied on squidguard


Hi, I use Fedora Core 3 with:
squid-2.5.STABLE6
squidguard-1.2.0-2.1

..when:
[EMAIL PROTECTED] ~]# /etc/rc.d/init.d/squid start
Avvio di squid: /etc/rc.d/init.d/squid: line 53:  3932 Abortito
$SQUID $SQUID_OPTS /var/log/squid/squid.out 21
   [FALLITO]
[EMAIL PROTECTED] ~]# tail /var/log/squid/squid.out
FATAL: redirect_program /usr/bin/squidGuard: (13) Permission denied
Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 0.012 seconds = 0.008 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 11
FATAL: redirect_program /usr/bin/squidGuard: (13) Permission denied
Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 0.015 seconds = 0.010 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 14

.. now the permssion are:

[EMAIL PROTECTED] ~]# ls -l /usr/sbin/squid
-rwxr-xr-x  1 root root 632080 18 ott  2004 /usr/sbin/squid
[EMAIL PROTECTED] ~]# ls -l /usr/bin/squidguard
lrwxrwxrwx  1 root root 10 18 mag 15:52 /usr/bin/squidguard - squidGuard
[EMAIL PROTECTED] ~]# ls -l /usr/bin/squidGuard
-rwxr-xr-x  1 root root 70758 12 gen 21:20 /usr/bin/squidGuard
[EMAIL PROTECTED] ~]# ls -l /etc/squid/squidguard.conf
-rw-r--r--  1 root root 2569 18 mag 16:55 /etc/squid/squidguard.conf
[EMAIL PROTECTED] ~]# ls -l /var/lib/squidguard/
totale 32
drwxr-xr-x   2 root root 4096 18 mag 18:04 ad
drwxr-xr-x  13 root root 4096 18 mag 17:48 blacklists
drwxr-xr-x   2 root root 4096 18 mag 18:02 ok
drwxr-xr-x   2 root root 4096 18 mag 18:02 ok1
[EMAIL PROTECTED] ~]# ls -l /var/lib/squidguard/ad
totale 16
-rwxr-xr-x  1 root root 16 18 mag 18:04 domains
-rwxr-xr-x  1 root root 18 18 mag 18:04 urls
[EMAIL PROTECTED] ~]# ls -l /var/lib/squidguard/blacklists/
totale 96
drwxr-xr-x  2 root root 4096 18 mag 17:48 ads
drwxr-xr-x  2 root root 4096 18 mag 17:48 aggressive
drwxr-xr-x  2 root root 4096 18 mag 17:48 audio-video
drwxr-xr-x  2 root root 4096 18 mag 17:48 drugs
drwxr-xr-x  2 root root 4096 18 mag 17:48 gambling
drwxr-xr-x  2 root root 4096 18 mag 17:48 hacking
drwxr-xr-x  2 root root 4096 18 mag 17:48 mail
drwxr-xr-x  2 root root 4096 18 mag 17:48 porn
drwxr-xr-x  2 root root 4096 18 mag 17:48 proxy
-rw-r--r--  1 root root  508 25 mar  2000 README
drwxr-xr-x  2 root root 4096 18 mag 17:48 violence
drwxr-xr-x  2 root root 4096 18 mag 17:48 warez

..I think that the permission it's ok, or not ?? where is the my error ??
thanks.

Salvatore.





Re: [squid-users] Permission denied on squidguard

2005-05-26 Thread squidrunner support

 Hi, I have made a test on another machine but always
 with fc3 and same version of squid and squidguard
 and I have had the same problem !!.
 thanks.

What is your cache_effective_user and
cache_effective_group in squid.conf configuration?

File permissions are seeming to be good.

==
Best Regards,
Squid Runner Support
squidrunner_dev at yahoo dot com

Web: http://geocities.com/squidrunner_dev/
Support: runnersupport at gmail dot com

SquidRunner - An Automatic Squid Builder 
==

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: [squid-users] Permission denied on squidguard

2005-05-26 Thread sasa
squidrunner support wrote:

 What is your cache_effective_user and
 cache_effective_group in squid.conf configuration?

..in the squid.conf I have the default parameter, therefore :

# cache_effective_user squid
# cache_effective_group squid

.. still thanks.

Salvatore.



Re: [squid-users] Permission denied on squidguard

2005-05-26 Thread squidrunner support
 ..in the squid.conf I have the default parameter,
 therefore :
 
 # cache_effective_user squid
 # cache_effective_group squid
 
 .. still thanks.

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

If you want to start it as root then configure
cache_effective_user root
cache_effective_user root
and start them.

P.S: Read squid.conf for cache_effective_user TAG. If
you start root (uid=0) you will have security problem.

==
Best Regards,
Squid Runner Support
squidrunner_dev at yahoo dot com

Web: http://geocities.com/squidrunner_dev/
Support: runnersupport at gmail dot com

SquidRunner - An Automatic Squid Builder 
==

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: [squid-users] Permission denied on squidguard

2005-05-26 Thread PF

 squidrunner support wrote:

 What is your cache_effective_user and
 cache_effective_group in squid.conf configuration?

 ..in the squid.conf I have the default parameter, therefore :

 # cache_effective_user squid
 # cache_effective_group squid


Hello,

Are all the squidGuard files including the log directory, squidGuard.conf
and the blacklist files owned by the user squid? If you've used the
defaults to install squidGuard, it would have got installed at
/local/squidGuard

chown squid:squid -R /local/squidGuard

And then reload squid

That should do it


-- 
The future is uncertain and the end is always near



Re: [squid-users] Permission denied on squidguard

2005-05-26 Thread sasa
Hi, sorry but pheraps now I have created a confusion with many test, now the 
situation is the following:

[EMAIL PROTECTED] ~]# /etc/init.d/squid start
Avvio di squid:    [FALLITO]
[EMAIL PROTECTED] ~]# ls -l /usr/sbin/squid
-rwxr-xr-x  1 root root 646564 16 mag 21:59 /usr/sbin/squid
[EMAIL PROTECTED] ~]# ls -l /usr/bin/squidguard
lrwxrwxrwx  1 root root 10 18 mag 15:52 /usr/bin/squidguard - squidGuard
[EMAIL PROTECTED] ~]# ls -l /usr/bin/squidGuard
-rwxr-xr-x  1 root root 70758 12 gen 21:20 /usr/bin/squidGuard
[EMAIL PROTECTED] ~]# ls -l /etc/squid/squid.conf
-rw-r-  1 root squid 111213 26 mag 18:50 /etc/squid/squid.conf
[EMAIL PROTECTED] ~]# ls -l /etc/squid/squidguard.conf
-rw-r--r--  1 root root 2569 23 mag 15:24 /etc/squid/squidguard.conf
[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]# 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 root0 25 mag 18:55 swap.state.last-clean
[EMAIL PROTECTED] ~]# 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
[EMAIL PROTECTED] ~]# 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.


Re: [squid-users] Permission denied on squidguard

2005-05-26 Thread sasa
PF wrote:

 Are all the squidGuard files including the log directory, squidGuard.conf
 and the blacklist files owned by the user squid? If you've used the
 defaults to install squidGuard, it would have got installed at
 /local/squidGuard
 
 chown squid:squid -R /local/squidGuard

...I have installed squidguard with rpm file and I haven't nothing in 
/usr/local.
still thanks.

Salvatore.


Re: [squid-users] Permission denied on squidguard

2005-05-26 Thread PF

 PF wrote:

 Are all the squidGuard files including the log directory,
 squidGuard.conf
 and the blacklist files owned by the user squid? If you've used the
 defaults to install squidGuard, it would have got installed at
 /local/squidGuard

 chown squid:squid -R /local/squidGuard

 ...I have installed squidguard with rpm file and I haven't nothing in
 /usr/local.
 still thanks.

Do you know where the blacklist's, the logs directory and squidGuard.conf
is located? All the directories need to be owned by squid

So just chown -R squid:squid directory

And reload squid

-- 
The future is uncertain and the end is always near



Re: [squid-users] Permission denied on squidguard

2005-05-26 Thread PF

 ..in the squid.conf I have the default parameter,
 therefore :

 # cache_effective_user squid
 # cache_effective_group squid

 .. still thanks.

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

 If you want to start it as root then configure
 cache_effective_user root
 cache_effective_user root
 and start them.

 P.S: Read squid.conf for cache_effective_user TAG. If
 you start root (uid=0) you will have security problem.


Though it would make life easier to run squid or any other program as
root, its _NOT_ advisable to do so especially if the server is connected
directly to the internet. It might require a bit of brain storming and
some time to setup squid and squidGuard running as user squid.



-- 
The future is uncertain and the end is always near



[squid-users] Permission denied on squidguard

2005-05-19 Thread sasa
Hi, I use Fedora Core 3 with:
squid-2.5.STABLE6
squidguard-1.2.0-2.1

..when:
[EMAIL PROTECTED] ~]# /etc/rc.d/init.d/squid start
Avvio di squid: /etc/rc.d/init.d/squid: line 53:  3932 Abortito
$SQUID $SQUID_OPTS /var/log/squid/squid.out 21
   [FALLITO]
[EMAIL PROTECTED] ~]# tail /var/log/squid/squid.out
FATAL: redirect_program /usr/bin/squidGuard: (13) Permission denied
Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 0.012 seconds = 0.008 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 11
FATAL: redirect_program /usr/bin/squidGuard: (13) Permission denied
Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 0.015 seconds = 0.010 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 14

.. now the permssion are:

[EMAIL PROTECTED] ~]# ls -l /usr/sbin/squid
-rwxr-xr-x  1 root root 632080 18 ott  2004 /usr/sbin/squid
[EMAIL PROTECTED] ~]# ls -l /usr/bin/squidguard
lrwxrwxrwx  1 root root 10 18 mag 15:52 /usr/bin/squidguard - squidGuard
[EMAIL PROTECTED] ~]# ls -l /usr/bin/squidGuard
-rwxr-xr-x  1 root root 70758 12 gen 21:20 /usr/bin/squidGuard
[EMAIL PROTECTED] ~]# ls -l /etc/squid/squidguard.conf
-rw-r--r--  1 root root 2569 18 mag 16:55 /etc/squid/squidguard.conf
[EMAIL PROTECTED] ~]# ls -l /var/lib/squidguard/
totale 32
drwxr-xr-x   2 root root 4096 18 mag 18:04 ad
drwxr-xr-x  13 root root 4096 18 mag 17:48 blacklists
drwxr-xr-x   2 root root 4096 18 mag 18:02 ok
drwxr-xr-x   2 root root 4096 18 mag 18:02 ok1
[EMAIL PROTECTED] ~]# ls -l /var/lib/squidguard/ad
totale 16
-rwxr-xr-x  1 root root 16 18 mag 18:04 domains
-rwxr-xr-x  1 root root 18 18 mag 18:04 urls
[EMAIL PROTECTED] ~]# ls -l /var/lib/squidguard/blacklists/
totale 96
drwxr-xr-x  2 root root 4096 18 mag 17:48 ads
drwxr-xr-x  2 root root 4096 18 mag 17:48 aggressive
drwxr-xr-x  2 root root 4096 18 mag 17:48 audio-video
drwxr-xr-x  2 root root 4096 18 mag 17:48 drugs
drwxr-xr-x  2 root root 4096 18 mag 17:48 gambling
drwxr-xr-x  2 root root 4096 18 mag 17:48 hacking
drwxr-xr-x  2 root root 4096 18 mag 17:48 mail
drwxr-xr-x  2 root root 4096 18 mag 17:48 porn
drwxr-xr-x  2 root root 4096 18 mag 17:48 proxy
-rw-r--r--  1 root root  508 25 mar  2000 README
drwxr-xr-x  2 root root 4096 18 mag 17:48 violence
drwxr-xr-x  2 root root 4096 18 mag 17:48 warez

..I think that the permission it's ok, or not ?? where is the my error ??
thanks.

Salvatore.