Problem running cqrlog on Ubuntu 22.04

12 posts / 0 new
Last post
f6aap
Problem running cqrlog on Ubuntu 22.04

After installing Ubuntu 22.04 on my PC, I installed CQRLOG using the following commands:
sudo add-apt-repository ppa:ok2cqr/ppa;sudo apt-get update;sudo apt-get install cqrlog
When I run cqrlog I get the error: Mysql could not be started
Below is the mysql.err file

2022-10-28T15:14:27.647742Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.31-0ubuntu0.22.04.1) starting as process 18685
2022-10-28T15:14:27.648532Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
2022-10-28T15:14:27.648542Z 0 [Warning] [MY-013244] [Server] --collation-server: 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
2022-10-28T15:14:27.706549Z 0 [Warning] [MY-010075] [Server] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 36df9517-56d3-11ed-9e75-40b0344c5b5e.
2022-10-28T15:14:27.744322Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2022-10-28T15:14:27.744702Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2022-10-28T15:14:27.744757Z 0 [ERROR] [MY-010119] [Server] Aborting
2022-10-28T15:14:27.745923Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.31-0ubuntu0.22.04.1) (Ubuntu).

As indicated in a topic I deleted the /home/daniel/.config/cqrlog file but that did not change the result.
Thanks for giving me a solution,
Cordially

oh1kh
Problem running cqrlog on Ubuntu 22.04

Hi!
You have the common problem with Ubuntu. You need to replace mysqld 8.0.31-0ubuntu0.22.04.1 with MariaDB.
Look for MariaDB packages (server/client) for Ubuntu. Installing them properly should remove mysqld 8.0.31

--
Saku
OH1KH

f6aap
Hello,

Hello,
I am not an Ubuntu virtuoso.
Is the installation of mariaDB client/server from Synaptic sufficient if not how to do?

Cordially

oh1kh
Problem running cqrlog on Ubuntu 22.04

Hi
Synaptic should do it ok.

--
Saku
OH1KH

kf5wvj_Ricky
same problem running cqrlog on ubuntu 22.04

I am having the same issue. I did install the MariaDB as suggested above and this did not fix the issue.
below is the output of my err log.

2022-12-04T01:11:03.850886Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.31-0ubuntu0.22.04.1) starting as process 4379
2022-12-04T01:11:03.925619Z 0 [Warning] [MY-013242] [Server] --character-set-server: 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
2022-12-04T01:11:03.925659Z 0 [Warning] [MY-013244] [Server] --collation-server: 'utf8mb3_bin' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
2022-12-04T01:11:04.093316Z 0 [Warning] [MY-010075] [Server] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 860d5002-7370-11ed-ae6a-0013ef6f0999.
2022-12-04T01:11:04.204137Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2022-12-04T01:11:04.209859Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2022-12-04T01:11:04.209901Z 0 [ERROR] [MY-010119] [Server] Aborting
2022-12-04T01:11:04.216873Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.31-0ubuntu0.22.04.1) (Ubuntu).

Thanks and "73"

Ricky Chambers
KF5WVJ, EMA-18
VP Chickasaw Amateur Radio Association
EMA Reservist Coordinator, Desoto County
ARRL EMER Coordinator, Desoto County

oh1kh
same problem running cqrlog on ubuntu 22.04

Hi Ricky!
From your error log can be seen that MariaDB is not in use. Installing it (Server and client ) should remove Mysql 8.0 and that name should not appear to error log.
Please check your installation of MariaDB again.

--
Saku
OH1KH

kf5wvj_Ricky
SOLVED!!! same problem running cqrlog on ubuntu 22.04

What I ended up having to do because my issue happened even after installing mariadb is this, in exact order. uninstalled cqrlog, mariadb, reboot computer, reinstall cqrlog and it will install mysql by default (do not start cqrlog), immediately install maria using this command in a terminal window $ sudo apt install mariadb-server-core-10.6 mariadb-server-10.6 . this the only way to get it to work in my case.

Thanks and "73"

Ricky Chambers
KF5WVJ, EMA-18
VP Chickasaw Amateur Radio Association
EMA Reservist Coordinator, Desoto County
ARRL EMER Coordinator, Desoto County

oh1kh
SOLVED!!! same problem running cqrlog on ubuntu 22.04

Yep.
Just like this.
A bug report has been made to Ubuntu to fix cqrlog package having Mariadb as default. But it will take time before they fix that.

It should not need anything else than the sudo apt install mariadb-server-core-10.6 mariadb-server-10.6 .
No removing, and not rebooting as it is not windoze.

Main thing is that you got it working!

--
Saku
OH1KH

f6aap
Same problem running cqrlog on ubuntu 22.04

I uninstalled MYSQL then installed MARIADB

I launched CQRLOG with the debug option: below is the result

daniel@HP:~$ cqrlog --debug

(cqrlog:2646): GLib-GObject-WARNING **: 11:25:56.324: ../../../gobject/gsignal.c:2613: signal 'populate-popup' is invalid for instance '0x20d5f10' of type 'GtkCellView'

(cqrlog:2646): GLib-GObject-WARNING **: 11:25:56.324: ../../../gobject/gsignal.c:2613: signal 'populate-popup' is invalid for instance '0x20e3b80' of type 'GtkCellView'

Cqrlog Ver:2.5.2 (001) Date:2021-02-12
**** DEBUG LEVEL 0 ****
**** CHANGE WITH --debug=1 PARAMETER ****

OS:
Linux version 6.2.0-34-generic (buildd@bos03-amd64-059) (x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #34~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 7 13:12:03 UTC 2
[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$000000000041F853
$000000000045ED45
daniel@HP:~$
Can you help me to make CQRLOG operational?

73 QRO

oh1kh
Same problem running cqrlog on ubuntu 22.04

Delete file ~/.config/cqrlog/MASTER.SCP . When Cqrlog loads latest dxcc information after installation it gets bigger MASTER.SCP file than it can handle.
Removing file helps for crashing but disables Super Check Partial property.

This is fixed in latest Cqrlog source but it does not appear in any package yet.

--
Saku
OH1KH

f6aap
Same problem

Thank you for the answer .

I deleted the .config/cqrlog/MASTER.SCP file

I restarted cqrlog with the debug option and here is the result:
daniel@HP:~$ cqrlog --debug

(cqrlog:6904): GLib-GObject-WARNING **: 17:25:06.067: ../../../gobject/gsignal.c:2613: signal 'populate-popup' is invalid for instance '0x1c4fb80' of type 'GtkCellView'

(cqrlog:6904): GLib-GObject-WARNING **: 17:25:06.068: ../../../gobject/gsignal.c:2613: signal 'populate-popup' is invalid for instance '0x1c4fae0' of type 'GtkCellView'

Cqrlog Ver:2.5.2 (001) Date:2021-02-12
**** DEBUG LEVEL 0 ****
**** CHANGE WITH --debug=1 PARAMETER ****

OS:
Linux version 6.2.0-34-generic (buildd@bos03-amd64-059) (x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #34~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 7 13:12:03 UTC 2
/usr/bin/mysqld
daniel@HP:~$

oh1kh
Same problem running cqrlog on ubuntu 22.04

Hi!
Try again
You write:
cqrlog --debug
You should write:
cqrlog --debug=1
.

--
Saku
OH1KH