نمایش نتایج: از شماره 1 تا 3 از مجموع 3
سپاس ها 2سپاس
  • 1 توسط M-r-r
  • 1 توسط Naderpour

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

  
  1. #1
    نام حقيقي: Amir

    عضو غیر فعال
    تاریخ عضویت
    Jan 2008
    نوشته
    14
    سپاسگزاری شده
    0
    سپاسگزاری کرده
    8

    مشکل با squid

    سلام
    من squid را نصب کردم اما موقع ران کردنش
    کد:
    ]# squid service start
    2009/07/02 18:45:30| parseConfigFile: line 78 unrecognized: 'httpd_accel_host virtual'
    2009/07/02 18:45:30| parseConfigFile: line 79 unrecognized: 'httpd_accel_port 80'
    2009/07/02 18:45:30| parseConfigFile: line 80 unrecognized: 'httpd_accel_with_proxy on'
    2009/07/02 18:45:30| parseConfigFile: line 81 unrecognized: 'httpd_accel_uses_host_header on'
    2009/07/02 18:45:30| Squid is already running!  Process ID 6671
    این خطوط را مینویسه علتش را نمیدونم راستی کانفیگ منم هست
    کد:
    http_port 3128
    icp_port 3130
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY
    cache_mem 64 MB
    memory_pools on
    maximum_object_size 128 MB
    minimum_object_size 0 KB
    maximum_object_size_in_memory 128 KB
    cache_dir diskd /var/spool/squid 3000 16 256 Q1=64 Q2=72
    coredump_dir /var/spool/squid
    cache_access_log /var/log/squid/access.log
    cache_store_log /var/log/squid/store.log
    cache_log /var/log/squid/cache.log
    ftp_user Info@Squid-Cache.org
    refresh_pattern ^ftp: 1440 40% 10080
    refresh_pattern ^gopher: 1440 20% 1440
    refresh_pattern . 0 50% 4320
    quick_abort_min 64 KB
    quick_abort_max 512 KB
    quick_abort_pct 70%
    negative_ttl 5 minutes
    connect_timeout 2 minutes
    read_timeout 15 minutes
    request_timeout 30 seconds
    shutdown_lifetime 10 seconds
    acl nimda1 urlpath_regex -i \.elm$
    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.id
    acl nimda7 urlpath_regex -i :25
    #################################################
    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 local src 217.219.225.0/24
    acl SSL_ports port 443 563
    acl Safe_ports port 80 # http
    acl Safe_ports port 21 # ftp
    acl Safe_ports port 443 563 # https, snews
    acl Safe_ports port 70 # gopher
    acl Safe_ports port 210 # wais
    acl Safe_ports port 1025-65535 # unregistered ports
    acl Safe_ports port 280 # http-mgmt
    acl Safe_ports port 488 # gss-http
    acl Safe_ports port 591 # filemaker
    acl Safe_ports port 777 # multiling http
    acl Safe_ports port 901 # SWAT
    acl purge method PURGE
    acl CONNECT method CONNECT
    #################################################
    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 nimda7
    #################################################
    http_access allow manager localhost
    http_access deny manager
    http_access allow purge localhost
    http_access deny purge
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access allow localhost
    http_access allow local
    http_access deny all
    icp_access allow all
    #################################################
    cache_mgr Metal_S2004@Yahoo.Com
    cache_effective_user squid
    cache_effective_group squid
    visible_hostname Cache
    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on
    logfile_rotate 3
    forwarded_for on
    emulate_httpd_log off
    log_fqdn off
    acl snmppublic snmp_community public
    snmp_access allow snmppublic localhost
    snmp_access deny all
    snmp_incoming_address 0.0.0.0
    snmp_outgoing_address 255.255.255.255
    ممنون میشم کمک کنید




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

  2. #2
    نام حقيقي: محمد رسول راستی

    مدیر عمومی شناسه تصویری M-r-r
    تاریخ عضویت
    Feb 2004
    محل سکونت
    تهران
    نوشته
    9,486
    سپاسگزاری شده
    4309
    سپاسگزاری کرده
    2706
    اسکوئید اجرا میشه، سطر آخر هم که گفته : Squid is Already running

    در خصوص خطاهایی که میگیرید از اینجا کمک بگیرید : squid : Optimising Web Delivery


    Xfise سپاسگزاری کرده است.
    Mohammad Rasoul Rasti
    There's no place like 127.0.0.1
    m.rasti [@] outlook.com

  3. #3
    نام حقيقي: naderpour

    خواننده
    تاریخ عضویت
    Aug 2008
    محل سکونت
    جاده ابریشم
    نوشته
    742
    سپاسگزاری شده
    381
    سپاسگزاری کرده
    245
    این خطوط رو حذف کنید :

    کد:
    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on



    Xfise سپاسگزاری کرده است.

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

مشکل با squid

parseConfigFile: line 9 unrecognized: squid visible_hostname مشکل

مشکل visible_hostname

refresh_pattern اسکویید کد

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

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

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