AW: [squid-users] DB Error ?

2012-03-22 Thread Jarosch, Ralph
Thanks Amos

Is there any way to change the location where squidguard store the temp DB 
files?

Ralph

-Ursprüngliche Nachricht-
Von: Amos Jeffries [mailto:squ...@treenet.co.nz] 
Gesendet: Mittwoch, 21. März 2012 23:53
An: squid-users@squid-cache.org
Betreff: Re: [squid-users] DB Error ?

squidguard problem.

/var/tmp is a location where data may be erased at any time. Its not a good 
idea to use that area for storing your service-critical database. 
/var/cache/squidguard is better.

Amos




Re: [squid-users] DB Error ?

2012-03-22 Thread Helmut Hullen
Hallo, Jarosch,,

Du meintest am 22.03.12:

 Is there any way to change the location where squidguard store the
 temp DB files?

File squidGuard.conf

Line dbhome /var/lib/squidGuard/db

or whatever you want.

Viele Gruesse!
Helmut


AW: [squid-users] DB Error ?

2012-03-22 Thread Jarosch, Ralph
But this is only the location where the Blacklist DB is stored.
My files where created from the Berkely DB I think

-Ursprüngliche Nachricht-
Von: Helmut Hullen [mailto:hul...@t-online.de] 
Gesendet: Donnerstag, 22. März 2012 10:45
An: squid-users@squid-cache.org
Betreff: Re: [squid-users] DB Error ?

Hallo, Jarosch,,

Du meintest am 22.03.12:

 Is there any way to change the location where squidguard store the 
 temp DB files?

File squidGuard.conf

Line dbhome /var/lib/squidGuard/db

or whatever you want.

Viele Gruesse!
Helmut




Re: [squid-users] DB Error ?

2012-03-22 Thread Helmut Hullen
Hallo, Jarosch,,

Du meintest am 21.03.12:

 Hi together I think I have some trouble with my Berkely Database.

 When I start up my Squid I get following error in my cache.log

 2012-03-21 15:50:28 [2325] init domainlist
 /usr/local/squidGuard/list/BL/warez/domains 2012-03-21 15:50:28
 [2325] init urllist /usr/local/squidGuard/list/BL/warez/urls
 temporary open: /var/tmp/BDB02320: Permission denied unable to create
 temporary backing file temporary open: /var/tmp/BDB02320: Permission
 denied


My usual way for creating the squidGuard database(s):

squidGuard -b -d -C all
squidGuard -b -d u

Do these commands run without an error message?

Viele Gruesse!
Helmut


AW: [squid-users] DB Error ?

2012-03-22 Thread Jarosch, Ralph
I couldn´t believe Red Hat change in Version 6 the SELinux process and this 
piece of sh*** blocked my Berkely DB.

Thanks 4 any help

-Ursprüngliche Nachricht-
Von: Helmut Hullen [mailto:hul...@t-online.de] 
Gesendet: Donnerstag, 22. März 2012 12:42
An: squid-users@squid-cache.org
Betreff: Re: [squid-users] DB Error ?

Hallo, Jarosch,,

Du meintest am 21.03.12:

 Hi together I think I have some trouble with my Berkely Database.

 When I start up my Squid I get following error in my cache.log

 2012-03-21 15:50:28 [2325] init domainlist 
 /usr/local/squidGuard/list/BL/warez/domains 2012-03-21 15:50:28 [2325] 
 init urllist /usr/local/squidGuard/list/BL/warez/urls
 temporary open: /var/tmp/BDB02320: Permission denied unable to create 
 temporary backing file temporary open: /var/tmp/BDB02320: Permission 
 denied


My usual way for creating the squidGuard database(s):

squidGuard -b -d -C all
squidGuard -b -d u

Do these commands run without an error message?

Viele Gruesse!
Helmut




[squid-users] DB Error ?

2012-03-21 Thread Jarosch, Ralph
Hi together I think I have some trouble with my Berkely Database.

When I start up my Squid I get following error in my cache.log

2012-03-21 15:50:28 [2325] init domainlist 
/usr/local/squidGuard/list/BL/warez/domains
2012-03-21 15:50:28 [2325] init urllist /usr/local/squidGuard/list/BL/warez/urls
temporary open: /var/tmp/BDB02320: Permission denied
unable to create temporary backing file
temporary open: /var/tmp/BDB02320: Permission denied


my tmp directory has the following rights

524325 4 drwxrwxrwt.  2 root root 4096 21. Mär 14:42 tmp


I'm using Squid3 from the Red Hat source with Squidguard 1.4 and db4

Have anyone of you seen this Problem before ??

Thanks 
Mit freundlichen Grüßen

Ralph Jarosch
Firewall und Proxyserver
ZIB
Zentraler IT-Betrieb Niedersächsische Justiz



Re: [squid-users] DB Error ?

2012-03-21 Thread Amos Jeffries

squidguard problem.

/var/tmp is a location where data may be erased at any time. Its not a 
good idea to use that area for storing your service-critical database. 
/var/cache/squidguard is better.


Amos