نمایش نتایج: از شماره 1 تا 8 از مجموع 8

موضوع: مشکل با Squid

  
  1. #1
    نام حقيقي: A.G

    خواننده شناسه تصویری adel28
    تاریخ عضویت
    Aug 2006
    محل سکونت
    ایران
    نوشته
    813
    سپاسگزاری شده
    180
    سپاسگزاری کرده
    192

    Icon14 مشکل با Squid

    سلام دوستان
    من یه مشکل داشتم می خواستم راهنمائیم کنین.
    من برای کش سرور از RedHAT استفاده میکنم و لی نمی دونم چرا یه مدته موقع بالا اومدن در مقابل Squid گزینه Failed داده میشه. در ضمن اینم بگم وقتی سیستم بالا اومد وقتی دستور Squid یا Squid -z رو میزنم میگه Squid رانه.

    وقتی دستور squid رو میزنم این پیغام میاد:

    squid is already running! process ID 4064.


    وقتی دستور squid -z رو میزنم این پیغام میاد:

    parse config file : line 233 unrecognized service squid start.

    parse config file : line 234 unrecognized chkconfig squid on.

    squid is already running! process ID 4064.


    در ضمن اینم بگم که کش من در حال حاضر داره کار میکنه!!!



    موضوعات مشابه:

  2. #2
    نام حقيقي: Alireza HBB

    عضو غیر فعال شناسه تصویری Alux
    تاریخ عضویت
    Jan 2006
    محل سکونت
    Tehran
    نوشته
    1,492
    سپاسگزاری شده
    286
    سپاسگزاری کرده
    399
    دوست عزیز

    پا فشاری شما در یاد گیری سرویس کش در لینوکس جای تحسین داره
    ولی احساس نمی کنی چیزی رو که اطلاعات جزئ هم نداری و یهو می خوای سرویس رو ران کنی دچار مشکل بشی؟
    مثلا همین بالا

    می دونی چه مشکلت چیه؟

    مشکلت اینه که دستورات لینوکس رو رفتی تو کانفیگ فایلت نوشتی

    service squid start
    chkconfig squid on

    اینا مال اسکویید نیست مال لینوکس شماست

    پیشنهاد من به شما خواندن کتاب orierlly در مورد اسکوید است

    اونطوری حدااقل می فهمی چی کار داری می کنی



  3. #3
    نام حقيقي: A.G

    خواننده شناسه تصویری adel28
    تاریخ عضویت
    Aug 2006
    محل سکونت
    ایران
    نوشته
    813
    سپاسگزاری شده
    180
    سپاسگزاری کرده
    192

    ...





  4. #4


    مسدود شده شناسه تصویری hyper
    تاریخ عضویت
    Mar 2005
    نوشته
    114
    سپاسگزاری شده
    14
    سپاسگزاری کرده
    40

    Squid

    با سلام

    دوست عزیز کانفیگ اسکوئید شما در خطوطی که نوشته شده اشکال داره و باید بازبینی بشه !!!
    کانفیگت رو بزار تا کمکت کنیم .

    parse config file : line 233 unrecognized service squid start.

    parse config file : line 234 unrecognized chkconfig squid on.
    .................................................. ....
    بای



  5. #5
    نام حقيقي: Peyman Yousefi

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    اینجا چه خبره



  6. #6
    نام حقيقي: A.G

    خواننده شناسه تصویری adel28
    تاریخ عضویت
    Aug 2006
    محل سکونت
    ایران
    نوشته
    813
    سپاسگزاری شده
    180
    سپاسگزاری کرده
    192
    این از کانفیگ:

    [php]
    #Cache Port
    http_port 3128
    icp_port 0
    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin ? login
    no_cache deny QUERY
    cache_mem 16 MB
    ipcache_size 2048
    fqdncache_size 10000
    ipcache_low 90
    ipcache_high 95
    #Cache Access Path & Log Files
    cache_dir aufs /cache1 4096 16 256
    cache_dir aufs /cache2 4096 16 256
    cache_access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log
    cache_store_log /var/log/squid/store.log

    #Dns Servers
    dns_nameservers 217.218.127.104 217.218.127.105 217.218.127.106 217.219.160.104
    emulate_httpd_log on

    # 2 Days
    refresh_pattern -i .(exe|gz|tar|tgz|zip|rar|arj|lzh|lha)$ 2880 20% 10080 reload-into-ims
    refresh_pattern ^ftp: 2880 20% 10080
    refresh_pattern ^gopher: 2880 0% 2880

    # 7 Days
    refresh_pattern -i .(htm|html|shtml|txt|thm|doc|xls|viv|)$ 1008 20% 12960 override-expire override-lastmod
    refresh_pattern -i .(mid|mp[234]|wav|mp3|m3u|cab|au|doc|ram|ra|rm|wrl|snd|sit|sea) $ 10080 90% 43200 override-expire override-lastmod

    # 15 Days
    refresh_pattern -i .(au|bmp|cs|class|doc|gif|jpeg|jpg|js|pdf|pic|png| mov|movie|xbm|swf|png|tif|tiff|mpg|mpeg|mpe|dat|ra s|qtm|qt|ps|ppt|pl|sw|swf|cab|txt)$ 21600 90% 129600 override-expire override-lastmod
    refresh_pattern -i . 0 95% 129600 override-expire override-lastmod
    acl all src 0.0.0.0/0.0.0.0
    acl manager proto cache_object
    acl localhost src 127.0.0.1/255.255.255.255
    acl allowedhosts1 src 192.168.20.1-192.168.20.254
    #acl allowedhosts2 src 217.219.162.1-217.219.162.254
    acl SSL_ports port 443 563
    acl Safe_ports port 80 21 443 563 70 210 1025-65535
    acl Safe_ports port 280
    acl Safe_ports port 488
    acl Safe_ports port 591
    acl Safe_ports port 777
    acl nimda1 urlpath_regex -i .eml$
    acl nimda2 urlpath_regex -i root.exe
    acl nimda3 urlpath_regex -i cmd.exe

    acl nimda4 urlpath_regex -i ^http://.*www
    acl nimda5 urlpath_regex -i readme.exe
    acl nimda6 urlpath_regex -i default.ida
    acl worm urlpath_regex -i :25
    acl CONNECT method CONNECT
    http_access allow manager localhost
    http_access allow allowedhosts1
    #http_access allow allowedhosts2
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny !SSL_ports
    http_access deny nimda1
    http_access deny nimda2
    http_access deny nimda3
    http_access deny nimda4
    http_access deny nimda5
    http_access deny nimda6
    http_access deny worm
    http_access deny all
    http_access deny CONNECT
    icp_access deny all
    miss_access allow all
    wccp_router 217.219.161....
    visible_hostname ghaeem
    cachemgr_passwd secret ghaeem
    cachemgr_passwd all
    cache_mgr cache.ghaeem.ertebat@gmail.com
    cache_effective_user squid
    cache_effective_group squid
    quick_abort_pct 60
    #client_lifetime 1 days
    #connect_timeout 180 seconds
    icp_query_timeout 0 seconds
    #ident_timeout 180 seconds
    #memory_pools on
    #memory_pools_limit 32 MB
    negative_dns_ttl 5 minutes
    negative_ttl 5 minutes
    #pconn_timeout 120 seconds
    #positive_dns_ttl 6 hours
    #read_timeout 15 minutes
    request_body_max_size 0 KB
    request_timeout 180 seconds
    shutdown_lifetime 180 seconds
    maximum_object_size 16000 KB
    minimum_object_size 0 KB
    maximum_object_size_in_memory 256 KB
    forwarded_for off
    log_icp_queries off
    icp_hit_stale on
    reload_into_ims on
    prefer_direct on
    ie_refresh on
    logfile_rotate 6
    half_closed_clients off
    cache_swap_low 80
    cache_swap_high 95

    #SNMP
    snmp_port 3401
    acl snmppublic snmp_community public
    snmp_access allow snmppublic all


    [/php]




  7. #7
    نام حقيقي: Peyman Yousefi

    عضو ویژه شناسه تصویری darklove
    تاریخ عضویت
    Oct 2005
    محل سکونت
    ABHAR
    نوشته
    3,330
    سپاسگزاری شده
    1005
    سپاسگزاری کرده
    318
    نوشته های وبلاگ
    7
    اسم Config مورد داره



  8. #8
    نام حقيقي: A.G

    خواننده شناسه تصویری adel28
    تاریخ عضویت
    Aug 2006
    محل سکونت
    ایران
    نوشته
    813
    سپاسگزاری شده
    180
    سپاسگزاری کرده
    192
    کسی نبود اشکال ما رو بگیره؟



کلمات کلیدی در جستجوها:

هیچ کلمه ای ثبت نشده است.

برچسب برای این موضوع

مجوز های ارسال و ویرایش

  • شما نمی توانید موضوع جدید ارسال کنید
  • شما نمی توانید به پست ها پاسخ دهید
  • شما نمی توانید فایل پیوست ضمیمه کنید
  • شما نمی توانید پست های خود را ویرایش کنید
  •