[MCOL-1377] ColumnStore system logging not working after 1.1.4 ubuntu-16 install Created: 2018-05-02 Updated: 2023-10-26 Resolved: 2018-06-05 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | 1.1.4 |
| Fix Version/s: | 1.1.5, 1.2.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Hill (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
ubuntu 16 single server - fresh install of 1.1.4 debian packages |
||
| Sprint: | 2018-10, 2018-11, 2018-12 |
| Description |
|
Now log files after 1.1.4 debian packages installed on ubuntu 16 single server system. log System logging being used: rsyslog /etc/rsyslog.d/49-columnstore.conf |
| Comments |
| Comment by David Hill (Inactive) [ 2018-05-02 ] |
|
info from user root@ps-cs-pm1:/var/log/mariadb/columnstore# ll none of the info,warning,debug,critical logs are created. root@ps-cs-pm1:/var/log/mariadb/columnstore# mcsadmin getlogconfig MariaDB ColumnStore System Log Configuration Data System Logging Configuration File being used: /etc/rsyslog.d/49-columnstore.conf Module Configured Log Levels root@ps-cs-pm1:/var/log/mariadb/columnstore# cat /etc/rsyslog.d/49-columnstore.conf
root@ps-cs-pm1:/var/log/mariadb/columnstore# |
| Comment by David Hill (Inactive) [ 2018-05-02 ] |
|
WORK-AROUND - issue is the configuration file is set to use syslog:adm permissions, but the directories weren't. root@ip-172-31-27-208:/var/log# /usr/local/mariadb/columnstore/bin/syslogSetup.sh uninstall System logging being used: rsyslog root@ip-172-31-27-208:/var/log# chown syslog:adm -R mariadb System logging being used: rsyslog root@ip-172-31-27-208:/var/log# /usr/local/mariadb/columnstore/bin/syslogSetup.sh check |
| Comment by David Hill (Inactive) [ 2018-05-03 ] |
|
added logic in syslogSetup.sh to determine the syslogging user/group and set the /var/log/mariadb directory permissions according. TESTING: I tested: after a install is completed, check that the log files do exist. PULL REQUEST https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/461 |
| Comment by David Hill (Inactive) [ 2018-05-03 ] |
|
https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/461 |
| Comment by Daniel Lee (Inactive) [ 2018-06-05 ] |
|
Build tested: 1.1.5-1 (06/04/2018 nightly buildbot build) Verified syslog is working properly on single and multiple node installations. |