Re: [squid-users] Help Me Please

From: Tek Bahadur Limbu <teklimbu@dont-contact.us>
Date: Wed, 2 May 2007 18:24:59 +0545

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 02 May 2007 14:31:58 +0430
naser <malakooti@acecr.ac.ir> wrote:

> Hi,
> who can I help? what is my Problem?
>
> I am a New user in linux, My OP System is Redhat Enterprise 4 ,I want
> run Squit in our Network , But
> When I want Run squit by service squit start ,Failed Show me .
> and when enter squid command
> squid is stopped
> you have new mail in /var/spool/mail/root
> apeared.
>
> 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.
>
>
> [root@localhost ~]# squid -N -d1
>
> 2007/05/02 13:05:24| Starting Squid Cache version 2.5.STABLE6 for i386-
> redhat-linux-gnu...
> 2007/05/02 13:05:24| Process ID 4048
> 2007/05/02 13:05:24| With 1024 file descriptors available
> 2007/05/02 13:05:24| Performing DNS Tests...
> 2007/05/02 13:05:24| Successful DNS name lookup tests...
> 2007/05/02 13:05:24| DNS Socket created at 0.0.0.0, port 32769, FD 4
> 2007/05/02 13:05:24| Adding nameserver 194.225.90.4
> from /etc/resolv.conf
> 2007/05/02 13:05:24| Adding nameserver 4.2.2.3 from /etc/resolv.conf
> 2007/05/02 13:05:24| User-Agent logging is disabled.
> 2007/05/02 13:05:24| Referer logging is disabled.
> 2007/05/02 13:05:24| Unlinkd pipe opened on FD 9
> 2007/05/02 13:05:24| Swap maxSize 2048000 KB, estimated 157538 objects
> 2007/05/02 13:05:24| Target number of buckets: 7876
> 2007/05/02 13:05:24| Using 8192 Store buckets
> 2007/05/02 13:05:24| Max Mem size: 174080 KB
> 2007/05/02 13:05:24| Max Swap size: 2048000 KB
> 2007/05/02 13:05:24| Rebuilding storage in /cache/ (CLEAN)
> 2007/05/02 13:05:24| Using Least Load store dir selection
> 2007/05/02 13:05:24| Current Directory is /root
> 2007/05/02 13:05:24| Loaded Icons.
> 2007/05/02 13:05:26| Accepting HTTP connections at 0.0.0.0, port 3128,
> FD 10.
> 2007/05/02 13:05:26| Accepting ICP messages at 0.0.0.0, port 3130, FD
> 11.
> 2007/05/02 13:05:26| WCCP Disabled.
> 2007/05/02 13:05:26| Ready to serve requests.
> 2007/05/02 13:05:26| Done scanning /cache/ swaplog (0 entries)
> 2007/05/02 13:05:26| Finished rebuilding storage from disk.
> 2007/05/02 13:05:26| 0 Entries scanned
> 2007/05/02 13:05:26| 0 Invalid entries.
> 2007/05/02 13:05:26| 0 With invalid flags.
> 2007/05/02 13:05:26| 0 Objects loaded.
> 2007/05/02 13:05:26| 0 Objects expired.
> 2007/05/02 13:05:26| 0 Objects cancelled.
> 2007/05/02 13:05:26| 0 Duplicate URLs purged.
> 2007/05/02 13:05:26| 0 Swapfile clashes avoided.
> 2007/05/02 13:05:26| Took 2.5 seconds ( 0.0 objects/sec).
> 2007/05/02 13:05:26| Beginning Validation Procedure
> 2007/05/02 13:05:26| Completed Validation Procedure
> 2007/05/02 13:05:26| Validated 0 Entries
> 2007/05/02 13:05:26| store_swap_size = 0k
> 2007/05/02 13:05:27| storeLateRelease: released 0 objects
> 2007/05/02 13:27:21| Preparing for shutdown after 0 requests
> 2007/05/02 13:27:21| Waiting 0 seconds for active connections to finish
> 2007/05/02 13:27:21| FD 10 Closing HTTP connection
> 2007/05/02 13:27:23| Shutting down...
> 2007/05/02 13:27:23| FD 11 Closing ICP connection
> 2007/05/02 13:27:23| Closing unlinkd pipe on FD 9
> 2007/05/02 13:27:23| aioSync: flushing pending I/O operations
> 2007/05/02 13:27:23| aioSync: done
> 2007/05/02 13:27:23| storeDirWriteCleanLogs: Starting...
> 2007/05/02 13:27:23| Finished. Wrote 0 entries.
> 2007/05/02 13:27:23| Took 0.0 seconds ( 0.0 entries/sec).
> 2007/05/02 13:27:23| aioSync: flushing pending I/O operations
> 2007/05/02 13:27:23| aioSync: done
> 2007/05/02 13:27:23| aioSync: flushing pending I/O operations
> 2007/05/02 13:27:23| aioSync: done
>
> config file dont have problem because squid -k pars anything show me.

Hi Naser,

I think that the problem could be due to permissions. Under which user and group are you trying to start Squid?

Also check your relevant configuration for access.log, cache.log and store.log.

If possible, try to send us your squid.conf file for further investigation.

Your version of Squid 2.5.STABLE6 seems to be quite old but that does not mean that your old version is actually causing the problem.

I really suggest you to download and compile the latest source file from:
 
http://www.squid-cache.org/Versions/v2/2.6/

Have a nice time debugging Squid :)

>
>
>

- --

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

http://www.wlink.com.np
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFGOIafVrOl+eVhOvYRApAIAKCW7E69TlVKFw3qiChJcI+zKJbcdgCfXDtm
e6A5ax5ujNARv/XDQmfqR1w=
=M4xN
-----END PGP SIGNATURE-----
Received on Wed May 02 2007 - 06:40:23 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:04 MDT