• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

squid + squidguard problem

neat

Newbie
Hallo,
bin vor kurzem auf suse 10.1 umgestiegen. Habe wie gewohnt squid und squidguard installiert. squid funktioniert auch einwandfrei. Sobald ich aber die parameter für squiguard einstelle

redirect_program /usr/sbin/squidGuard -c /etc/squid/squidGuard.conf
und
redirect_children 5

startet squid nicht mehr.

mit den syslog Fehlern kann ich leieder nicht viel anfangen und das googln bin ich auch leid :evil:

Hoffe ihr könnt mir weiterhelfen

Code:
Squid Parent: child process 25439 started
May 29 16:01:41 pixelmashine squid[25439]: Starting Squid Cache version 2.5.STABLE12 for i686-pc-linux-gnu...
May 29 16:01:41 pixelmashine squid[25439]: Process ID 25439
May 29 16:01:41 pixelmashine squid[25439]: With 4096 file descriptors available
May 29 16:01:41 pixelmashine squid[25439]: DNS Socket created at 0.0.0.0, port 32781, FD 6
May 29 16:01:41 pixelmashine squid[25439]: Adding nameserver 192.168.0.99 from /etc/resolv.conf
May 29 16:01:41 pixelmashine squid[25439]: helperOpenServers: Starting 5 'squidGuard' processes
May 29 16:01:41 pixelmashine squid[25441]: ipcCreate: /usr/sbin/squidGuard: (1) Operation not permitted
May 29 16:01:41 pixelmashine squid[25442]: ipcCreate: /usr/sbin/squidGuard: (1) Operation not permitted
May 29 16:01:41 pixelmashine squid[25440]: ipcCreate: /usr/sbin/squidGuard: (1) Operation not permitted
May 29 16:01:41 pixelmashine squid[25443]: ipcCreate: /usr/sbin/squidGuard: (1) Operation not permitted
May 29 16:01:41 pixelmashine squid[25444]: ipcCreate: /usr/sbin/squidGuard: (1) Operation not permitted
May 29 16:01:41 pixelmashine squid[25439]: User-Agent logging is disabled.
May 29 16:01:41 pixelmashine squid[25439]: Referer logging is disabled.
May 29 16:01:42 pixelmashine squid[25439]: Unlinkd pipe opened on FD 16
May 29 16:01:42 pixelmashine squid[25439]: Swap maxSize 102400 KB, estimated 7876 objects
May 29 16:01:42 pixelmashine squid[25439]: Target number of buckets: 393
May 29 16:01:42 pixelmashine squid[25439]: Using 8192 Store buckets
May 29 16:01:42 pixelmashine squid[25439]: Max Mem  size: 8192 KB
May 29 16:01:42 pixelmashine squid[25439]: Max Swap size: 102400 KB
May 29 16:01:42 pixelmashine squid[25439]: Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
May 29 16:01:42 pixelmashine squid[25439]: Rebuilding storage in /var/cache/squid (DIRTY)
May 29 16:01:42 pixelmashine squid[25439]: Using Least Load store dir selection
May 29 16:01:42 pixelmashine squid[25439]: Set Current Directory to /var/cache/squid
May 29 16:01:42 pixelmashine squid[25439]: Loaded Icons.
May 29 16:01:42 pixelmashine squid[25439]: Accepting HTTP connections at 0.0.0.0, port 3128, FD 18.
May 29 16:01:42 pixelmashine squid[25439]: Accepting ICP messages at 0.0.0.0, port 3130, FD 19.
May 29 16:01:42 pixelmashine squid[25439]: HTCP Disabled.
May 29 16:01:42 pixelmashine squid[25439]: Accepting SNMP messages on port 3401, FD 20.
May 29 16:01:42 pixelmashine squid[25439]: WCCP Disabled.
May 29 16:01:42 pixelmashine squid[25439]: Ready to serve requests.
May 29 16:01:42 pixelmashine squid[25439]: WARNING: redirector #1 (FD 8) exited
May 29 16:01:42 pixelmashine squid[25439]: WARNING: redirector #2 (FD 9) exited
May 29 16:01:42 pixelmashine squid[25439]: WARNING: redirector #3 (FD 10) exited
May 29 16:01:42 pixelmashine squid[25439]: Too few redirector processes are running
May 29 16:01:42 pixelmashine squid[25439]: The redirector helpers are crashing too rapidly, need help!
May 29 16:01:42 pixelmashine squid[25309]: Squid Parent: child process 25439 exited due to signal 6
May 29 16:01:42 pixelmashine squid[25309]: Exiting due to repeated, frequent failures
 

Stefan Staeglich

Advanced Hacker
Gibt es die Datei auch? Vielleicht heißt sie ja "/etc/squidguard.conf". Hast du die Rechte überprüft? Wie sieht die squidguard. conf oder wie sie auch heißt aus?

EDIT: Das hier spricht für ein Rechteproblem:

Code:
May 29 16:01:41 pixelmashine squid[25441]: ipcCreate: /usr/sbin/squidGuard: (1) Operation not permitted
 
OP
N

neat

Newbie
der eintrag hieß "/etc/squidguard.conf" war jedoch nicht der Fehler. Der fehler scheint von der "squidguard.conf" unabhängig zu sein.

Wenn ich in der squid.conf nur "redirect_children 5" nutze und "redirect_program /usr/sbin/squidGuard -c /etc/squidguard.conf" auskommentiere tritt kein Fehler auf.

