From: Jamie C. <jca...@we...> - 2010-06-15 21:50:25
|
On 15/Jun/2010 14:30 Sart Cole <sar...@ya...> wrote .. > Hi Jamie, > > I don't get any error message in my squid log > > My /etc/init.d/squid script works with "System" "Bootup and Shutdown" > but not with "Server" "Squid Proxy Server" > > > That happens if Webmin detects that the squid start command has failed. > > What does Webmin checks ? It checks the output from the squid start command. What appears in Webmin when you click the "Start Squid" button? > Gretings > > Sart > > ***************************************************************************** > Squid log file when started with "Server" "Squid Proxy Server" > ***************************************************************************** > > Webmin is Starting squid via my /etc/init.d/squid script > ======================================================== > > 2010/06/15 17.03.45 heure du dernier flush de /usr/local/squid/var/logs/cache.log > 2010/06/15 17.03.45 OK les ramdisk,1,2,3,4 existent > 2010/06/15 17:03:45| Starting Squid Cache version 3.1.4 for x86_64-unknown-linux-gnu... > 2010/06/15 17:03:45| Process ID 29744 > 2010/06/15 17:03:45| With 8192 file descriptors available > 2010/06/15 17:03:45| Initializing IP Cache... > 2010/06/15 17:03:45| DNS Socket created at [::], FD 7 > 2010/06/15 17:03:45| Adding nameserver 10.220.12.8 from /etc/resolv.conf > 2010/06/15 17:03:45| Adding domain xxx.xx.xx from /etc/resolv.conf > 2010/06/15 17:03:45| helperOpenServers: Starting 100/100 'squidGuard' processes > 2010/06/15 17:03:45| Unlinkd pipe opened on FD 212 > 2010/06/15 17:03:45| Local cache digest enabled; rebuild/rewrite every 3600/3600 > sec > 2010/06/15 17:03:45| Store logging disabled > 2010/06/15 17:03:45| Swap maxSize 10240000 + 307200 KB, estimated 811323 objects > 2010/06/15 17:03:45| Target number of buckets: 40566 > 2010/06/15 17:03:45| Using 65536 Store buckets > 2010/06/15 17:03:45| Max Mem size: 307200 KB > 2010/06/15 17:03:45| Max Swap size: 10240000 KB > 2010/06/15 17:03:45| Version 1 of swap file without LFS support detected... > 2010/06/15 17:03:45| Rebuilding storage in /ramdisk1 (CLEAN) > 2010/06/15 17:03:45| Version 1 of swap file without LFS support detected... > 2010/06/15 17:03:45| Rebuilding storage in /ramdisk2 (CLEAN) > 2010/06/15 17:03:45| Version 1 of swap file without LFS support detected... > 2010/06/15 17:03:45| Rebuilding storage in /ramdisk3 (CLEAN) > 2010/06/15 17:03:45| Version 1 of swap file without LFS support detected... > 2010/06/15 17:03:45| Rebuilding storage in /ramdisk4 (CLEAN) > 2010/06/15 17:03:45| Using Least Load store dir selection > 2010/06/15 17:03:45| Set Current Directory to /usr/local/squid/var/logs > 2010/06/15 17:03:45| Loaded Icons. > 2010/06/15 17:03:45| Accepting intercepted HTTP connections at 0.0.0.0:8080, FD > 221. > 2010/06/15 17:03:45| Accepting ICP messages at [::]:3130, FD 222. > 2010/06/15 17:03:45| HTCP Disabled. > 2010/06/15 17:03:45| Squid modules loaded: 0 > 2010/06/15 17:03:45| Ready to serve requests. > 2010/06/15 17:03:45| Done reading /ramdisk1 swaplog (15 entries) > 2010/06/15 17:03:45| Done reading /ramdisk2 swaplog (16 entries) > 2010/06/15 17:03:45| Done reading /ramdisk3 swaplog (12 entries) > 2010/06/15 17:03:45| Done reading /ramdisk4 swaplog (18 entries) > 2010/06/15 17:03:45| Finished rebuilding storage from disk. > 2010/06/15 17:03:45| 61 Entries scanned > 2010/06/15 17:03:45| 0 Invalid entries. > 2010/06/15 17:03:45| 0 With invalid flags. > 2010/06/15 17:03:45| 61 Objects loaded. > 2010/06/15 17:03:45| 0 Objects expired. > 2010/06/15 17:03:45| 0 Objects cancelled. > 2010/06/15 17:03:45| 0 Duplicate URLs purged. > 2010/06/15 17:03:45| 0 Swapfile clashes avoided. > 2010/06/15 17:03:45| Took 0.01 seconds (8102.01 objects/sec). > 2010/06/15 17:03:45| Beginning Validation Procedure > 2010/06/15 17:03:45| Completed Validation Procedure > 2010/06/15 17:03:45| Validated 147 Entries > 2010/06/15 17:03:45| store_swap_size = 528 > 2010/06/15 17:03:46| storeLateRelease: released 0 objects > 2010/06/15 17.03.51 Stopping squid > 2010/06/15 17:03:51| Preparing for shutdown after 0 requests > 2010/06/15 17:03:51| Waiting 30 seconds for active connections to finish > 2010/06/15 17:03:51| FD 221 Closing HTTP connection > 2010/06/15 17:04:22| Shutting down... > 2010/06/15 17:04:22| FD 222 Closing ICP connection > 2010/06/15 17:04:22| basic/auth_basic.cc(97) done: Basic authentication Shutdown. > 2010/06/15 17:04:22| Closing unlinkd pipe on FD 212 > 2010/06/15 17:04:22| storeDirWriteCleanLogs: Starting... > > Webmin is Stopping squid via my /etc/init.d/squid script > ======================================================== > > 2010/06/15 17:04:22| Finished. Wrote 61 entries. > 2010/06/15 17:04:22| Took 0.00 seconds (206081.08 entries/sec). > CPU Usage: 0.420 seconds = 0.240 user + 0.180 sys > Maximum Resident Size: 36864 KB > Page faults with physical i/o: 0 > Memory usage for squid via mallinfo(): > total space in arena: 3620 KB > Ordinary blocks: 3510 KB 19 blks > Small blocks: 0 KB 5 blks > Holding blocks: 4756 KB 5 blks > Free Small blocks: 0 KB > Free Ordinary blocks: 109 KB > Total in use: 8266 KB 228% > Total free: 109 KB 3% > 2010/06/15 17:04:22| Open FD UNSTARTED 7 DNS Socket > 2010/06/15 17:04:22| Open FD UNSTARTED 8 squidGuard #1 > 2010/06/15 17:04:22| Open FD UNSTARTED 10 squidGuard #2 > .... more of the same squidGuard lines > 2010/06/15 17:04:22| Open FD UNSTARTED 204 squidGuard #99 > 2010/06/15 17:04:22| Open FD UNSTARTED 206 squidGuard #100 > 2010/06/15 17:04:22| Open FD UNSTARTED 222 ICP Socket > 2010/06/15 17:04:22| Squid Cache (Version 3.1.4): Exiting normally. > > ***************************************************************************** > Squid log file when started with "System" "Bootup and Shutdown" > ***************************************************************************** > > 2010/06/15 17.09.09 heure du dernier flush de /usr/local/squid/var/logs/cache.log > 2010/06/15 17.09.09 OK les ramdisk,1,2,3,4 existent > 2010/06/15 17:09:09| Starting Squid Cache version 3.1.4 for x86_64-unknown-linux-gnu... > 2010/06/15 17:09:09| Process ID 30024 > 2010/06/15 17:09:09| With 8192 file descriptors available > 2010/06/15 17:09:09| Initializing IP Cache... > 2010/06/15 17:09:09| DNS Socket created at [::], FD 7 > 2010/06/15 17:09:09| Adding nameserver 10.220.12.8 from /etc/resolv.conf > 2010/06/15 17:09:09| Adding domain xxx.xx.xx from /etc/resolv.conf > 2010/06/15 17:09:09| helperOpenServers: Starting 100/100 'squidGuard' processes > 2010/06/15 17:09:09| Unlinkd pipe opened on FD 212 > 2010/06/15 17:09:09| Local cache digest enabled; rebuild/rewrite every 3600/3600 > sec > 2010/06/15 17:09:09| Store logging disabled > 2010/06/15 17:09:09| Swap maxSize 10240000 + 307200 KB, estimated 811323 objects > 2010/06/15 17:09:09| Target number of buckets: 40566 > 2010/06/15 17:09:09| Using 65536 Store buckets > 2010/06/15 17:09:09| Max Mem size: 307200 KB > 2010/06/15 17:09:09| Max Swap size: 10240000 KB > 2010/06/15 17:09:09| Version 1 of swap file without LFS support detected... > 2010/06/15 17:09:09| Rebuilding storage in /ramdisk1 (CLEAN) > 2010/06/15 17:09:09| Version 1 of swap file without LFS support detected... > 2010/06/15 17:09:09| Rebuilding storage in /ramdisk2 (CLEAN) > 2010/06/15 17:09:09| Version 1 of swap file without LFS support detected... > 2010/06/15 17:09:09| Rebuilding storage in /ramdisk3 (CLEAN) > 2010/06/15 17:09:09| Version 1 of swap file without LFS support detected... > 2010/06/15 17:09:09| Rebuilding storage in /ramdisk4 (CLEAN) > 2010/06/15 17:09:09| Using Least Load store dir selection > 2010/06/15 17:09:09| Set Current Directory to /usr/local/squid/var/logs > 2010/06/15 17:09:09| Loaded Icons. > 2010/06/15 17:09:09| Accepting intercepted HTTP connections at 0.0.0.0:8080, FD > 221. > 2010/06/15 17:09:09| Accepting ICP messages at [::]:3130, FD 222. > 2010/06/15 17:09:09| HTCP Disabled. > 2010/06/15 17:09:09| Squid modules loaded: 0 > 2010/06/15 17:09:09| Ready to serve requests. > 2010/06/15 17:09:09| Done reading /ramdisk1 swaplog (15 entries) > 2010/06/15 17:09:09| Done reading /ramdisk2 swaplog (16 entries) > 2010/06/15 17:09:09| Done reading /ramdisk3 swaplog (12 entries) > 2010/06/15 17:09:09| Done reading /ramdisk4 swaplog (18 entries) > 2010/06/15 17:09:09| Finished rebuilding storage from disk. > 2010/06/15 17:09:09| 61 Entries scanned > 2010/06/15 17:09:09| 0 Invalid entries. > 2010/06/15 17:09:09| 0 With invalid flags. > 2010/06/15 17:09:09| 61 Objects loaded. > 2010/06/15 17:09:09| 0 Objects expired. > 2010/06/15 17:09:09| 0 Objects cancelled. > 2010/06/15 17:09:09| 0 Duplicate URLs purged. > 2010/06/15 17:09:09| 0 Swapfile clashes avoided. > 2010/06/15 17:09:09| Took 0.01 seconds (8181.33 objects/sec). > 2010/06/15 17:09:09| Beginning Validation Procedure > 2010/06/15 17:09:09| Completed Validation Procedure > 2010/06/15 17:09:09| Validated 147 Entries > 2010/06/15 17:09:09| store_swap_size = 528 > 2010/06/15 17:09:10| storeLateRelease: released 0 objects > > > > > > > ----- Original Message ---- > From: Jamie Cameron <jca...@we...> > To: Webmin users list <web...@li...> > Sent: Tue, June 15, 2010 4:14:58 PM > Subject: Re: [webmin-l] Bug Under "Server" "Squid proxy server" "Module Config" > > On 15/Jun/2010 12:23 Sart Cole <sar...@ya...> wrote .. > > Hi, > > > > Under "Server" "Squid proxy server" "Module Config" I enter a "Command to start > > squid" and a "Command to stop squid" > > When I clic "Stop Squid" squid will stop, but when I clic "Start Squid" > > webmin will execute the "Command to start squid" > > and immediately execute the "Command to stop squid" ... so squid will never > > start. > > That happens if Webmin detects that the squid start command has failed. > > What exact error message does it output in this case? > > - Jamie > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |