Üdv!
Tudom ezeréves téma meg hogy ezerszer volt, de esküszöm nem találtam megfelelő választ kérdésemre. Megpróbálok alázatos lenni, ha mégsem vagyok az, csak szóljatok rám.
Röviden összefoglalva mysql nem indul, mert nem okék a hostok.
[root@localhost ~]# /etc/init.d/mysqld start
A MySQL adatbázis inicializálása: Neither host 'localhost.localdomain' nor 'loc alhost' could be looked up with
/usr/bin/resolveip
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
[SIKERTELEN]
[root@localhost ~]# hostname
localhost.localdomain
[root@localhost ~]# /usr/bin/resolveip localhost
/usr/bin/resolveip: Unable to find hostid for 'localhost': host not found
[root@localhost ~]# /usr/bin/resolveip localhost.localdomain
/usr/bin/resolveip: Unable to find hostid for 'localhost.localdomain': host not found
[root@localhost ~]# /usr/bin/resolveip 127.0.0.1
Host name of 127.0.0.1 is LOCALHOST
[root@localhost ~]# /usr/bin/resolveip LOCALHOST
/usr/bin/resolveip: Unable to find hostid for 'LOCALHOST': host not found
Szóval a resolveip szerint nincs olyan, amit a mysql keres. Localhost ip-jére kidobott névre visszakeresve érdekes módon nem kaptam meg az ip-t. A /etc/host.conf tartalma viszont ez:
::1 localhost.localdomain localhost
my.conf-ban semmit nem változtattam. Lehet ott kellene állítani valamit?
Szerintetek mit kellene megnézni/megváltoztatni?
Segítségeteket előre is köszönöm!