Squid

Pavlos Parissis p_pavlos at otenet.gr
Fri Feb 16 00:29:01 EET 2001


Hello all,
Exw valei to squid-2.3.STABLE1-5 sto systhma mou(RedHat 6.2) edw kai merikes meres alla kati den pai kala.
Nai men katalavenw oti einai up kai doulevei apo to gegonos oti iparxh sta processes mou kai sto 
/var/log/squid/cache.log grafei oti trexei kai ta sxetika,kathws epishs oti oti sto /var/log/squid/store.log
grafeis ta site pou mpainw alla den vlepw diafora sthn speed meta apo reset tou pc!
Ekana to test me to /usr/sbin/client pou lei o guide kai pali edeikse oti doulevei.
To einai eina afto to allo einai oti otan eimai netscape prepei na dwsw 2 fores to site gia na mpw thn prwth lei oti 

The document contained no data.
Try again later, or contact the server's administrator

kai thn defterh kati allo me to network den thimame akrivos ti kai me thn triti mpainei.
Afto einai mikro provlima alla to prwto einai megalo:(


Exw san cache_dir = /usr/local/squid_cache.
Psaxnwntas sto /etc/rc.d/init.d/squid eida to kommati sto start section:

    echo -n "Starting $SQUID: "
    for adir in $CACHE_SWAP; do
        if [ ! -d $adir/00 ]; then
             echo -n "init_cache_dir $adir... "
             $SQUID  -z -F 2>/dev/null
        fi
    done
 
afto to "-z" re paidia ti douleia exei?
afou simfwna me to QUICKSTART file , guides kai FAQ tou squid trexeis MONO thn prwth fora to squid me -z flag gia na ftiaksei to cache dir kai meta den to ksana trexeis, ta lew kala? Allwste logiko den einai, an ksana ftiaxneis to cache dir xaneis to prohgoumeno, efoson einai to idio dir.

kanw ena test,katevazw mia seliva me to client tou squid kai meta tin vlepw mesw cache.
kanw restart to daemon kai client tin idia page kai selida den eida.
dinwntas kai ls -l /usr/local/ vlepw pws to dir squid_cache exei date-time thn hmera pou kanw to test kai time liga lepta prin!
OX lew afto pou ipopsiazomai ginete ontos.
meta kanw stop ton daemon.
Trexw twra manual dinontas /usr/sbin/squid -D
kai pali client kai ta sxetika kanw restart to daemon manual kai pali client kai to site to eida!
tsekarw kai to dir ti date exei kai den eixe allaksh.
Wraia lew thn vrika tin lisi.
Paw twra sto /etc/rc.d/init.d/squid kai vazw # sti lines

 echo -n "Starting $SQUID: "
    for adir in $CACHE_SWAP; do
        if [ ! -d $adir/00 ]; then
             echo -n "init_cache_dir $adir... "
             $SQUID  -z -F 2>/dev/null
        fi
    done
trexw dinw restart kai meta vlepw pws ksana ftiaxnei to dir!
ksana restart alla pali ta idia, ta nevra mou lew kai arxizw na ta pernw eimai kai fresko xeirourgimenws kai tha pathw tipota.
Vgazw ta # kai to -z kai pali reset kai pali ksana ftiaxnei to dir!!!!!!!!
eeeeee afto htan ksana mpainw sto xeirorgio den antexw allo:)

Peritw na pw pws exw diavasei arketes fores to quide alla kai ta faq kai den anaferoun tipota.
malista lene pws mia aplh grammh se ena apo ta rc.* ftanei gia na sikwthei kai oti den xreiazete "&" dioti einai daemon apo monos tou,afto to teleftaio me psilo koufane alla tha einai lew apo thn empevasi sto kefali pou ekana ee olo kati tha efige apo th thesi tou:)

Katalave kanenas tipota?
An nai as mou ekseighsh kai emena dioti egw se nosokomeio den ksana mpainw.

Pavlos

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I love having the feeling of being in control
while i have the sensation of speed

The surfer of life
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the Linux-greek-users mailing list