[MCOL-2122] columnstore installation fails if there is set username in the .my.cnf Created: 2019-01-29  Updated: 2019-07-10  Resolved: 2019-07-10

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

Type: Bug Priority: Major
Reporter: Zdravelina Sokolovska (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: beginner-friendly

Issue Links:
Relates
relates to MCOL-2138 Upgrade failed when .my.cnf exist and... Closed

 Description   

columnstore installation fails if there is set only username in the .my.cnf

cat  /root/.my.cnf
[mysqladmin]
user = root
#password = 1
 
or 
cat  /root/.my.cnf
[mysqladmin]
user = root

[root@columnstore ~]#  rpm -ivh mariadb-columnstore-*1.2.2*rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:mariadb-columnstore-common-1.2.2-################################# [ 10%]
   2:mariadb-columnstore-libs-1.2.2-1 ################################# [ 20%]
   3:mariadb-columnstore-client-1.2.2-################################# [ 30%]
   4:mariadb-columnstore-server-1.2.2-################################# [ 40%]
   5:mariadb-columnstore-shared-1.2.2-################################# [ 50%]
   6:mariadb-columnstore-platform-1.2.################################# [ 60%]
The next step is:
 
If installing on a pm1 node using non-distributed install
 
/usr/local/mariadb/columnstore/bin/postConfigure
 
If installing on a pm1 node using distributed install
 
/usr/local/mariadb/columnstore/bin/postConfigure -d
 
If installing on a non-pm1 using the non-distributed option:
 
/usr/local/mariadb/columnstore/bin/columnstore start
 
 
   7:mariadb-columnstore-gssapi-server################################# [ 70%]
   8:mariadb-columnstore-rocksdb-engin################################# [ 80%]
   9:mariadb-columnstore-tokudb-engine################################# [ 90%]
  10:mariadb-columnstore-storage-engin################################# [100%]
[root@columnstore ~]# /usr/local/mariadb/columnstore/bin/postConfigure
 
This is the MariaDB ColumnStore System Configuration and Installation tool.
It will Configure the MariaDB ColumnStore System and will perform a Package
Installation of all of the Servers within the System that is being configured.
 
IMPORTANT: This tool requires to run on the Performance Module #1
 
Prompting instructions:
 
        Press 'enter' to accept a value in (), if available or
        Enter one of the options within [], if available, or
        Enter a new value
 
 
A copy of the MariaDB ColumnStore Configuration file has been saved during Package install.
It's Configured for a Single Server Install.
You have an option of utilizing the configuration data from that file or starting
with the MariaDB ColumnStore Configuration File that comes with the MariaDB ColumnStore Package.
You will only want to utilize the old configuration data when performing the same
type of install, i.e. Single or Multi-Server
 
Do you want to utilize the configuration data from the saved copy? [y,n]  > n
 
===== Setup System Server Type Configuration =====
 
There are 2 options when configuring the System Server Type: single and multi
 
  'single'  - Single-Server install is used when there will only be 1 server configured
              on the system. It can also be used for production systems, if the plan is
              to stay single-server.
 
  'multi'   - Multi-Server install is used when you want to configure multiple servers now or
              in the future. With Multi-Server install, you can still configure just 1 server
              now and add on addition servers/modules in the future.
 
Select the type of System Server install [1=single, 2=multi] (2) > 1
 
Performing the Single Server Install.
 
Enter System Name (columnstore-1) >
 
===== Setup Storage Configuration =====
 
 
----- Setup Performance Module DBRoot Data Storage Mount Configuration -----
 
There are 2 options when configuring the storage: internal or external
 
  'internal' -    This is specified when a local disk is used for the DBRoot storage.
                  High Availability Server Failover is not Supported in this mode
 
  'external' -    This is specified when the DBRoot directories are mounted.
                  High Availability Server Failover is Supported in this mode.
 
Select the type of Data Storage [1=internal, 2=external] (1) > 1
 
Enter the list (Nx,Ny,Nz) or range (Nx-Nz) of DBRoot IDs assigned to module 'pm1' (1) > 1
 
 
===== Performing Configuration Setup and MariaDB ColumnStore Startup =====
 
NOTE: Setting 'NumBlocksPct' to 50%
      Setting 'TotalUmMemory' to 25% of total memory.
 
Running the MariaDB ColumnStore setup scripts
 
Error running post-mysqld-install, check /tmp/columnstore_tmp_files/post-mysqld-install.log
Exiting...


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