...ρύθμιση - εγκατάσταση web server, mail server, ftp server, κλπ
Συντονιστές: the_eye, konnn
από Kapnos » 06 Μαρ 2010, 16:43
Έχουμε το παρακάτω σενάριο και τις ακόλουθες ρυθμίσεις στο squid.

- Κώδικας: Επιλογή όλων
http_port 8080 accel vhost
cache_peer 195.55.66.77 parent 80 0 no-query no-digest originserver name=server1
cache_peer 195.55.66.78 parent 80 0 no-query no-digest originserver name=server2
cache_peer 195.55.66.79 parent 80 0 no-query no-digest originserver name=server3
acl sites_server1 dstdomain server1.domain.com
acl sites_server2 dstdomain server2.domain.com
acl sites_server3 dstdomain server3.domain.com
acl all src 0.0.0.0/0.0.0.0
http_access allow sites_server1
http_access allow sites_server2
http_access allow sites_server3
http_access deny all
cache_peer_access server1 allow sites_server1
cache_peer_access server2 allow sites_server2
cache_peer_access server3 allow sites_server3
Για κάποιο λόγο που δεν μπορώ να καταλάβω το παραπάνω δουλεύει μόνο για έναν από τους 3 servers. Για τους υπόλοιπους πετάει σφάλμα ο proxy.
-
Kapnos
- babeTUX

-
- Δημοσιεύσεις: 5
- Εγγραφή: 04 Νοέμ 2008, 00:43
από g00fy » 07 Μαρ 2010, 00:50
Γεια σου φίλε μου, καλωσόρισες στο forum.
Το οποίο σφάλμα του proxy για τους άλλους 2 SERVER είναι;...
Η/Υ: Intel Pentium DualCore / 2GB RAM / nVidia Geforce 8400GS / Ubuntu 10.04 64bit
Η/Υ: Toshiba Tecra R10-10S / Ubuntu 9.10 64bit
motd: May the source be with you!
g00fy@ubuntu-gr.org:~$ cat /etc/γνώσεις.conf
Linux:kuru (όχι guru) / Προγραμματισμός:Ναί / Αγγλικά:Καλά
-

g00fy
- seniorTUX

-
- Δημοσιεύσεις: 614
- Εγγραφή: 12 Σεπ 2008, 18:58
- Τοποθεσία: Σε όλη τη Μακεδονία!
από Kapnos » 07 Μαρ 2010, 03:12
- Κώδικας: Επιλογή όλων
Unable to forward this request at this time.
This request could not be forwarded to the origin server or to any parent caches. The most likely cause for this error is that the cache administrator does not allow this cache to make direct connections to origin servers, and all configured parent caches are currently unreachable.
-
Kapnos
- babeTUX

-
- Δημοσιεύσεις: 5
- Εγγραφή: 04 Νοέμ 2008, 00:43
Επιστροφή στο Διακομιστές / Εξυπηρετητές