anyone please...?
On Sat, Mar 7, 2015 at 10:02 PM, Donny Vibianto <donny.vibianto@xxxxxxxxx> wrote:
Hi Guys,After two weeks successful running several authentication in my development environment with average 10-20 users, i encourage myself to put in my production. it was up and ran with +-1000 users but only took 3-5 hours then squid suddenly stopped with error:2015/03/06 15:07:59| negotiate_wrapper: fgets() failed! dying..... errno=1 (Operation not permitted)2015/03/06 15:07:59| negotiate_wrapper: fgets() failed! dying..... errno=1 (Operation not permitted)2015/03/06 15:07:59| negotiate_wrapper: fgets() failed! dying..... errno=1 (Operation not permitted)2015/03/06 15:07:59| negotiate_wrapper: Return 'AF oYG2MIGzoAMKAQChCwYJKoZIhvcSAQICooGeBIGbYIGYBgkqhkiG9xIBAgICAG+BiDCBhaADAgEFoQMCAQ+ieTB3oAMCARKicARupdwIysaz6zjRSqsI8V4K0X67z4t5a9aOT7WPlyWRrp+1ol2zL6CYTcfZIyAq8q3D00mf+vpIeoiDDmkUkr+vXN+xkpXkWdX5pMD1hBrF4EDOL1RIp9XjpkdfIcEgg8Oia0Ay153sPK3+Tif4bGE= RickyC@company.local'2015/03/06 15:07:59| negotiate_wrapper: Return 'AF oYG1MIGyoAMKAQChCwYJKoZIhvcSAQICooGdBIGaYIGXBgkqhkiG9xIBAgICAG+BhzCBhKADAgEFoQMCAQ+ieDB2oAMCARKibwRtX5xuxTxrgsKQpg3Y+kUXLOng15XJ7eDByao5YtNPZByv/zRtrz13QgKkCuk+VkXnCAzaii0ri4Mxvd+4BoskIrjf5FuPP3W59wMTCtkPJD85igR/OmQ4Ch09DJ51WGwnOizMuCW+9jg6EsFa1Q== JanTS@company.locali use ubuntu server 14.04 with newest squid 3.5.2Squid Cache: Version 3.5.2Service Name: squidconfigure options: '--enable-build-info' '--enable-removal-policies=lru,heap' '--enable-ltdl-install' '--enable-storeio=ufs,aufs,rock' '--enable-auth-basic=LDAP' '--enable-auth-negotiate=wrapper,kerberos' '--enable-external-acl-helpers=LDAP_group' '--enable-translation' '--enable-ssl-crtd' '--enable-gnuregex' '--enable-xmalloc-debug' '--enable-xmalloc-debug-trace' '--enable-xmalloc-statistics' '--enable-async-io' '--enable-icmp' '--enable-delay-pools' '--enable-useragent-log' '--enable-kill-parent-hack' '--enable-htpc' '--enable-forw-via-db' '--enable-cache-digests' '--enable-underscores' '--enable-x-accelerator-vary' '--enable-esi' '--enable-inline' '--enable-linux-netfilter' '--with-openssl' '--with-large-files'here is my squid.conf:# ===================== ACL Cachemgr ============================================acl manager url_regex -i ^cache_object:// /squid-internal-mgr/acl managerAdmin src "/usr/local/squid/etc/mgradmin.txt"acl stream url_regex -i "/usr/local/squid/etc/stream"acl download url_regex -i "/usr/local/squid/etc/download"acl whitelist url_regex -i "/usr/local/squid/etc/whitelist"acl blacklist url_regex -i "/usr/local/squid/etc/blacklist"acl SSL_ports port 443acl Safe_ports port 80 # httpacl Safe_ports port 21 # ftpacl Safe_ports port 443 # httpsacl Safe_ports port 70 # gopheracl Safe_ports port 210 # waisacl Safe_ports port 1025-65535 # unregistered portsacl Safe_ports port 280 # http-mgmtacl Safe_ports port 488 # gss-httpacl Safe_ports port 591 # filemakeracl Safe_ports port 777 # multiling httpacl http proto httpacl CONNECT method CONNECT# ==================== Authenticate using negotiate_wrapper =====================auth_param negotiate program /usr/local/squid/libexec/negotiate_wrapper_auth -d --ntlm /usr/bin/ntlm_auth --diagnostics --helper-protocol=squid-2.5-ntlmssp --kerberos /usr/local/squid/libexec/negotiate_kerberos_auth -s GSS_C_NO_NAMEauth_param negotiate children 50 startup=0 idle=1auth_param negotiate keep_alive off# ==================== Authenticate using NTLM ==================================auth_param ntlm program /usr/bin/ntlm_auth --diagnostics --helper-protocol=squid-2.5-ntlmsspauth_param ntlm children 20 startup=0 idle=1auth_param ntlm keep_alive off# ==================== Authenticate using Basic LDAP ============================auth_param basic program /usr/local/squid/libexec/basic_ldap_auth -R -b "dc=company,dc=local" -D squid@company.local -w "password" -f sAMAccountName=%s -h idhqvdc01.company.local,idhqvdc02.company.localauth_param basic children 5 startup=0 idle=1auth_param basic realm AGDS Proxy: Please enter your username and password domainauth_param basic credentialsttl 1 minute# ==================== Authenticate to Group Security Actice Directory ==========external_acl_type memberof ipv4 children-max=10 children-startup=1 %LOGIN /usr/local/squid/libexec/ext_ldap_group_acl -R -K -S -b "dc=company,dc=local" -D squid@company.local -w "password" -f "(&(objectclass=person)(sAMAccountName=%v)(memberof=CN=%g,ou=groups,ou=resources,dc=company,dc=local))" -h idhqvdc01.company.local,idhqvdc02.company.localacl auth proxy_auth REQUIRED# ==================== ACL Access hour user =====================================acl ach1 external memberof "/usr/local/squid/etc/ach1.txt" # access hour 1acl ach2 external memberof "/usr/local/squid/etc/ach2.txt" # access hour 2acl ach3 external memberof "/usr/local/squid/etc/ach3.txt" # access hour 3acl ach4 external memberof "/usr/local/squid/etc/ach4.txt" # access hour 4acl ach2time time D 10:00-11:59acl ach2time time D 13:00-14:59acl ach3time time D 08:00-09:59acl ach3time time D 15:00-16:59acl ach4time time D 08:00-16:59acl bebastime time D 00:01-07:59 12:00-13:59 17:00-23:59# ==============================================================================http_access deny !Safe_ports # Deny requests to certain unsafe portshttp_access deny CONNECT !SSL_ports # Deny CONNECT to other than secure SSL portshttp_access allow manager localhost # Only allow cachemgr access from localhosthttp_access allow manager managerAdminhttp_access deny manager# ==============================================================================#http_access allow localnethttp_access allow localhosthttp_access deny blacklist !bebastimehttp_access allow http Safe_ports whitelisthttp_access allow CONNECT SSL_ports whitelist#http_access deny all !auth#http_access allow http Safe_ports ach1#http_access allow CONNECT SSL_ports ach1#http_access allow http Safe_ports ach2 !ach2time#http_access allow CONNECT SSL_ports ach2 !ach2time#http_access allow http Safe_ports ach3 !ach3time#http_access allow CONNECT SSL_ports ach3 !ach3time#http_access allow http Safe_ports ach4 !ach4time#http_access allow CONNECT SSL_ports ach4 !ach4time#http_access allow accesshours1#http_access allow accesshours2 !ach2time#http_access allow accesshours3 !ach3time#http_access allow accesshours4 !ach3timehttp_access allow ach1http_access allow ach2 !ach2timehttp_access allow ach3 !ach3timehttp_access allow ach4 !ach4timehttp_access deny all # Deny all other access to this proxy# ==============================================================================cache_dir rock /cache1/squid 97485 max-swap-rate=200 swap-timeout=300cache_dir rock /cache2/squid 97485 max-swap-rate=200 swap-timeout=300coredump_dir /usr/local/squid/var/cache/squid# =============================== Refresh Pattern ==============================refresh_pattern ^ftp: 1440 20% 10080refresh_pattern ^gopher: 1440 0% 1440refresh_pattern -i (/cgi-bin/|\?) 0 0% 0refresh_pattern . 0 20% 4320cache_effective_user proxyvisible_hostname proxy.company.localcache_mgr proxyastragraphiacachemgr_passwd secret all#err_page_stylesheet /usr/local/squid/etc/default.csspinger_enable off#workers 2i was tried to put different acl and put my auth_param at the top of my conf but still dying error. what should i do?any assistant or hint would be very appreciate. thanksDonny Vibianto
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users