Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
debian:/etc/init.d# ./squid start Starting proxy server: Creating squid spool directory structure FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname' Squid Cache (Version 2.5.STABLE9): Terminated abnormally. CPU Usage: 0.014 seconds = 0.007 user + 0.007 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 ./squid: line 184: 21087 Przerwane /usr/sbin/squid -z FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname' Squid Cache (Version 2.5.STABLE9): Terminated abnormally. CPU Usage: 0.015 seconds = 0.008 user + 0.007 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 ./squid: line 184: 21089 Przerwane start-stop-daemon --quiet --start --pidfile $PIDFILE --chuid $CHUID --exec $DAEMON -- $SQUID_ARGS </dev/null squid. debian:/etc/init.d#
uruchamiam squida i wywala mi oś takiego
a config wyglada tak:
#http_port 8080 #hierarchy_stoplist cgi-bin ? #acl QUERY urlpath_regex cgi-bin ? #no_cache deny QUERY #cache_mem 100 MB #maximum_object_size 3456 KB #maximum_object_size_in_memory 3640 KB #ipcache_size 4560 cache_dir ufs /var/spool/squid 400 16 256 #client_lifetime 4 hour #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 localnetwork src 192.168.0.0/255.255.255.0 #acl SSL_ports port 443 563 #acl Safe_ports port 80 21 443 563 70 210 1025-65535 280 488 591 777 #acl CONNECT method CONNECT #http_access allow manager #http_access deny !Safe_ports #http_access allow localhost #http_access allow localnetwork #http_access deny all #icp_access deny all #cache_effective_user squid #cache_effective_group squid #netdb_low 4800 #netdb_high 5000 #cache_mgr blazejwiecha@gmail.com #cachemgr_passwd moje all #httpd_accel_host virtual #httpd_accel_port 80 #httpd_accel_with_proxy on #httpd_accel_uses_host_header on #httpd_accel_single_host off http_port 8080 acl all src 192.168.0.0/24 http_access allow all acl FTP proto FTP always_direct allow FTP cache_mem 32 MB cache_peer w3cache.tpnet.pl parent 8080 8082 no-query default cache_peer w3cache.tpnet.pl parent 8080 3130 cache_peer w3cache.icm.edu.pl parent 8080 3130 cache_peer_domain w3cache.tpnet.pl !.212.160.37.138 cache_peer_domain w3cache.icm.edu.pl !.212.160.37.138 store_avg_object_size 8 kB httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on
uzywałem na rh tego zahaszowanego ale tu nie działa ,na forum znalazłem ten odhashowany , ale tez wywala to samo.
A może jakiś sposób by przenieść squida na dróg serwer ???
Offline
lekarstwo nie wyleczyło :(
debian:/etc/init.d# ./squid start Starting proxy server: Creating squid spool directory structure FATAL: getpwnam failed to find userid for effective user 'squid' Squid Cache (Version 2.5.STABLE9): Terminated abnormally. CPU Usage: 0.013 seconds = 0.007 user + 0.006 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 ./squid: line 184: 1786 Przerwane /usr/sbin/squid -z FATAL: getpwnam failed to find userid for effective user 'squid' Squid Cache (Version 2.5.STABLE9): Terminated abnormally. CPU Usage: 0.014 seconds = 0.007 user + 0.007 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 ./squid: line 184: 1788 Przerwane start-stop-daemon --quiet --start --pidfile $PIDFILE --chuid $CHUID --exec $DAEMON -- $SQUID_ARGS </dev/null squid.
użyłem tego do tej wersji zahashowanej w configu
Offline
kolejne błędy:
debian:/etc/init.d# ./squid start Starting proxy server: FATAL: getpwnam failed to find userid for effective user 'squid' Squid Cache (Version 2.5.STABLE9): Terminated abnormally. CPU Usage: 0.014 seconds = 0.009 user + 0.005 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 ./squid: line 184: 21244 Przerwane start-stop-daemon --quiet --start --pidfile $PIDFILE --chuid $CHUID --exec $DAEMON -- $SQUID_ARGS </dev/null squid. debian:/etc/init.d#
Offline