Code: Select all
[root@nodea log]# service mysqld restart
Redirecting to /bin/systemctl restart mysqld.service
Failed to restart mysqld.service: Unit mysqld.service failed to load: No such file or directory.
You have mail in /var/spool/mail/root
[root@nodea log]# service mariadb restart
Redirecting to /bin/systemctl restart mariadb.service
[root@nodea log]#
Code: Select all
[root@nodea mariadb]# tail -50 /var/log/mariadb/mariadb.log
2017-06-22 3:27:10 140351405497088 [Note] Event Scheduler: Purging the queue. 0 events
2017-06-22 3:27:10 140350588966656 [Note] InnoDB: FTS optimize thread exiting.
2017-06-22 3:27:10 140351405497088 [Note] InnoDB: Starting shutdown...
2017-06-22 3:27:11 140351405497088 [Note] InnoDB: Shutdown completed; log sequence number 1680257
2017-06-22 3:27:11 140351405497088 [Note] /usr/libexec/mysqld: Shutdown complete
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: The InnoDB memory heap is disabled
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: Compressed tables use zlib 1.2.7
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: Using Linux native AIO
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: Using generic crc32 instructions
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: Completed initialization of buffer pool
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: Highest supported file format is Barracuda.
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: 128 rollback segment(s) are active.
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: Waiting for purge to start
2017-06-22 3:27:12 140298582018176 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.31-77.0 started; log sequence number 1680257
2017-06-22 3:27:12 140297782683392 [Note] InnoDB: Dumping buffer pool(s) not yet started
2017-06-22 3:27:12 140298582018176 [Note] Plugin 'FEEDBACK' is disabled.
2017-06-22 3:27:12 140298582018176 [Warning] GSSAPI plugin : default principal 'mariadb/nodea.techmahindra.com@' not found in keytab
2017-06-22 3:27:12 140298582018176 [ERROR] mysqld: Server GSSAPI error (major 851968, minor 2529639093) : gss_acquire_cred failed -Unspecified GSS failure. Minor code may provide more information. Keytab FILE:/etc/krb5.keytab is nonexistent or empty.
2017-06-22 3:27:12 140298582018176 [ERROR] Plugin 'gssapi' init function returned error.
2017-06-22 3:27:12 140298582018176 [Note] Server socket created on IP: '::'.
2017-06-22 3:27:12 140298582018176 [Note] /usr/libexec/mysqld: ready for connections.
Version: '10.1.17-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
2017-06-22 3:27:21 140298580810496 [ERROR] mysqld: Incorrect key file for table './nagios/nagios_logentries.MYI'; try to repair it
2017-06-22 3:27:21 140298580810496 [ERROR] mysqld: Incorrect key file for table './nagios/nagios_logentries.MYI'; try to repair it
2017-06-22 3:27:21 140298580810496 [ERROR] Got an error from thread_id=43, /builddir/build/BUILD/mariadb-10.1.17/storage/myisam/mi_write.c:227
2017-06-22 3:27:21 140298580810496 [ERROR] MySQL thread id 43, OS thread handle 0x7f99cf125b00, query id 11 localhost ndoutils update
INSERT INTO nagios_logentries SET instance_id='1', logentry_time=FROM_UNIXTIME(1498082223), entry_time=FROM_UNIXTIME(1498082223), entry_time_usec='593398', logentry_type='262144', logentry_data='ndomod: Error writing to data sink! Some output may get lost\.\.\.', realtime_data='1', inferred_data_extracted='1'
2017-06-22 3:27:21 140298580810496 [ERROR] mysqld: Incorrect key file for table './nagios/nagios_servicestatus.MYI'; try to repair it
2017-06-22 3:27:21 140298580810496 [ERROR] mysqld: Incorrect key file for table './nagios/nagios_servicestatus.MYI'; try to repair it
2017-06-22 3:27:21 140298580810496 [ERROR] mysqld: Incorrect key file for table './nagios/nagios_servicestatus.MYI'; try to repair it
2017-06-22 3:27:21 140298580810496 [ERROR] Got an error from thread_id=43, /builddir/build/BUILD/mariadb-10.1.17/storage/myisam/mi_write.c:227
2017-06-22 3:27:21 140298580810496 [ERROR] MySQL thread id 43, OS thread handle 0x7f99cf125b00, query id 18 localhost ndoutils update
INSERT INTO nagios_servicestatus SET instance_id='1', service_object_id='10', status_update_time=FROM_UNIXTIME(1498082223), output='â httpd\.service - The Apache HTTP Server', long_output=' Loaded: loaded \(/usr/lib/systemd/system/httpd\.service; enabled; vendor preset: disabled\)\\n Active: active \(running\) since Wed 2017-06-21 02:36:56 IST; 24h ago\\n Docs: man:httpd\(8\)\\n man:apachectl\(8\)\\n Process: 4181 ExecStop=/bin/kill -WINCH \${MAINPID} \(code=exited, status=0/SUCCESS\)\\n Process: 27853 ExecReload=/usr/sbin/httpd \$OPTIONS -k graceful \(code=exited, status=0/SUCCESS\)\\n Main PID: 4981 \(httpd\)\\n Status: \"Total requests: 628; Current requests/sec: 0; Current traffic: 0 B/sec\"\\n CGroup: /system\.slice/httpd\.service\\n ââ4131 /usr/sbin/httpd -DFOREGROUND\\n ââ4133 /usr/sbin/httpd -DFOREGROUND\\n ââ4134 /usr/sbin/httpd -DFOREGROUND
2017-06-22 3:27:21 140298580810496 [ERROR] mysqld: Incorrect key file for table './nagios/nagios_hoststatus.MYI'; try to repair it
2017-06-22 3:27:21 140298580810496 [ERROR] mysqld: Incorrect key file for table './nagios/nagios_hoststatus.MYI'; try to repair it
2017-06-22 3:27:21 140298580810496 [ERROR] mysqld: Incorrect key file for table './nagios/nagios_hoststatus.MYI'; try to repair it
2017-06-22 3:27:21 140298580810496 [ERROR] Got an error from thread_id=43, /builddir/build/BUILD/mariadb-10.1.17/storage/myisam/mi_write.c:227
2017-06-22 3:27:21 140298580810496 [ERROR] MySQL thread id 43, OS thread handle 0x7f99cf125b00, query id 20 localhost ndoutils update
INSERT INTO nagios_hoststatus SET instance_id='1', host_object_id='164', status_update_time=FROM_UNIXTIME(1498082225), output='CRITICAL - 10\.10\.237\.190: Host unreachable @ 10\.10\.237\.223\. rta nan, lost 100%', long_output='', perfdata='rta=0\.000ms;3000\.000;5000\.000;0; pl=100%;80;100;; rtmax=0\.000ms;;;; rtmin=0\.000ms;;;;', current_state='1', has_been_checked='1', should_be_scheduled='1', current_check_attempt='5', max_check_attempts='5', last_check=FROM_UNIXTIME(1498082222), next_check=FROM_UNIXTIME(1498082525), check_type='0', last_state_change=FROM_UNIXTIME(1491252101), last_hard_state_change=FROM_UNIXTIME(1491252101), last_hard_state='1', last_time_up=FROM_UNIXTIME(1491251909), last_time_down=FROM_UNIXTIME(1498082225), last_time_unreachable=FROM_UNIXTIME(0), state_type='1', last_notification=FROM_UNIXTIME(1498081225), next_notification=FROM_UNIXTIME(1498084825), no_more_notifications='0', notifications_enab
2017-06-22 3:27:21 140298580810496 [ERROR] mysqld: Incorrect key file for table './nagios/nagios_customvariablestatus.MYI'; try to repair it
2017-06-22 3:27:21 140298580810496 [ERROR] mysqld: Incorrect key file for table './nagios/nagios_customvariablestatus.MYI'; try to repair it
2017-06-22 3:27:21 140298580810496 [ERROR] Got an error from thread_id=43, /builddir/build/BUILD/mariadb-10.1.17/storage/myisam/mi_write.c:227
2017-06-22 3:27:21 140298580810496 [ERROR] MySQL thread id 43, OS thread handle 0x7f99cf125b00, query id 21 localhost ndoutils update
INSERT INtO nagios_customvariablestatus SET instance_id='1', object_id='164',status_update_time=FROM_UNIXTIME(1498082225), has_been_modified='0', varname='XIWIZARD', varvalue='linux-server' ON DUPLICATE KEY UPDATE instance_id='1', object_id='164',status_update_time=FROM_UNIXTIME(1498082225), has_been_modified='0', varname='XIWIZARD', varvalue='linux-server'
You have mail in /var/spool/mail/root
[root@nodea mariadb]#