Dear NAsser salm in neshoon mideh porte 3128 shoma ownere digei dareh. masalan root. In yek joor bug ham ast. avvalan system ro az harchi squide paak kon. ba 2.6 dobareh shoroo kon. moshkel hal mishe man ghablan ino roo ubuntu bsd dashtam. kheili ham ba owner haa var raftam, akharesh avazesh kardam hal shod. vali ghablesh donbale squid begard, makhsoosan age too nasb squid nasb shode, badesham khodet nasb kardi dobaareh ... On 5/5/07, Nasser Malakooti <malakooti@xxxxxxxxxxx> wrote:
Hi My OS is Redhat enterprise 4 AS.My Squid is squid-2.5.STABLE6-3.4E.11. I do following task. [root@localhost ~]# service squid status squid is stopped [root@localhost ~]# service squid start Starting squid: [FAILED] [root@localhost ~]# service squid status squid is stopped [root@localhost ~]# squid [root@localhost ~]# squid [root@localhost ~]# squid 2007/05/05 08:19:10| Squid is already running! Process ID 16226 now I see log files access.log is empety store.log is empety but in cache.log exist following text 2007/05/05 08:19:01| Starting Squid Cache version 2.5.STABLE6 for i386- redhat-linux-gnu... 2007/05/05 08:19:01| Process ID 16226 2007/05/05 08:19:01| With 1024 file descriptors available 2007/05/05 08:19:01| Performing DNS Tests... 2007/05/05 08:19:02| Starting Squid Cache version 2.5.STABLE6 for i386- redhat-linux-gnu... 2007/05/05 08:19:02| Process ID 16230 2007/05/05 08:19:02| With 1024 file descriptors available 2007/05/05 08:19:02| Performing DNS Tests... 2007/05/05 08:19:01| Successful DNS name lookup tests... 2007/05/05 08:19:01| DNS Socket created at 0.0.0.0, port 32771, FD 4 2007/05/05 08:19:01| Adding nameserver 194.225.90.4 from /etc/resolv.conf 2007/05/05 08:19:01| Adding nameserver 4.2.2.3 from /etc/resolv.conf 2007/05/05 08:19:01| User-Agent logging is disabled. 2007/05/05 08:19:01| Referer logging is disabled. 2007/05/05 08:19:01| Unlinkd pipe opened on FD 9 2007/05/05 08:19:01| Swap maxSize 2048000 KB, estimated 157538 objects 2007/05/05 08:19:01| Target number of buckets: 7876 2007/05/05 08:19:01| Using 8192 Store buckets 2007/05/05 08:19:01| Max Mem size: 174080 KB 2007/05/05 08:19:01| Max Swap size: 2048000 KB 2007/05/05 08:19:01| Rebuilding storage in /cache/ (CLEAN) 2007/05/05 08:19:01| Using Least Load store dir selection 2007/05/05 08:19:01| Current Directory is /root 2007/05/05 08:19:01| Loaded Icons. 2007/05/05 08:19:03| Accepting HTTP connections at 0.0.0.0, port 3128, FD 10. 2007/05/05 08:19:03| Accepting ICP messages at 0.0.0.0, port 3130, FD 11. 2007/05/05 08:19:03| WCCP Disabled. 007/05/05 08:19:03| Ready to serve requests. 2007/05/05 08:19:02| Successful DNS name lookup tests... 2007/05/05 08:19:02| DNS Socket created at 0.0.0.0, port 32772, FD 4 2007/05/05 08:19:02| Adding nameserver 194.225.90.4 from /etc/resolv.conf 2007/05/05 08:19:02| Adding nameserver 4.2.2.3 from /etc/resolv.conf 2007/05/05 08:19:02| User-Agent logging is disabled. 2007/05/05 08:19:02| Unlinkd pipe opened on FD 9 2007/05/05 08:19:02| Swap maxSize 2048000 KB, estimated 157538 objects 2007/05/05 08:19:02| Target number of buckets: 7876 2007/05/05 08:19:02| Using 8192 Store buckets 2007/05/05 08:19:02| Max Mem size: 174080 KB 2007/05/05 08:19:02| Max Swap size: 2048000 KB 2007/05/05 08:19:02| Rebuilding storage in /cache/ (DIRTY) 2007/05/05 08:19:02| Using Least Load store dir selection 2007/05/05 08:19:02| Current Directory is /root 2007/05/05 08:19:02| Loaded Icons. 2007/05/05 08:19:04| commBind: Cannot bind socket FD 10 to *:3128: (98) Addressalready in use FATAL: Cannot open HTTP Port Squid Cache (Version 2.5.STABLE6): Terminated abnormally. CPU Usage: 0.017 seconds = 0.012 user + 0.005 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 Memory usage for squid via mallinfo(): total space in arena: 2128 KB Ordinary blocks: 2091 KB 2 blks Small blocks: 0 KB 1 blks Holding blocks: 200 KB 1 blks Free Small blocks: 0 KB Free Ordinary blocks: 36 KB Total in use: 2291 KB 108% Total free: 36 KB 2% 2007/05/05 08:19:04| Done scanning /cache/ swaplog (0 entries) 2007/05/05 08:19:04| Finished rebuilding storage from disk. 2007/05/05 08:19:04| 0 Entries scanned 2007/05/05 08:19:04| 0 Invalid entries. 2007/05/05 08:19:04| 0 With invalid flags. 2007/05/05 08:19:04| 0 Objects loaded. 2007/05/05 08:19:04| 0 Objects expired. 2007/05/05 08:19:04| 0 Objects cancelled. 2007/05/05 08:19:04| 0 Duplicate URLs purged. 2007/05/05 08:19:04| 0 Swapfile clashes avoided. 2007/05/05 08:19:04| Took 3.0 seconds ( 0.0 objects/sec). 2007/05/05 08:19:04| Beginning Validation Procedure 2007/05/05 08:19:04| Completed Validation Procedure 2007/05/05 08:19:04| Validated 0 Entries 2007/05/05 08:19:04| store_swap_size = 0k 2007/05/05 08:19:04| storeLateRelease: released 0 objects On Wed, 2007-05-02 at 15:00 +0200, Markus.Rietzler@xxxxxxxxxxxxxx wrote: > >> I restart My OP system . now I use squid command.anything apeared but > >> when I enter squid command for start it squid is allredy running show > >> me. > >> > > could it be, that there is already a squid-version from your > distribution running? > so both - that from your distribution and your squd - will try to use > the same port? > > have a look in cache.log, access.log etc... > > > markus >
-- Best Regards NIMA SADEGHIAN