Dear all
my squid already back to normal. Thanks a lot for your clue and suggestions
[root@its-lnx02 ~]# /usr/local/squid/sbin/squid -DNYCd3
2006/06/07 08:20:35| Starting Squid Cache version 2.5.STABLE13 for
i686-pc-linux-gnu...
2006/06/07 08:20:35| Process ID 9420
2006/06/07 08:20:35| With 1024 file descriptors available
2006/06/07 08:20:35| DNS Socket created at 0.0.0.0, port 1407, FD 4
2006/06/07 08:20:35| Adding nameserver 202.171.1.2 from squid.conf
2006/06/07 08:20:35| Adding nameserver 202.171.1.18 from squid.conf
2006/06/07 08:20:35| Unlinkd pipe opened on FD 9
2006/06/07 08:20:35| Swap maxSize 512000 KB, estimated 39384 objects
2006/06/07 08:20:35| Target number of buckets: 1969
2006/06/07 08:20:35| Using 8192 Store buckets
2006/06/07 08:20:35| Max Mem size: 32768 KB
2006/06/07 08:20:35| Max Swap size: 512000 KB
2006/06/07 08:20:35| Store logging disabled
2006/06/07 08:20:35| /usr/local/squid/var/logs/cache/swap.state: (13)
Permission denied
FATAL: storeAufsDirOpenSwapLog: Failed to open swap log.
Aborted
[root@its-lnx02 ~]# chmod 777 /usr/local/squid/var/logs/cache/swap.state
[root@its-lnx02 ~]# /usr/local/squid/sbin/squid -DNYCd3
On 6/6/06, eko rusdyanto <ekorusdyanto@gmail.com> wrote:
> Dear all
> i've run squid on centos4.2 for several month. but by accident i
> remove squid.pid.
> i've read in squid FAQ for this issue, and run all the suggestion,
> but it didn't work
>
> [root@its-lnx02 ~]# ps ax | grep squid
> You have new mail in /var/spool/mail/root
> [root@its-lnx02 ~]# /usr/local/squid/sbin/squid -k reconfigure
> squid: ERROR: No running copy
> [root@its-lnx02 ~]# /usr/local/squid/sbin/squid
> You have new mail in /var/spool/mail/root
> [root@its-lnx02 ~]# /usr/local/squid/sbin/squid -k reconfigure
> squid: ERROR: No running copy
> [root@its-lnx02 ~]# ps ax | grep squid
> 7039 ? Ss 0:00 /usr/local/squid/sbin/squid
> 7099 pts/1 S+ 0:00 grep squid
> [root@its-lnx02 ~]# echo 7039 > /usr/local/squid/var/logs/squid.pid
> [root@its-lnx02 ~]# /usr/local/squid/sbin/squid -k reconfigure
> squid: ERROR: Could not send signal 1 to process 7039: (3) No such process
> [root@its-lnx02 ~]# echo 7099 > /usr/local/squid/var/logs/squid.pid
> You have new mail in /var/spool/mail/root
> [root@its-lnx02 ~]# /usr/local/squid/sbin/squid -k reconfigure
> squid: ERROR: Could not send signal 1 to process 7099: (3) No such process
> [root@its-lnx02 ~]# locate squid.pid
> warning: locate: warning: database /var/lib/slocate/slocate.db' is
> more than 8 days old
> /usr/local/squid/var/logs/squid.pid
> You have new mail in /var/spool/mail/root
> [root@its-lnx02 ~]#
>
> can anyone give me the suggestion ? i'll be apreciate it
>
> best regards
>
Received on Tue Jun 06 2006 - 19:36:52 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:01 MDT