Andersherum tritt der Fehler wieder auf. Muss wohl irgendwie mit "usr/sbin/squidGuard" zusammenhängen.

rechte habe ich vorübergehend mal auf 777 gesetzt. half aber auch nicht :(

zu testzwecken habe ich einmal probiert die authentifizierung über das modul pam_auth zu aktivieren. Dabei tritt das selbe Problem auf wie auch bei squidguard

Code:
Starting Squid Cache version 2.5.STABLE12 for i686-pc-linux-gnu...
May 29 17:39:55 pixelmashine squid[26423]: Process ID 26423
May 29 17:39:55 pixelmashine squid[26423]: With 4096 file descriptors available
May 29 17:39:55 pixelmashine squid[26423]: DNS Socket created at 0.0.0.0, port 32788, FD 6
May 29 17:39:55 pixelmashine squid[26423]: Adding nameserver 192.168.0.99 from /etc/resolv.conf
May 29 17:39:55 pixelmashine squid[26423]: helperOpenServers: Starting 5 'pam_auth' processes
May 29 17:39:55 pixelmashine squid[26424]: ipcCreate: /usr/sbin/pam_auth: (1) Operation not permitted
May 29 17:39:55 pixelmashine squid[26425]: ipcCreate: /usr/sbin/pam_auth: (1) Operation not permitted
May 29 17:39:55 pixelmashine squid[26426]: ipcCreate: /usr/sbin/pam_auth: (1) Operation not permitted
May 29 17:39:55 pixelmashine squid[26427]: ipcCreate: /usr/sbin/pam_auth: (1) Operation not permitted
May 29 17:39:55 pixelmashine squid[26423]: User-Agent logging is disabled.
May 29 17:39:55 pixelmashine squid[26423]: Referer logging is disabled.
May 29 17:39:55 pixelmashine squid[26428]: ipcCreate: /usr/sbin/pam_auth: (1) Operation not permitted
May 29 17:39:55 pixelmashine squid[26423]: Unlinkd pipe opened on FD 16
May 29 17:39:55 pixelmashine squid[26423]: Swap maxSize 102400 KB, estimated 7876 objects
May 29 17:39:55 pixelmashine squid[26423]: Target number of buckets: 393
May 29 17:39:55 pixelmashine squid[26423]: Using 8192 Store buckets
May 29 17:39:55 pixelmashine squid[26423]: Max Mem  size: 8192 KB
May 29 17:39:55 pixelmashine squid[26423]: Max Swap size: 102400 KB
May 29 17:39:55 pixelmashine squid[26423]: Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
May 29 17:39:55 pixelmashine squid[26423]: Rebuilding storage in /var/cache/squid (DIRTY)
May 29 17:39:55 pixelmashine squid[26423]: Using Least Load store dir selection
May 29 17:39:55 pixelmashine squid[26423]: Set Current Directory to /var/cache/squid
May 29 17:39:55 pixelmashine squid[26423]: Loaded Icons.
May 29 17:39:55 pixelmashine squid[26423]: Accepting HTTP connections at 0.0.0.0, port 3128, FD 18.
May 29 17:39:55 pixelmashine squid[26423]: Accepting ICP messages at 0.0.0.0, port 3130, FD 19.
May 29 17:39:55 pixelmashine squid[26423]: HTCP Disabled.
May 29 17:39:55 pixelmashine squid[26423]: Accepting SNMP messages on port 3401, FD 20.
May 29 17:39:55 pixelmashine squid[26423]: WCCP Disabled.
May 29 17:39:55 pixelmashine squid[26423]: Ready to serve requests.
May 29 17:39:55 pixelmashine squid[26423]: WARNING: basicauthenticator #1 (FD 8) exited
May 29 17:39:55 pixelmashine squid[26423]: WARNING: basicauthenticator #2 (FD 9) exited
May 29 17:39:55 pixelmashine squid[26423]: WARNING: basicauthenticator #3 (FD 10) exited
May 29 17:39:55 pixelmashine squid[26423]: Too few basicauthenticator processes are running
May 29 17:39:55 pixelmashine squid[26423]: The basicauthenticator helpers are crashing too rapidly, need help!
May 29 17:39:55 pixelmashine squid[26404]: Squid Parent: child process 26423 exited due to signal 6
May 29 17:39:58 pixelmashine squid[26404]: Squid Parent: child process 26431 started
 

Stefan Staeglich

Advanced Hacker
Und wo bleibt die squidguard.conf? Und probier es mal mit abgeschalteter Firewall.

EDIT: Ich habs ganz vergessen zu sagen. Könntest du bitte Groß-/Kleinschreibung verwenden? Das würde es nämlich erleichtern deine Posts zu lesen.
 
OP
N

neat

Newbie
Werde drauf achten :)

Habe mittlerweile squid + squidguard nochmal komplett neu installiert.
Der Fehler bleibt weiterhin bestehen.
Für mich sieht es so aus, als hätte squid keine Rechte, die redirect Programme zu nutzen.
 

Stefan Staeglich

Advanced Hacker
Ich sagte ja, daß du die Rechte überprüfen sollst. Und zwar auch die von SquidGuard selbst. Der Squid muß den ja schließlich starten können. Und neu installieren führt übrigens selten zum Ziel.
 
Oben