cikguyob 0 Report post Posted June 29, 2007 Assalamualaikum..kawan2..mf la..kalo soalan ni...agak mudah dijawab..apapun..aku ni budak baru belajar..aku install Fedora Core 6Masalah 1:bila aku run squid -z , squid bgth :parseConfigFile : Line 33 unrecognized no_cache allow intrawebparseConfigFile : Line 34 unrecognized no_query deny QUERYSquid Cache (Version 2.6.Stable 4) : Terminated abnormallyMasalah 2:bila aku run service squid start . kuar ini pula :init_cache_dir /var/cache01.. Starting Squid : [FAILED]Masalah 3 :dalam linux,,kat mana fail language English ?Harap dapat bantu.. Quote Share this post Link to post Share on other sites
cikguyob 0 Report post Posted June 30, 2007 aik...x ada kawan2 reply.mgkin x phm soalan ni,,rasanya..problem still yang sama berlaku.Probelm 1 : [root@cachetest ~]# squid -z Fatal:Bungled squid.conf line 28: acl Safe_ports port 80 21 443 563 70 210 1025-66535 280 488 Squid Cache (Version 2.6.STABLE4): Terminated abnormally.knp jadi mcm tu? dh try cari penyelesaian..x jumpa2 lagi,,Problem 2 :dalam linux,,kat mana fail language English ?saya cari smlm..x jumpa2 juga..Problem 3: [root@cachetest ~]# service squid start init_cache_dir /var/cache01... Starting squid: [FAILED]apa punca masalah ini berlaku.harap,,kawan2..dapat tolong ye..dah poning kepala den ni.. Quote Share this post Link to post Share on other sites
TRUNASUCI 15 Report post Posted July 10, 2007 Assalamualaikum..kawan2..mf la..kalo soalan ni...agak mudah dijawab..apapun..aku ni budak baru belajar..aku install Fedora Core 6Masalah 1:bila aku run squid -z , squid bgth :parseConfigFile : Line 33 unrecognized no_cache allow intrawebparseConfigFile : Line 34 unrecognized no_query deny QUERYSquid Cache (Version 2.6.Stable 4) : Terminated abnormallyMasalah 2:bila aku run service squid start . kuar ini pula :init_cache_dir /var/cache01.. Starting Squid : [FAILED]Masalah 3 :dalam linux,,kat mana fail language English ?Harap dapat bantu.. Quote Share this post Link to post Share on other sites
cikguyob 0 Report post Posted July 10, 2007 Assalamualaikum,,,mr..moderator..sori la..kalo x phm soalan..masalah2 aku tu,,dah selesai... squid.conf tu,saku copy/paste/edit...so far...skrip tu...masa wt tesis dulu..aku dah buat balik..cache server tu...1 problem pula...dia kuar mcm ni,,[root@cacheserver squid]# service squid restartStopping squid: [FAILED]Starting squid: /etc/init.d/squid: line 53: 3268 Aborted $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1 [FAILED]aku dah chkconfig squid on. tapi still kuar masalah, mcm di atas.knp jadi mcm tu? perlu ke aku ubah sesuatu pada line 53 tu..? Quote Share this post Link to post Share on other sites
TRUNASUCI 15 Report post Posted July 11, 2007 Assalamualaikum,,,mr..moderator..sori la..kalo x phm soalan..masalah2 aku tu,,dah selesai... squid.conf tu,saku copy/paste/edit...so far...skrip tu...masa wt tesis dulu..aku dah buat balik..cache server tu...1 problem pula...dia kuar mcm ni,,[root@cacheserver squid]# service squid restartStopping squid: [FAILED]Starting squid: /etc/init.d/squid: line 53: 3268 Aborted $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1 [FAILED]aku dah chkconfig squid on. tapi still kuar masalah, mcm di atas.knp jadi mcm tu? perlu ke aku ubah sesuatu pada line 53 tu..?so masa squid start, ia akan refer kat squid.conf.. so ada error kat line 53.. check apa syntax dia paste kat sini..chkconfig tu, actually bukan "checking config file" tapi tuh nak setkan squid run masa runlevel tertentu.. dalam kes ni normally run masa boot.. so error tetap error gak.. chkconfig takde kaitan... Quote Share this post Link to post Share on other sites
cikguyob 0 Report post Posted July 12, 2007 so masa squid start, ia akan refer kat squid.conf.. so ada error kat line 53.. check apa syntax dia paste kat sini..chkconfig tu, actually bukan "checking config file" tapi tuh nak setkan squid run masa runlevel tertentu.. dalam kes ni normally run masa boot.. so error tetap error gak.. chkconfig takde kaitan...salam..mr..check dulu..kalo x phm dan silap syntax...bgth aku..aku rasa problem kat sini..:)ini syntax yang problem tu. for start :"start() { <--from line 53 for adir in $CACHE_SWAP; do if [ ! -d $adir/00 ]; then echo -n "init_cache_dir $adir... " $SQUID -z -F -D >> /var/log/squid/squid.out 2>&1 fi done echo -n $"Starting $prog: " $SQUID $SQUID_OPTS >> /var/log/squid/squid.out 2>&1 RETVAL=$? if [ $RETVAL -eq 0 ]; then timeout=0; while : ; do [ ! -f /var/run/squid.pid ] || break if [ $timeout -ge $SQUID_PIDFILE_TIMEOUT ]; then RETVAL=1 break fi sleep 1 && echo -n "." timeout=$((timeout+1)) done fi [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SQUID [ $RETVAL -eq 0 ] && echo_success [ $RETVAL -ne 0 ] && echo_failure echo return $RETVAL}" Quote Share this post Link to post Share on other sites
TRUNASUCI 15 Report post Posted July 12, 2007 salam..mr..check dulu..kalo x phm dan silap syntax...bgth aku..aku rasa problem kat sini..:)ini syntax yang problem tu. for start :"start() { <--from line 53 for adir in $CACHE_SWAP; do if [ ! -d $adir/00 ]; then echo -n "init_cache_dir $adir... " $SQUID -z -F -D >> /var/log/squid/squid.out 2>&1 fi done echo -n $"Starting $prog: " $SQUID $SQUID_OPTS >> /var/log/squid/squid.out 2>&1 RETVAL=$? if [ $RETVAL -eq 0 ]; then timeout=0; while : ; do [ ! -f /var/run/squid.pid ] || break if [ $timeout -ge $SQUID_PIDFILE_TIMEOUT ]; then RETVAL=1 break fi sleep 1 && echo -n "." timeout=$((timeout+1)) done fi [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SQUID [ $RETVAL -eq 0 ] && echo_success [ $RETVAL -ne 0 ] && echo_failure echo return $RETVAL}"pelik kes ko nieh..normally file nih org tak usik apa2.. lepas ko install, samada dr source atau dr pkg ( rpm ke apa ) automatik ada file nih.. untuk running squid tu..yg kita usik pun squid.conf je.. masalahnya.. ko kene jawap terusterang:1- ko install pakai source tarballs atau pakai pkg (rpm etc2)?2- ada ko godek ke file nih?3- squid.conf ko dah ok ke? pasal apa2 pun usik squid.conf je.. lain2 jgn usik.. then try run.. check2 apa2 pun kat squid.conf.. kalau dah terusik kat rc script nih, leceh woooo.. Quote Share this post Link to post Share on other sites
cikguyob 0 Report post Posted July 12, 2007 pelik kes ko nieh..normally file nih org tak usik apa2.. lepas ko install, samada dr source atau dr pkg ( rpm ke apa ) automatik ada file nih.. untuk running squid tu..yg kita usik pun squid.conf je.. masalahnya.. ko kene jawap terusterang:1- ko install pakai source tarballs atau pakai pkg (rpm etc2)?2- ada ko godek ke file nih?3- squid.conf ko dah ok ke? pasal apa2 pun usik squid.conf je.. lain2 jgn usik.. then try run.. check2 apa2 pun kat squid.conf.. kalau dah terusik kat rc script nih, leceh woooo..aku jawap..ni1. pakai rpm (masa install fedora core,wt customize kat situ)2. blum lagi..3. mgkin aku kena check lagi...tq,,bg guide... Quote Share this post Link to post Share on other sites
cikguyob 0 Report post Posted July 16, 2007 Assalamualaikum..mr...moderator,,aku dah try...check balik squid.conf..mmg x ada masalah..so aku try..delete..pada baris ini$SQUID -z -F -D >> /var/log/squid/squid.out 2>&1 <- saya delete baris ini.so...bila aku taip...service squid start..[on]tapi..1 problem..pulabila restart server...squid x nk jalan..service squid [on]bila aku taip squid -D (disable dns test)adakah...service squid itu akan berjalan setelah dns test ok? Quote Share this post Link to post Share on other sites
TRUNASUCI 15 Report post Posted July 17, 2007 Assalamualaikum..mr...moderator,,aku dah try...check balik squid.conf..mmg x ada masalah..so aku try..delete..pada baris ini$SQUID -z -F -D >> /var/log/squid/squid.out 2>&1 <- saya delete baris ini.so...bila aku taip...service squid start..[on]tapi..1 problem..pulabila restart server...squid x nk jalan..service squid [on]bila aku taip squid -D (disable dns test)adakah...service squid itu akan berjalan setelah dns test ok?nih mcm dah "pening" sket squid tu..so kerana ko pakai RPM, senang sikit la.. uninstall squid.. delete rc script squid tu.. install balik.. make sure rc script tu ada.. biarkan jangan usik apa2..backup squid.conf default kat /etc/squid/ dan godek semula.. rasanya dah banyak mende "lari".. then try restart balik.. check cache_dir punya path pastikan wujud.. dah tuh try2 run la ( rasanya ko pun tau )..for run masa boot tuh, check kat rc.d ( rc3.d atau rc5.d ) make sure squid punya ada kat dalam tu.. nih untuk runlevel 3/5.. Quote Share this post Link to post Share on other sites