[root@localhost ~]# pgrep squid
[root@localhost ~]#
NOT RUNNING SQUID
FIRST check LOGS using command
df -h
(if show 100 %)
like
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.8G 2.8G 893M 100% /
/dev/sda3 3.4G 2M 3.2G 3% /home
First Move TO
[root@localhost ~]# cd /var/log/squid
then Type
[root@localhost squid]# echo " " > access.log
[root@localhost squid]# echo " " > cache.log
[root@localhost squid]# echo " " > store.log
AND ALSO REMOVE MAIL'S LOGS using this command
MOVE TO
[root@localhost ~]# cd /var/spool/mail/
then Type
[root@localhost mail]# rm * -rf
NOW YOU SEE
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.8G 2.8G 893M 70% /
/dev/sda3 3.4G 2M 3.2G 3% /home
First start SQUID
[root@localhost ~]# squid
or
[root@localhost ~]# service squid start
Starting squid: . [ OK ]
AND YOU CAN SEE
[root@localhost ~]# pgrep squid
6338
6340
Enjoy now your squid don't stop automatically, (if not other reason)
[root@localhost ~]# squid
or
[root@localhost ~]# service squid start
Starting squid: . [ OK ]
AND YOU CAN SEE
[root@localhost ~]# pgrep squid
6338
6340
Enjoy now your squid don't stop automatically, (if not other reason)
0 comments:
Post a Comment