debugging

akonadictl: org.kde.pim.akonadiserver: process error: "Unknown error"

Error

When starting akonadictl, we get the following error:


$ akonadictl start
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=~/.local/share/akonadi/mysql.conf", "--datadir=~/.local/share/akonadi/db_data/", "--socket=/run/user/1001/akonadi/mysql.socket", "--pid-file=/run/user/1001/akonadi/mysql.pid")

/etc/portage/env/debugsyms.conf

This file is suggested within the Gentoo wiki, to help with software development and for debugging purposes:

Possible content of the file:

# https://wiki.gentoo.org/wiki/Debugging#Install_debugging_information
CFLAGS="${CFLAGS} -ggdb"
CXXFLAGS="${CXXFLAGS} -ggdb"
FEATURES="${FEATURES} splitdebug compressdebug -nostrip"
USE="debug"

See also

Debugging grub

Table of Contents

Here are some tips for debugging strategies for grub.

During the boot process, you can press the Pause|Break key on your keyboard, and press Return to resume.

echo

See in the manual: 14.3.13 echo.

Use echo statements:

echo    'Loading initial ramdisk...'

or:

if [ -e /boot/grub/example/test1.cfg ]; then
    echo "Here"
else
    echo "There"
fi

configuration file

See also in the official manual the section: "5.4 Embedding a configuration file into GRUB".

Logs

bash: debugging

Check the use of:

set -o verbose
set -v
set -x

Syndicate content