Portál AbcLinuxu, 7. listopadu 2025 00:19
.
Zkoušel jsem něco vygooglit ale nehnul jsem se z místa.
Pokud se pokusím ručne server spustit tak na mě vyskočí následující:
/etc/init.d/mysql start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mysql
start: Job failed to start
/var/log/mysql je prázdný
Server je aktualizovaný Ubuntu 12.04 LTS.
Můžete mi prosím někdo poradit jak z téhle situace ven?
Děkuji a přeji pěkný den.
mysqld(_multi) --verbose? nevypíše to nějaké podrobnosti?
[client] port = 3306 socket = /var/run/mysqld/mysqld.sock [mysqld_safe] socket = /var/run/mysqld/mysqld.sock nice = 0 [mysqld] user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock port = 3306 basedir = /usr datadir = /var/lib/mysql tmpdir = /tmp lc-messages-dir = /usr/share/mysql skip-external-locking bind-address = 127.0.0.1 key_buffer = 16M max_allowed_packet = 16M thread_stack = 192K thread_cache_size = 8 myisam-recover = BACKUP query_cache_limit = 1M query_cache_size = 16M expire_logs_days = 10 max_binlog_size = 100M [mysqldump] quick quote-names max_allowed_packet = 16M [mysql] [isamchk] key_buffer = 16M !includedir /etc/mysql/conf.d/
. Jak v adresáři /var/log/mysql/ tak i v /var/log/mysql.log. Ve /var/log/syslog také není o nějakých problémech mysql zmínka.
[mysql] general_log_file = /var/log/mysql/mysql.log general_log = 1
/usr/sbin/mysqld, Version: 5.5.29-0ubuntu0.12.04.1-log ((Ubuntu)). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
130219 15:14:53 1 Connect opsview@localhost on opsview
2 Connect debian-sys-maint@localhost on
2 Quit
3 Connect debian-sys-maint@localhost on mysql
3 Query select @@version_comment limit 1
3 Query show variables like 'datadir'
3 Quit
130219 15:14:54 4 Connect centreon@localhost on centstorage
5 Connect centreon@localhost on centreon
6 Connect debian-sys-maint@localhost on
6 Query select @@version_comment limit 1
6 Query SELECT count(*) FROM mysql.user WHERE user='root' and password=''
1 Query set autocommit=1
1 Query SET time_zone='+00:00'
1 Query INSERT INTO auditlogs (text, datetime, username)
VALUES ('Starting Opsview', '2013-02-19 14:14:53', '')
4 Query set autocommit=1
5 Query set autocommit=1
6 Quit
5 Query SELECT `id` FROM `nagios_server` WHERE `localhost` = '0' AND `ns_activate` = '1'
4 Quit
7 Connect debian-sys-maint@localhost on
7 Query select @@version_comment limit 1
7 Query select concat('select count(*) into @discard from `',
TABLE_SCHEMA, '`.`', TABLE_NAME, '`')
from information_schema.TABLES where ENGINE='MyISAM'
130219 15:14:55 5 Quit
/usr/sbin/mysqld, Version: 5.5.29-0ubuntu0.12.04.1-log ((Ubuntu)). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
/usr/sbin/mysqld, Version: 5.5.29-0ubuntu0.12.04.1-log ((Ubuntu)). started with:
Tcp port: 3306 Unix socket: /var/run/mysqld/mysqld.sock
Time Id Command Argument
Takže teď to vypadá že mysql běží nicméně problém přetrvává
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.