logo elektroda
logo elektroda
X
logo elektroda
REKLAMA
REKLAMA
Adblock/uBlockOrigin/AdGuard mogą powodować znikanie niektórych postów z powodu nowej reguły.

Mysql i squid nie startuje

techrys 05 Lip 2003 13:41 1405 4
REKLAMA
  • #1 276565
    techrys
    Poziom 28  
    Jak w temacie. Komunikat jaki wywala mysql to:
    Initializing MySQL database: Sorry, the host 'xxxxx' could not be looked up.
    Please configure the 'hostname' command to return a correct hostname.
    If you want to solve this at a later stage, restart this script with
    the --force option
    [FAILED]
    a proxy:
    FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
    Ktoś doradzi co jest grane?? System to RH 7.3, instalka świeża.
  • REKLAMA
  • #2 280815
    techrys
    Poziom 28  
    Znalazłem (wiel)błąda. Draństwu chodziło o nazwę hosta z /etc/hosts - musi być taka sama jak hostname... Takie proste a takie skomplikowane...

    Ale proxy dalej qpa :cry: Help me :please:
  • REKLAMA
  • #3 288715
    techrys
    Poziom 28  
    Nie żebym pisał sam do siebie, ale może ktoś rzuci pomysł dlaczego squid wywala komunikat:
    FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
    Zrobiłem nawet świeżego konfiga i dalej to samo...
  • REKLAMA
  • #4 288734
    elektryk
    Poziom 42  
    techrys napisał:
    FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
    Zrobiłem nawet świeżego konfiga i dalej to samo...
    A w tym nowym konfigu nie ma zahaszowanej pozycji visible_hostname, podobny problem miałem kiedyś z apachem, ale wymuszenie mu w konfigu nazwy pomogło. Prawdopodobnie nie istnieje nazwa domenowa taka jak podana w /etc/hosts
  • #5 288851
    techrys
    Poziom 28  
    Thx, to było to. Później jeszcze rzucał się że nie może założyć swapa, ale to już była tylko kwestia praw dostępu.
REKLAMA