[MCOL-2201] Columnstore failed to setup log directory /var/log/mariadb/columnstore when installed using non-root user Created: 2019-02-27  Updated: 2019-02-27  Resolved: 2019-02-27

Status: Closed
Project: MariaDB ColumnStore
Component/s: installation
Affects Version/s: 1.2.3
Fix Version/s: 1.2.3

Type: Task Priority: Major
Reporter: Daniel Lee (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

Build tested: 1.2.1-1, 1.2.2-1, 1.2.3-1

Verified that 1.1.7-1 works properly.

Tested the versions mentioned above on centos7, debian8.5 and ubuntu18.04. All have the same issue.

ColumnStore works properly on DDM, DML, queries, and cpimport, etc.

mcsadmin> getlogconfig
getlogconfig Wed Feb 27 20:54:05 2019

MariaDB ColumnStore System Log Configuration Data

System Logging Configuration File being used: unassigned

Module Configured Log Levels
------ ---------------------------------------
um1 getLogConfig Failed - Error : 1
pm1 getLogConfig Failed - Error : 1
pm2 getLogConfig Failed - Error : 1

The /var/log/mariadb directory does not exist.

One thing worst mentioning is that the non-root user I used for testing is 'guest', not 'mysql'. My understanding is that both should work.



 Comments   
Comment by Daniel Lee (Inactive) [ 2019-02-27 ]

I was informed that this is the expected behavior for non-root users starting from 1.2.1-1. root user needs to setup directory on each node. I am closing the ticket.

https://mariadb.com/kb/en/library/preparing-for-columnstore-installation-122/#mariadb-columnstore-installation-by-the-new-user

Generated at Thu Feb 08 02:34:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.