[MCOL-3727] postConfigure run - hostname: command not found Created: 2020-01-16  Updated: 2020-01-17  Resolved: 2020-01-17

Status: Closed
Project: MariaDB ColumnStore
Component/s: N/A
Affects Version/s: 1.4.2
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: David Hill (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

Following the 1.4.2 centos 8 1 instance install guide, the following errors line was reported when running postConfigure

Doc following

https://mariadb.com/docs/deploy/single-columnstore-centos8-col14/

$ sudo columnstore-post-install
The next step on the node that will become PM1:

postConfigure

[centos@ip-172-30-0-201 ~]$ sudo postConfigure -qs

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

With the no-Prompting Option being specified, you will be required to have the following:

1. Root user ssh keys setup between all nodes in the system or
use the password command line option.
2. A Configure File to use to retrieve configure data, default to Columnstore.xml.rpmsave
or use the '-c' option to point to a configuration file.

===== Quick Install Single-Server Configuration =====

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.

Performing the Single Server Install.

Enter System Name (columnstore-1) >

===== Setup Storage Configuration =====

----- Setup Performance Module DBRoot Data Storage Mount Configuration -----

Columnstore supports the following storage options...
1 - internal. This uses the linux VFS to access files and does
not manage the filesystem.
2 - external *. If you have other mountable filesystems you would
like ColumnStore to use & manage, select this option.
3 - GlusterFS * Note: glusterd service must be running and enabled on
all PMs.
4 - S3-compatible cloud storage *. Note: that should be configured
before running postConfigure (see storagemanager.cnf)

  • - This option enables data replication and server failover in a
    multi-node configuration.

These options are available on this system: [1, 2, 4]
Select the type of data storage (1) >

Enter the list (Nx,Ny,Nz) or range (Nx-Nz) of DBRoot IDs assigned to module 'pm1' (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

post-mysqld-install Successfully Completed
/sbin/mysql-Columnstore: line 294: hostname: command not found
/sbin/mysql-Columnstore: line 294: hostname: command not found
post-mysql-install Successfully Completed

postConfigure did complete



 Comments   
Comment by David Hill (Inactive) [ 2020-01-16 ]

same line in log file

[root@ip-172-30-0-201 columnstore_tmp_files]# cat post-mysqld-install.log
/bin/mysql_install_db: line 423: hostname: command not found

line 423

  1. Try to determine the hostname
    hostname=`hostname`
Comment by Andrew Hutchings (Inactive) [ 2020-01-17 ]

Looks like the base image you used is missing the "hostname" command. You can install this using "yum install hostname".

Comment by David Hill (Inactive) [ 2020-01-17 ]

Should that be added as a Dependency and added
to the install guide dep Packages?

Comment by Andrew Hutchings (Inactive) [ 2020-01-17 ]

Closing as won't fix as this only happens in mysql-Columnstore and mysql-Columnstore is going away in 1.4.3 to fix MCOL-3718

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