lmiltchev wrote:There is not such log file.
This is very strange... Did you install Nagios XI, using some custom (non-default) paths? The "cmdsubsys.log" file should be in the "/usr/local/nagiosxi/var" directory...
Can you run the following commands, and show the output?
Code: Select all
ls -la /usr/local/nagiosxi/var
grep 'memory_limit =\|max_execution_time =\|max_input_time =\|max_input_vars =\|memory_limit =' /etc/php.ini
tail /var/log/mariadb/mariadb.log
I didn't use custom path. I installed Nagios XI by following the manual installation instruction -
https://assets.nagios.com/downloads/nag ... 1483109039. I downloaded installation file xi-5_6_2.tar.gz.
Here is the output
[root@br-sysmntr01 local]# ls -la /usr/local/nagiosxi/var
total 20
drwxrwxr-x 7 nagios nagios 4096 Jun 10 17:58 .
drwxr-xr-x 10 root nagios 102 Jun 10 17:53 ..
drwxrwxr-x 2 nagios nagios 66 Jun 10 18:06 certs
drwsrwsr-x 2 apache nagios 34 Jun 10 17:58 components
drwxrwxr-x 2 nagios nagios 20 Jun 10 17:58 keys
-rw-rw-rw- 1 nagios nagios 0 Jun 10 17:58 NXTI_Write_Test
drwxrwxr-x 2 nagios nagios 22 Jun 17 14:57 subsys
drwxrwxr-x 2 nagios nagios 6 Jun 10 17:53 upgrades
-rw-r--r-- 1 apache apache 0 Jun 10 17:58 wkhtmltox.log
-rw-r--r-- 1 nagios nagios 7 Jun 10 17:58 xi-itype
-rw-r--r-- 1 nagios nagios 944 Jun 10 17:53 xi-sys.cfg
-rw-r--r-- 1 nagios nagios 37 Jun 10 17:58 xi-uuid
-rw-r--r-- 1 nagios nagios 196 Jun 10 17:53 xiversion
[root@br-sysmntr01 local]# grep 'memory_limit =\|max_execution_time =\|max_input_time =\|max_input_vars =\|memory_limit =' /etc/php.ini
max_execution_time = 60
max_input_time = 120
max_input_vars = 5000
memory_limit = 256M
[root@br-sysmntr01 local]# tail /var/log/mariadb/mariadb.log
190617 14:57:19 InnoDB: Initializing buffer pool, size = 128.0M
190617 14:57:19 InnoDB: Completed initialization of buffer pool
190617 14:57:19 InnoDB: highest supported file format is Barracuda.
190617 14:57:19 InnoDB: Waiting for the background threads to start
190617 14:57:20 Percona XtraDB (
http://www.percona.com) 5.5.59-MariaDB-38.11 started; log sequence number 3180598
190617 14:57:20 [Note] Plugin 'FEEDBACK' is disabled.
190617 14:57:20 [Note] Server socket created on IP: '0.0.0.0'.
190617 14:57:20 [Note] Event Scheduler: Loaded 0 events
190617 14:57:20 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.60-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server