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
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00104 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.117.11.233' WHERE u.id=1 |
0.00068 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.117.11.233', 1738342485) |
0.00055 | SELECT * FROM punbb_online WHERE logged<1738342185 |
0.00087 | DELETE FROM punbb_online WHERE ident='3.137.210.126' |
0.00079 | SELECT topic_id FROM punbb_posts WHERE id=24159 |
0.00121 | SELECT id FROM punbb_posts WHERE topic_id=3050 ORDER BY posted |
0.00071 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=3050 AND t.moved_to IS NULL |
0.00011 | SELECT search_for, replace_with FROM punbb_censoring |
0.00090 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=3050 ORDER BY p.id LIMIT 0,25 |
0.00106 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=3050 |
Total query time: 0.00806 s |