Leider startet bei mir squidguard auf der RS814 nicht wobei auf meiner DS409+ alles funktionierte.
Zur Info.
RS 814 - DSM 5.2-5592 Update 1 erst seit 30 Tagen eingerichtet.
Die installation von Squidguard klappte nach installation aller Abhängigkeiten.
Manuelles anstarten von squidguard
Nach erneutem anstarten bekomme ich die Meldung mit getcwd nicht mehr
liefert mir im squidguard log
im cache.log
Squid läuft auf Port 3128 wie auf meiner 409.
RS814> netstat -an | grep 3128
tcp 0 0 ::%21:3128 :::* LISTEN
Im Package center bleibt der status auf STOP
Wie kann ich nun weiter den Fehler eingrenzen um auf die Konfigurationsoberfläche zu kommen?
Gruß Chris
Zur Info.
RS 814 - DSM 5.2-5592 Update 1 erst seit 30 Tagen eingerichtet.
Die installation von Squidguard klappte nach installation aller Abhängigkeiten.
Manuelles anstarten von squidguard
Rich (BBCode):
RS814> /var/packages/squidguard/scripts/start-stop-status start
Starting SquidGuard ...
nohup: appending output to /root/nohup.out
2015/08/20 23:29:16| WARNING: Netmasks are deprecated. Please use CIDR masks instead.
2015/08/20 23:29:16| WARNING: IPv4 netmasks are particularly nasty when used to compare IPv6 to IPv4 ranges.
2015/08/20 23:29:16| WARNING: For now we will assume you meant to write /32
2015/08/20 23:29:16| WARNING: (B) '127.0.0.1' is a subnetwork of (A) '127.0.0.1'
2015/08/20 23:29:16| WARNING: because of this '127.0.0.1' is ignored to keep splay tree searching predictable
2015/08/20 23:29:16| WARNING: You should probably remove '127.0.0.1' from the ACL named 'localhost'
2015/08/20 23:29:16| WARNING: (B) '127.0.0.1' is a subnetwork of (A) '127.0.0.1'
2015/08/20 23:29:16| WARNING: because of this '127.0.0.1' is ignored to keep splay tree searching predictable
2015/08/20 23:29:16| WARNING: You should probably remove '127.0.0.1' from the ACL named 'localhost'
2015/08/20 23:29:16| WARNING: (B) '127.0.0.0/8' is a subnetwork of (A) '127.0.0.0/8'
2015/08/20 23:29:16| WARNING: because of this '127.0.0.0/8' is ignored to keep splay tree searching predictable
2015/08/20 23:29:16| WARNING: You should probably remove '127.0.0.0/8' from the ACL named 'to_localhost'
ash: getcwd: No such file or directory
RS814> /var/packages/squidguard/scripts/start-stop-status status
SquidGuard is not running
liefert mir im squidguard log
Rich (BBCode):
2015-08-21 00:05:10 [4861] INFO: New setting: logdir: /usr/local/squidguard/var/logs
2015-08-21 00:05:10 [4861] INFO: New setting: dbhome: /usr/local/squidguard/var/db
2015-08-21 00:05:10 [4861] INFO: squidGuard 1.5-alpha started (1440108310.729)
2015-08-21 00:05:10 [4861] INFO: squidGuard ready for requests (1440108310.731)
2015-08-21 00:05:10 [4863] INFO: New setting: logdir: /usr/local/squidguard/var/logs
2015-08-21 00:05:10 [4863] INFO: New setting: dbhome: /usr/local/squidguard/var/db
2015-08-21 00:05:10 [4863] INFO: squidGuard 1.5-alpha started (1440108310.738)
2015-08-21 00:05:10 [4863] INFO: squidGuard ready for requests (1440108310.739)
2015-08-21 00:05:10 [4864] INFO: New setting: logdir: /usr/local/squidguard/var/logs
2015-08-21 00:05:10 [4864] INFO: New setting: dbhome: /usr/local/squidguard/var/db
2015-08-21 00:05:10 [4864] INFO: squidGuard 1.5-alpha started (1440108310.742)
2015-08-21 00:05:10 [4864] INFO: squidGuard ready for requests (1440108310.744)
2015-08-21 00:05:10 [4862] INFO: New setting: logdir: /usr/local/squidguard/var/logs
2015-08-21 00:05:10 [4862] INFO: New setting: dbhome: /usr/local/squidguard/var/db
2015-08-21 00:05:10 [4862] INFO: squidGuard 1.5-alpha started (1440108310.734)
2015-08-21 00:05:10 [4862] INFO: squidGuard ready for requests (1440108310.745)
2015-08-21 00:05:11 [4861] INFO: squidGuard stopped (1440108311.012)
2015-08-21 00:05:11 [4862] INFO: squidGuard stopped (1440108311.013)
2015-08-21 00:05:11 [4863] INFO: squidGuard stopped (1440108311.013)
2015-08-21 00:05:11 [4864] INFO: squidGuard stopped (1440108311.014)
im cache.log
Rich (BBCode):
2015/08/21 00:05:10| Starting Squid Cache version 3.1.22 for arm-marvell-linux-gnueabi...
2015/08/21 00:05:10| Process ID 4860
2015/08/21 00:05:10| With 1024 file descriptors available
2015/08/21 00:05:10| Initializing IP Cache...
2015/08/21 00:05:10| DNS Socket created at [::], FD 6
2015/08/21 00:05:10| DNS Socket created at 0.0.0.0, FD 7
2015/08/21 00:05:10| Adding nameserver 192.168.0.1 from /etc/resolv.conf
2015/08/21 00:05:10| helperOpenServers: Starting 4/4 'squidGuard' processes
2015/08/21 00:05:10| Unlinkd pipe opened on FD 20
2015/08/21 00:05:10| Store logging disabled
2015/08/21 00:05:10| Swap maxSize 204800 + 16384 KB, estimated 17014 objects
2015/08/21 00:05:10| Target number of buckets: 850
2015/08/21 00:05:10| Using 8192 Store buckets
2015/08/21 00:05:10| Max Mem size: 16384 KB
2015/08/21 00:05:10| Max Swap size: 204800 KB
2015/08/21 00:05:10| Rebuilding storage in /usr/local/squidguard/var/cache (DIRTY)
2015/08/21 00:05:10| Using Least Load store dir selection
2015/08/21 00:05:10| Set Current Directory to /usr/local/squidguard/var/logs
2015/08/21 00:05:11| Loaded Icons.
2015/08/21 00:05:11| commBind: Cannot bind socket FD 22 to [::]:3128: (98) Address already in use
FATAL: Cannot open HTTP Port
Squid Cache (Version 3.1.22): Terminated abnormally.
CPU Usage: 0.050 seconds = 0.020 user + 0.030 sys
Maximum Resident Size: 26464 KB
Page faults with physical i/o: 2
Memory usage for squid via mallinfo():
total space in arena: 2284 KB
Ordinary blocks: 2159 KB 3 blks
Small blocks: 0 KB 1 blks
Holding blocks: 812 KB 3 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 124 KB
Total in use: 2971 KB 130%
Total free: 124 KB 5%
Squid läuft auf Port 3128 wie auf meiner 409.
RS814> netstat -an | grep 3128
tcp 0 0 ::%21:3128 :::* LISTEN
Im Package center bleibt der status auf STOP
Rich (BBCode):
RS814> ps | grep squid
12025 root 11548 S /var/packages/ProxyServer/target/bin/squid
12027 nobody 15972 S (squid-1)
12083 squid 3112 S /usr/local/squidguard/bin/c-icap -f /usr/local/squidguard/etc/c-icap.conf
12087 squid 93240 S /usr/local/squidguard/bin/c-icap -f /usr/local/squidguard/etc/c-icap.conf
12088 squid 93240 S /usr/local/squidguard/bin/c-icap -f /usr/local/squidguard/etc/c-icap.conf
12089 squid 93240 S /usr/local/squidguard/bin/c-icap -f /usr/local/squidguard/etc/c-icap.conf
12713 squid 438m S /var/packages/AntiVirus/target/engine/clamav/sbin/clamd -c /usr/local/squidguard/etc/clamd.conf
14512 root 4004 S grep squid
32616 squid 433m S /var/packages/AntiVirus/target/engine/clamav/sbin/clamd -c /usr/local/squidguard/etc/clamd.conf
Wie kann ich nun weiter den Fehler eingrenzen um auf die Konfigurationsoberfläche zu kommen?
Gruß Chris