Search squid archive

AW: AW: AW: AW: squid Version 2.6.STABLE16 crashing with url_rewriters [SOLVED]

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

 



Me again ☺

Seem’s the db update brought solution. Maybe the new blacklist…

Will keep an eye on it.

Thx a million!

Dirk

________________________________________
Von: Cassiano Martin [mailto:cassiano@xxxxxxxxxxxxx]
Gesendet: Freitag, 1. Februar 2008 13:23
An: Goj, Dirk
Betreff: Re: AW: AW: AW:  squid Version 2.6.STABLE16 crashing with url_rewriters

check if the db folders path is correct, or any missing acl files.
I think this is the last hope :-)

Goj, Dirk wrote:
Hmmm... strange...

I've moved the old db directory to db_old and created a new one with the correct user and access rights. When I run "sudo squidGuard -C all" I get this from the squidGuard.log:

2008-02-01 13:08:20 [2803] New setting: dbhome: /usr/local/squidGuard/db
2008-02-01 13:08:20 [2803] New setting: logdir: /usr/local/squidGuard/log
2008-02-01 13:08:20 [2803] init domainlist /usr/local/squidGuard/db/ads/domains
2008-02-01 13:08:20 [2803] Error db_open: No such file or directory
2008-02-01 13:08:20 [2803] going into emergency mode

Same when I delete the directory completely and run the command...

-----Ursprüngliche Nachricht-----
Von: Cassiano Martin [mailto:cassiano@xxxxxxxxxxxxx]
Gesendet: Freitag, 1. Februar 2008 12:27
An: Goj, Dirk
Betreff: Re: AW: AW:  squid Version 2.6.STABLE16 crashing with url_rewriters

I looked at the logs, its very weird, because there is no log when
squidguard crashes.

Well, you could try moving the old .db to another folder, and running
that command to recreate the database.
actually,  when you run the command, squidguard is only updating the
database, not recreating them.
just remember to give the files the same permission, maybe the folder is
writeable to squidguard user, so I think that
there will be no problem.

Goj, Dirk wrote:

Hi.

Ah ok. That's done automatically every night by a sheduled cron job. But made it manually in addition but brings no results. Means the problem resits.

Dirk

________________________________________
Von: Cassiano Martin [mailto:cassiano@xxxxxxxxxxxxx]
Gesendet: Freitag, 1. Februar 2008 12:06
An: Goj, Dirk
Betreff: Re: AW:  squid Version 2.6.STABLE16 crashing with url_rewriters

You can regenerate the DBs issuing
sudo squidGuard -C all

and then restart squid. Squidguard will recreate the DB's

[]'s
Cassiano Martin

Goj, Dirk wrote:
Hi.

Thx for reply.

-----Ursprüngliche Nachricht-----
Von: Cassiano Martin [mailto:cassiano@xxxxxxxxxxxxx]
Gesendet: Freitag, 1. Februar 2008 10:58
An: Goj, Dirk
Betreff: Re:  squid Version 2.6.STABLE16 crashing with url_rewriters

Goj, Dirk wrote:

Hi there.

Yesterday my proxy started crashing with following error message:

2008/01/31 14:04:12| Starting Squid Cache version 2.6.STABLE16 for i386-debian-linux-gnu...
2008/01/31 14:04:12| Process ID 22919
2008/01/31 14:04:12| With 1024 file descriptors available
2008/01/31 14:04:12| Using epoll for the IO loop

##############snip############

FATAL: The url_rewriter helpers are crashing too rapidly, need help!

Squid Cache (Version 2.6.STABLE16): Terminated abnormally.
CPU Usage: 0.580 seconds = 0.260 user + 0.320 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:   16272 KB
        Ordinary blocks:        16186 KB     11 blks
        Small blocks:               0 KB      0 blks
        Holding blocks:           504 KB      2 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:      85 KB
        Total in use:           16690 KB 99%
        Total free:                85 KB 1%

When I restart squid from webmin or from ssh the same thing happens. Changed nothing at squid itself. Search the internet and found one thing that the helper (squidGuard) may have a to big logfile. But it's not the logfile. When I disable the helper squidGuard squid runs normally. It's the squidGuard which hasn't changed too... access rights to squidguard-db's are ok. Every folder and file same user like the squid is running under...

