Thank you for the reply.
We have been noticing the below error in our nagios server.
Could you please tell what is wrong here.Sep 9 17:31:23 ndo2db: Message sent to queue
Sep 9 17:31:23 ndo2db: Error: queue send error, retrying...
Could you please tell what is wrong here.Sep 9 17:31:23 ndo2db: Message sent to queue
Sep 9 17:31:23 ndo2db: Error: queue send error, retrying...
Code: Select all
tail -30 /var/log/mysqld.logCode: Select all
ulimit -aCode: Select all
[root@ ~]# grep msgmnb /etc/sysctl.conf
kernel.msgmnb = 131072000
[root@ ~]# grep msgmax /etc/sysctl.conf
kernel.msgmax = 131072000
[root@ ~]# grep shmmax /etc/sysctl.conf
kernel.shmmax = 68719476736
[root@ ~]# grep shmall /etc/sysctl.conf
kernel.shmall = 4294967296
[root@ ~]# grep msgmni /etc/sysctl.conf
kernel.msgmni = 256000Code: Select all
Nagios XI 2012R1.2
Linux 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 6.4 (Santiago)Code: Select all
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6548 mysql 20 0 8362m 1.1g 3500 S 338.5 3.7 4556:17 /usr/libexec/mysqld --basedir=/usr --datadir=/u01/appl/mysql --user=mysql --log-error=/var/log/mysqld.log
24882 apache 20 0 651m 33m 9604 R 64.2 0.1 19:01.39 /usr/sbin/httpd
858 apache 20 0 702m 83m 8740 S 42.4 0.3 6:04.95 /usr/sbin/httpd
30968 apache 20 0 608m 85m 9268 S 41.0 0.3 3:39.17 /usr/sbin/httpd
15168 apache 20 0 600m 78m 9260 R 24.8 0.2 2:59.79 /usr/sbin/httpd
18488 apache 20 0 619m 95m 8520 S 23.8 0.3 1:48.22 /usr/sbin/httpd
32733 apache 20 0 718m 101m 9568 R 7.9 0.3 18:59.36 /usr/sbin/httpd
18747 apache 20 0 583m 61m 9280 R 5.3 0.2 1:15.72 /usr/sbin/httpdCode: Select all
150909 16:05:51 [ERROR] /usr/libexec/mysqld: Incorrect key file for table '/tmp/#sql_bc3_4.MYI'; try to repair it
150909 16:05:49 [ERROR] /usr/libexec/mysqld: Sort abortedCode: Select all
[root@tmp]# tail /var/log/mysqld.log
150927 4:37:33 [ERROR] /usr/libexec/mysqld: Sort aborted
150927 4:37:33 [ERROR] /usr/libexec/mysqld: Sort aborted
150927 4:37:34 [ERROR] /usr/libexec/mysqld: Sort aborted
150927 4:37:53 [ERROR] /usr/libexec/mysqld: Sort abortedCode: Select all
[root@host_3954948670_80]# pwd
/home/nagios/oradiag_nagios/diag/clients/user_nagios/host_3954948670_80
[root@host_3954948670_80]# du -sh *
5.3G alert
4.0K cdump
4.0K incident
4.0K incpkg
4.0K lck
260K metadata
4.0K metadata_dgif
4.0K metadata_pv
4.0K stage
4.0K sweep
1.4G traceCode: Select all
[root@alert]# pwd
/home/nagios/oradiag_nagios/diag/clients/user_nagios/host_3954948670_80/alert
-rw-rw---- 1 nagios users 10486797 Sep 26 09:33 log_537.xml
-rw-rw---- 1 nagios users 10486395 Sep 28 13:59 log_538.xml
-rw-rw---- 1 nagios users 10485770 Sep 29 06:46 log_539.xml
-rw-rw---- 1 nagios users 1604457 Sep 29 09:23 log.xml
11M log_97.xml
11M log_98.xml
11M log_99.xml
11M log_9.xmlCode: Select all
<msg time='2015-09-29T06:46:24.630+02:00' org_id='oracle' comp_id='clients'
type='UNKNOWN' level='16' host_id='NAGIOSHOST'
host_addr='NAGIOS_IP'>
<txt>Directory does not exist for read/write [/usr/lib/oracle/11.2/client64/log] [/usr/lib/oracle/11.2/client64/log/diag]
</txt>
</msg>When the log directory is created, requests for subdirectories "diag/clients/". The "workaround" would be to create these directories manually.Directory does not exist for read/write [/usr/lib/oracle/11.2/client64/log] [/usr/lib/oracle/11.2/client64/log/diag]