Pagina 1 di 3 1 2 3 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 29

Discussione: dettagli errore squid

  1. #1

    dettagli errore squid

    ciao,
    su una macchina Sun ultrasparc (da utilizzare cone proxy) ho installato debian3.0 e aggiornato squid.....

    lo configuro.....

    dopo aver fatto la cache

    squid -z

    lancio il server

    squid -D

    sta trenta secondi su'

    e poi cade

    nel messages ho:

    squid parent: child process nnn started
    squid parent: child process nnn exited due to signal 6



    dove trovo maggiori dettagli dell'errore?


    grazie

  2. #2
    Utente di HTML.it L'avatar di alvinet
    Registrato dal
    Apr 2004
    Messaggi
    651
    nel file di log? /var/log/squid/...
    www.sistemistiindipendenti.org
    alvin@jabber.linux.it

  3. #3

    re:

    in var/log/squid

    ci sono i 3 log dei accesso e store della cache-squid

    non ho segnalazioni circa il processo

  4. #4
    Utente di HTML.it
    Registrato dal
    Oct 2002
    Messaggi
    2,894
    cat cache.log

  5. #5
    Utente di HTML.it
    Registrato dal
    Oct 2002
    Messaggi
    2,894
    Non è che hai un _ nel nome host della macchina...

  6. #6

    re:

    l'output di hostname e'

    proxy.car

    ho visto nell'userlog questo errore:
    "Cannot open HTTP port"

    ecco il file squid.conf....il resto e' commentato


    http_port proxy.car:8080
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY

    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 mio src 10.134.16.0/255.255.255.0
    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

    # Only allow cachemgr access from localhost
    http_access allow manager localhost mio
    http_access deny manager
    # Only allow purge requests from localhost
    http_access allow purge localhost
    http_access deny purge
    # Deny requests to unknown ports
    http_access deny !Safe_ports
    # Deny CONNECT to other than SSL ports
    http_access deny CONNECT !SSL_ports
    #
    # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
    #
    http_access allow localhost mio
    # And finally deny all other access to this proxy
    http_access deny all

    icp_access allow all

  7. #7
    Utente di HTML.it
    Registrato dal
    Oct 2002
    Messaggi
    2,894
    cat /var/log/squid/cache.log

  8. #8
    Hai impostato la variabile visible_hostname in squid.conf?
    Se no, occorre specificarla con il proprio nome di host, come indicato nelle informazioni sul file.
    Forse è questo...

  9. #9

    re:

    visible_hostname proxy.car

    c'e' nel file di conf.



    non so' come allegare i file txt !!!!! pasto le ultime righe


    FATAL: Cannot open HTTP Port
    Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
    CPU Usage: 0.130 seconds = 0.110 user + 0.020 sys
    Maximum Resident Size: 0 KB
    Page faults with physical i/o: 256
    Memory usage for squid via mallinfo():
    total space in arena: 2045 KB
    Ordinary blocks: 1999 KB 2 blks
    Small blocks: 0 KB 1 blks
    Holding blocks: 200 KB 1 blks
    Free Small blocks: 0 KB
    Free Ordinary blocks: 45 KB
    Total in use: 2199 KB 108%
    Total free: 45 KB 2%
    2005/04/09 18:57:15| Starting Squid Cache version 2.5.STABLE9 for sparc-debian-linux-gnu...
    2005/04/09 18:57:15| Process ID 274
    2005/04/09 18:57:15| With 1024 file descriptors available
    2005/04/09 18:57:15| DNS Socket created at 0.0.0.0, port 1026, FD 6
    2005/04/09 18:57:15| Adding nameserver 212.245.255.2 from /etc/resolv.conf
    2005/04/09 18:57:15| User-Agent logging is disabled.
    2005/04/09 18:57:15| Referer logging is disabled.
    2005/04/09 18:57:15| Unlinkd pipe opened on FD 11
    2005/04/09 18:57:15| Swap maxSize 102400 KB, estimated 7876 objects
    2005/04/09 18:57:15| Target number of buckets: 393
    2005/04/09 18:57:15| Using 8192 Store buckets
    2005/04/09 18:57:15| Max Mem size: 8192 KB
    2005/04/09 18:57:15| Max Swap size: 102400 KB
    2005/04/09 18:57:15| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
    2005/04/09 18:57:15| Rebuilding storage in /var/spool/squid (DIRTY)
    2005/04/09 18:57:15| Using Least Load store dir selection
    2005/04/09 18:57:15| Current Directory is /var/spool/squid
    2005/04/09 18:57:15| Loaded Icons.
    2005/04/09 18:57:15| commBind: Cannot bind socket FD 12 to 10.134.16.18:8080: (48) Address already in use
    FATAL: Cannot open HTTP Port
    Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
    CPU Usage: 0.110 seconds = 0.090 user + 0.020 sys
    Maximum Resident Size: 0 KB
    Page faults with physical i/o: 256
    Memory usage for squid via mallinfo():
    total space in arena: 2045 KB
    Ordinary blocks: 1999 KB 2 blks
    Small blocks: 0 KB 1 blks
    Holding blocks: 200 KB 1 blks
    Free Small blocks: 0 KB
    Free Ordinary blocks: 45 KB
    Total in use: 2199 KB 108%
    Total free: 45 KB 2%
    2005/04/09 18:57:18| Starting Squid Cache version 2.5.STABLE9 for sparc-debian-linux-gnu...
    2005/04/09 18:57:18| Process ID 278
    2005/04/09 18:57:18| With 1024 file descriptors available
    2005/04/09 18:57:18| DNS Socket created at 0.0.0.0, port 1026, FD 6
    2005/04/09 18:57:18| Adding nameserver 212.245.255.2 from /etc/resolv.conf
    2005/04/09 18:57:18| User-Agent logging is disabled.
    2005/04/09 18:57:18| Referer logging is disabled.
    2005/04/09 18:57:18| Unlinkd pipe opened on FD 11
    2005/04/09 18:57:18| Swap maxSize 102400 KB, estimated 7876 objects
    2005/04/09 18:57:18| Target number of buckets: 393
    2005/04/09 18:57:18| Using 8192 Store buckets
    2005/04/09 18:57:18| Max Mem size: 8192 KB
    2005/04/09 18:57:18| Max Swap size: 102400 KB
    2005/04/09 18:57:18| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
    2005/04/09 18:57:18| Rebuilding storage in /var/spool/squid (DIRTY)
    2005/04/09 18:57:18| Using Least Load store dir selection
    2005/04/09 18:57:18| Current Directory is /var/spool/squid
    2005/04/09 18:57:18| Loaded Icons.
    2005/04/09 18:57:18| commBind: Cannot bind socket FD 12 to 10.134.16.18:8080: (48) Address already in use
    FATAL: Cannot open HTTP Port
    Squid Cache (Version 2.5.STABLE9): Terminated abnormally.
    CPU Usage: 0.110 seconds = 0.110 user + 0.000 sys
    Maximum Resident Size: 0 KB
    Page faults with physical i/o: 256
    Memory usage for squid via mallinfo():
    total space in arena: 2045 KB
    Ordinary blocks: 1999 KB 2 blks
    Small blocks: 0 KB 1 blks
    Holding blocks: 200 KB 1 blks
    Free Small blocks: 0 KB
    Free Ordinary blocks: 45 KB
    Total in use: 2199 KB 108%
    Total free: 45 KB 2%

  10. #10

    re:

    ho fatto una prova cambiando la porta 8080 in 3128

    ....
    ....

    funziona.....!!!


    da netstat -n
    vedo che la porta 8080 e' in listening, anche se non so da chi !!!!!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.