I'm out of ideas...

May anyone of you have ideas ?

Thx!


Dirk Goj








Its related with squidguard, take a look at its db. something is making
it crash. have you scanned the squidguard db's with db_verify?


Yes that's my thinking but I can't find anything... How do I verify the squidguard db's ?

Die in dieser E-Mail enthaltenen Informationen sind moeglicherweise vertraulich und koennen von rechtlicher Bedeutung sein. Diese Mail ist ausschliesslich für den Adressaten bestimmt und jeglicher Zugriff durch andere Personen ist nicht zulaessig. Falls Sie nicht der beabsichtigte Empfaenger sind, ist jegliche Veroeffentlichung, Vervielfaeltigung, Verteilung oder sonstige in diesem Zusammenhang stehende Handlung untersagt und unter Umstaenden ungesetzlich. Sollten Sie nicht der vorgesehene Empfaenger dieser E-Mail sein, informieren Sie bitte den Absender und loeschen Sie sie danach.

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail you have received this e-mail by mistake and delete this e-mail from your system.

As you know, messages sent by e-mail can be manipulated by third parties. For this reason our e-mail messages are generally not legally binding. This message (and any files transmitted with it) may contain confidential and/or privileged material. The information transmitted is intended only for the person or entity to which it is addressed.
If you have received this e-mail in error please notify the sender or the system manager immediately by reply e-mail and delete this message and any attachments. Any review, disclosure, copy, distribution or other use of contents of this message by persons or entities other than the intended recipient is prohibited.




Die in dieser E-Mail enthaltenen Informationen sind moeglicherweise vertraulich und koennen von rechtlicher Bedeutung sein. Diese Mail ist ausschliesslich für den Adressaten bestimmt und jeglicher Zugriff durch andere Personen ist nicht zulaessig. Falls Sie nicht der beabsichtigte Empfaenger sind, ist jegliche Veroeffentlichung, Vervielfaeltigung, Verteilung oder sonstige in diesem Zusammenhang stehende Handlung untersagt und unter Umstaenden ungesetzlich. Sollten Sie nicht der vorgesehene Empfaenger dieser E-Mail sein, informieren Sie bitte den Absender und loeschen Sie sie danach.

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail you have received this e-mail by mistake and delete this e-mail from your system.

As you know, messages sent by e-mail can be manipulated by third parties. For this reason our e-mail messages are generally not legally binding. This message (and any files transmitted with it) may contain confidential and/or privileged material. The information transmitted is intended only for the person or entity to which it is addressed.
If you have received this e-mail in error please notify the sender or the system manager immediately by reply e-mail and delete this message and any attachments. Any review, disclosure, copy, distribution or other use of contents of this message by persons or entities other than the intended recipient is prohibited.



Die in dieser E-Mail enthaltenen Informationen sind moeglicherweise vertraulich und koennen von rechtlicher Bedeutung sein. Diese Mail ist ausschliesslich für den Adressaten bestimmt und jeglicher Zugriff durch andere Personen ist nicht zulaessig. Falls Sie nicht der beabsichtigte Empfaenger sind, ist jegliche Veroeffentlichung, Vervielfaeltigung, Verteilung oder sonstige in diesem Zusammenhang stehende Handlung untersagt und unter Umstaenden ungesetzlich. Sollten Sie nicht der vorgesehene Empfaenger dieser E-Mail sein, informieren Sie bitte den Absender und loeschen Sie sie danach.

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail you have received this e-mail by mistake and delete this e-mail from your system.

As you know, messages sent by e-mail can be manipulated by third parties. For this reason our e-mail messages are generally not legally binding. This message (and any files transmitted with it) may contain confidential and/or privileged material. The information transmitted is intended only for the person or entity to which it is addressed.
If you have received this e-mail in error please notify the sender or the system manager immediately by reply e-mail and delete this message and any attachments. Any review, disclosure, copy, distribution or other use of contents of this message by persons or entities other than the intended recipient is prohibited.


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

  Powered by Linux