Hello All,
Francesco Ranieri wrote:
Do you know selinux ? I read that context=system_u:system_r:initrc_t
and i suppose it belongs to selinux, if you know what selinux is you
can try to disable it and see if on reboot the original squid script
works. If you don't know selinux, i suppose you
Mark Elsen wrote:
- Try the online test again :
root # /usr/sbin/squid
OK ?
M.
Yeah That still works fine.
Mark
signature.asc
Description: OpenPGP digital signature
[EMAIL PROTECTED] wrote:
Suqid and squidguard work fine for me.
There are 2 scripts:
/sbin/init.d/squid (yep, OS is Tru64):
case $1 in
'start')
echo Starting SQUID ...
nohup /sbin/init.d/squid_start
;;
snip
and /sbin/init.d/squid_start:
#!/bin/sh
su
Mark Elsen wrote:
So , are you really sure, that the one user who is defined as :
cache_effective_user
in squid.conf, can execute :
/usr/local/squidguard/bin/squidGuard
-- Double verify and again, if needed.
M.
Hmmm. Well I
Mark Elsen wrote:
[EMAIL PROTECTED] mark]# sudo -u squid /usr/sbin/squid -NCd 1
...
That's not the way to go, and not what I asked.
You need to make sure that the one who is defined
as
cache_effective_user
can execute /squidGuard.
Since the user is apparently called
Mark Elsen wrote:
Sorry, My mistake - again.
[EMAIL PROTECTED] mark]# su - squid
This account is currently not available.
hmmm..
[EMAIL PROTECTED] mark]# vim /etc/passwd
{change squid:x:23:23::/var/spool/squid:/sbin/nologin to
squid:x:23:23::/var/spool/squid:/bin/bash}
[EMAIL
Mark Elsen wrote:
What now?
Same test , but now, from /etc/rc.d/rc.local.
(involves system restart)
Should work too now.
Actually No. (groan...)
2006/01/26 22:00:56| helperOpenServers: Starting 5 'squidGuard' processes
2006/01/26 22:00:56| WARNING: Cannot run
Mark Elsen wrote:
If I put the command
/usr/sbin/squid -NC
in my /etc/rc.d/rc.local file it hangs the system on reboot!
You can not use it like that in rc.local, that way of SQUID starting is
ment
to be used from the command line, and intended for problem solving tasks.
Use squid -h
Mark Elsen wrote:
So. To be clear:
/usr/sbin/squid -NCd 1 from the command line works just fine;
/usr/sbin/squid in /etc/rc.d/rc.local does not; and produces the same
error as
/sbin/service squid start from the command line.
Apologies for the confusion.
What next?
In both
Hello Chaps,
I'm still struggling (and still failing) to to squidGuard to work with
squid. For those of you who have not been following each gripping
instalment of this thread here is a quick recap...
I can run squid very happily on my FC4 machine. I have tried installing
squidGuard by RPM, by
Mark Elsen wrote:
That may not be enough in a context where the Firewalling software was
started and then stopped. Residual rules and or states may still affect the
loopback interface.
Can you, for instance, 'ping localhost' with success ?
Yup...
Even with the firewall up and running:
[EMAIL
Mark Elsen wrote:
I haven't tried restarting yet - but given that ping localhost works
with the firewall(s) in place do you still think that this is my problem?
It could still be, so the restarting with all Firewalling off should
still be tried.
Well I've just tried it with
Mark Elsen wrote:
...
Squid is started automatically in runlevel 5. If I start it myself I use
the command:
/sbin/service squid start (or stop, or restart)
as root.
Try to start it more natively, what does :
root # path_to_squid/squid -NCd 1
gives ?
Well Now!
Quoting from my own message...
Mark Sansome wrote:
2006/01/14 21:36:07| comm_open: FD 7 is a new socket
2006/01/14 21:36:07| fd_open FD 7 squidGuard
2006/01/14 21:36:07| ipcCreate: prfd FD 7
2006/01/14 21:36:07| ipcCreate: pwfd FD 7
2006/01/14 21:36:07| ipcCreate: crfd FD 6
2006/01/14 21:36:07
Brian Phillips wrote:
'su - squid'
It COMPLETELY sets you as the squid user.
Are you starting squid as root? Or are you using the init scripts? Or are
you just running it on the command line as squid/proxy?
If I try as a non-privileged user:
[EMAIL PROTECTED] ~]$ su - squid
Password:
Hello chaps,
I know that this is a Squid mailing list and not the SquidGuard list - by I
have exhausted the help of the good folks on the SquidGuard list...
I actually have Squid up and running and am very happy with it :)
however, I *do* want to use squidGuard with it too.
Squid runs on a FC4
Brian E. Conklin wrote:
-Original Message-
From: Mark Sansome [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 12, 2006 2:21 PM
To: squid-users@squid-cache.org
Subject: [squid-users] Squid with SquidGuard
Hello chaps,
I know that this is a Squid mailing list and not the
SquidGuard
17 matches
Mail list logo