Page 1 of 1

MariaDB fails at system boot

Posted: Thu Jan 14, 2021 5:55 pm
by issinoho
Adding the following line to systartup_vms.com should start MariaDB but it fails, but then running it manually works.

Code: Select all

@SYS$COMMON:[MYSQL055.VMS]START_MYSQLD
The problem here is that the logical name that points to the LGICMD of the MYSQL account hasn't been defined before the batch job is submitted to the queue.

Code: Select all

Username: MYSQL051_SRV                     Owner:
Account:  MYSQL051                         UIC:    [37776,1] ([MYSQL051,MYSQL051
_SRV])
CLI:      DCL                              Tables: DCLTABLES
Default:  MYSQL055_ROOT:[MYSQL_SERVER]
LGICMD:   MYSQL055_ROOT:[VMS]LOGIN.COM
The fix is to edit, SYS$COMMON:[MYSQL055.VMS]START_MYSQLD.COM and move the following line,

Code: Select all

$ @'Local_DIR'Logicals
Up until just below this line,

Code: Select all

$ Username := mysql051_srv
This will ensure that the logical is defined - save, exit and reboot to test.