[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Kmail in unstable



Moin,

Kmail funktionniert bei mir in unstable nicht mehr:

$kmail
org.kde.pim.akonadicore: "QLocalSocket::connectToServer: Invalid name" "/home/
klaus/.local/share/akonadi/akonadiserver-cmd.socket"
Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
org.kde.pim.akonadiserver: Did not find MySQL server default configuration 
(mysql-global.conf)
org.kde.pim.akonadiserver: Failed to remove runtime connection config file                                     
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...                                     
kf5.kwidgetsaddons: Invalid pixmap specified.                                                                                                                         
org.kde.pim.messagelist: Saved theme loading failed                                                                                                                            
org.kde.pim.akonadicore: Socket error occurred: 
"QLocalSocket::connectToServer: Invalid name"                                  
org.kde.akonadi.ETM: GEN true false false                                                                      
org.kde.akonadi.ETM: collection: QVector()                                                                     
org.kde.akonadi.ETM:                                                                                           
"Tag 'a' is not defined in message {<__kuit_internal_top__>KMail has many 
powerful features that are described in th...}."                                                                                                    
"Tag 'br' is not defined in message {<__kuit_internal_top__>Thank you,<br/>The 
KMail Team</__kuit_internal_top__>}."                                                                                                          
org.kde.pim.akonadicore: Job error:  "Unknown error." for collection: 
QVector()                                                                                                                                                                                                                                                                          
org.kde.pim.messagelist: Failed to load tags  "Unknown error."                                                 
org.kde.pim.kmail: "Unknown error."
QObject::disconnect: Unexpected null parameter
QCoreApplication::postEvent: Unexpected null receiver 

===============

Das Problem ist offensichtlich akonadi:

$ akonadictl start
Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
~$ org.kde.pim.akonadiserver: Did not find MySQL server default configuration 
(mysql-global.conf)
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...

================



Akonadi Server Self-Test Report

Test 1:  ERROR
--------

Database driver not found.
Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server 
configuration.
The following drivers are installed: QSQLITE, QSQLITE3.
Make sure the required driver is installed.

File content of '/home/klaus/.config/akonadi/akonadiserverrc':
[Debug]
Tracer=null

[%General]
Driver=QMYSQL

[QMYSQL]
Host=
Name=akonadi
Options="UNIX_SOCKET=/tmp/akonadi-klaus.gEsobM/mysql.socket"
ServerPath=/usr/sbin/mysqld
StartServer=true


Test 2:  SUCCESS
--------

Akonadi is not running as root
Details: Akonadi is not running as a root/administrator user, which is the 
recommended setup for a secure system.

Test 3:  SUCCESS
--------

MySQL server found.
Details: You have currently configured Akonadi to use the MySQL server '/usr/
sbin/mysqld'.
Make sure you have the MySQL server installed, set the correct path and ensure 
you have the necessary read and execution rights on the server executable. The 
server executable is typically called 'mysqld'; its location varies depending 
on the distribution.

Test 4:  SUCCESS
--------

MySQL server is executable.
Details: MySQL server found: ERROR: ld.so: object '/opt/lib/libmediaclient.so' 
from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): 
ignored.
/usr/sbin/mysqld  Ver 10.1.29-MariaDB-6 for debian-linux-gnu on x86_64 (Debian 
buildd-unstable)


Test 5:  WARNING
--------

MySQL server log contains warnings.
Details: The MySQL server log file '<a href="/home/klaus/.local/share/akonadi/
db_data/mysql.err">/home/klaus/.local/share/akonadi/db_data/mysql.err</a>' 
contains warnings.

File content of '/home/klaus/.local/share/akonadi/db_data/mysql.err':
2018-02-17  9:09:16 140265625368832 [Note] InnoDB: 
innodb_empty_free_list_algorithm has been changed to legacy because of small 
buffer pool size. In order to use backoff, increase buffer pool at least up to 
20MB.

2018-02-17  9:09:16 140265625368832 [Note] InnoDB: Using mutexes to ref count 
buffer pool pages
2018-02-17  9:09:16 140265625368832 [Note] InnoDB: The InnoDB memory heap is 
disabled
2018-02-17  9:09:16 140265625368832 [Note] InnoDB: Mutexes and rw_locks use 
GCC atomic builtins
2018-02-17  9:09:16 140265625368832 [Note] InnoDB: GCC builtin 
__atomic_thread_fence() is used for memory barrier
2018-02-17  9:09:16 140265625368832 [Note] InnoDB: Compressed tables use zlib 
1.2.8
2018-02-17  9:09:16 140265625368832 [Note] InnoDB: Using Linux native AIO
2018-02-17  9:09:16 140265625368832 [Note] InnoDB: Using generic crc32 
instructions
2018-02-17  9:09:16 140265625368832 [Note] InnoDB: Initializing buffer pool, 
size = 128.0M
2018-02-17  9:09:16 140265625368832 [Note] InnoDB: Completed initialization of 
buffer pool
2018-02-17  9:09:16 140265625368832 [Note] InnoDB: Highest supported file 
format is Barracuda.
2018-02-17  9:09:17 140265625368832 [Note] InnoDB: 128 rollback segment(s) are 
active.
2018-02-17  9:09:17 140265625368832 [Note] InnoDB: Waiting for purge to start
2018-02-17  9:09:17 140265625368832 [Note] InnoDB:  Percona XtraDB (http://
www.percona.com) 5.6.36-82.1 started; log sequence number 7190475093
2018-02-17  9:09:17 140265033561856 [Note] InnoDB: Dumping buffer pool(s) not 
yet started
2018-02-17  9:09:17 140265625368832 [Note] Plugin 'FEEDBACK' is disabled.
2018-02-17  9:09:17 140265624931072 [Warning] Failed to load slave replication 
state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtid_slave_pos' 
doesn't exist
2018-02-17  9:09:17 140265625368832 [Note] Reading of all Master_info entries 
succeded
2018-02-17  9:09:17 140265625368832 [Note] Added new Master_info '' to hash 
table
2018-02-17  9:09:17 140265625368832 [Note] /usr/sbin/mysqld: ready for 
connections.
Version: '10.1.26-MariaDB-0+deb9u1'  socket: '/tmp/akonadi-klaus.m30td2/
mysql.socket'  port: 0  Debian 9.1
2018-02-17 19:04:31 140265624324864 [Note] /usr/sbin/mysqld: Normal shutdown

2018-02-17 19:04:31 140265100650240 [Note] InnoDB: FTS optimize thread 
exiting.
2018-02-17 19:04:31 140265624324864 [Note] InnoDB: Starting shutdown...
2018-02-17 19:04:32 140265624324864 [Note] InnoDB: Waiting for page_cleaner to 
finish flushing of buffer pool
2018-02-17 19:04:33 140265624324864 [Note] InnoDB: Shutdown completed; log 
sequence number 7191980151
2018-02-17 19:04:33 140265624324864 [Note] /usr/sbin/mysqld: Shutdown complete



Test 6:  ERROR
--------

MySQL server default configuration not found.
Details: The default configuration for the MySQL server was not found or was 
not readable. Check your Akonadi installation is complete and you have all 
required access rights.

Test 7:  SKIP
--------

MySQL server custom configuration not available.
Details: The custom configuration for the MySQL server was not found but is 
optional.

Test 8:  SUCCESS
--------

MySQL server configuration is usable.
Details: The MySQL server configuration was found at <a href="/home/
klaus/.local/share/akonadi/mysql.conf">/home/klaus/.local/share/akonadi/
mysql.conf</a> and is readable.

File content of '/home/klaus/.local/share/akonadi/mysql.conf':
#
# Global Akonadi MySQL server settings,
# These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf
#
# Based on advice by Kris Köhntopp <kris@mysql.com>
#
[mysqld]

# strict query parsing/interpretation
# TODO: make Akonadi work with those settings enabled
# 
sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat
# sql_mode=strict_trans_tables

# DEBUGGING:
# log all queries, useful for debugging but generates an enormous amount of 
data
# log=mysql.full
# log queries slower than n seconds, log file name relative to datadir (for 
debugging only)
# log_slow_queries=mysql.slow
# long_query_time=1
# log queries not using indices, debug only, disable for production use
# log_queries_not_using_indexes=1
#
# mesure database size and adjust innodb_buffer_pool_size
# SELECT sum(data_length) as bla, sum(index_length) as blub FROM 
information_schema.tables WHERE table_schema not in ("mysql", 
"information_schema");

# NOTES:
# Keep Innob_log_waits and keep Innodb_buffer_pool_wait_free small (see show 
global status like "inno%", show global variables)

#expire_logs_days=3

#sync_bin_log=0

# Use UTF-8 encoding for tables
character_set_server=utf8
collation_server=utf8_general_ci

# use InnoDB for transactions and better crash recovery
default_storage_engine=innodb

# memory pool InnoDB uses to store data dictionary information and other 
internal data structures (default:8M)
# Deprecated in MySQL >= 5.6.3, removed in 5.7 (works in MariaDB)
# innodb_additional_mem_pool_size=8M

# memory buffer InnoDB uses to cache data and indexes of its tables (default:
128M)
# Larger values means less I/O
innodb_buffer_pool_size=128M

# Create a .ibd file for each table (default:0)
innodb_file_per_table=1

# Write out the log buffer to the log file at each commit (default:1)
innodb_flush_log_at_trx_commit=2

# Buffer size used to write to the log files on disk (default:1M for builtin, 
8M for plugin)
# larger values means less I/O
innodb_log_buffer_size=1M

# Size of each log file in a log group (default:5M) larger means less I/O but 
more time for recovery.
innodb_log_file_size=64M

# # error log file name, relative to datadir (default:hostname.err)
log_error=mysql.err

# print warnings and connection errors (default:1)
log_warnings=2

# Convert table named to lowercase
lower_case_table_names=1

# Maximum size of one packet or any generated/intermediate string. (default:
1M)
max_allowed_packet=32M

# Maximum simultaneous connections allowed (default:100)
max_connections=256

# The two options below make no sense with prepared statements and/or 
transactions
# (make sense when having the same query multiple times)

# Memory allocated for caching query results (default:0 (disabled))
query_cache_size=0

# Do not cache results (default:1)
query_cache_type=0

# Do not use the privileges mechanisms
skip_grant_tables

# Do not listen for TCP/IP connections at all
skip_networking

# The number of open tables for all threads. (default:64)
table_open_cache=200

# How many threads the server should cache for reuse (default:0)
thread_cache_size=3

# wait 365d before dropping the DB connection (default:8h)
wait_timeout=31536000

# We use InnoDB, so don't let MyISAM eat up memory
key_buffer_size=16K

# KUBUNTU:
# Unset the export dir check as only the full mysql-server package creates it
secure_file_priv=

[client]
default-character-set=utf8


Test 9:  SUCCESS
--------

akonadictl found and usable
Details: The program '/usr/bin/akonadictl' to control the Akonadi server was 
found and could be executed successfully.
Result:
akonadictl 5.6.3


Test 10:  ERROR
--------

Akonadi control process not registered at D-Bus.
Details: The Akonadi control process is not registered at D-Bus which 
typically means it was not started or encountered a fatal error during 
startup.

Test 11:  ERROR
--------

Akonadi server process not registered at D-Bus.
Details: The Akonadi server process is not registered at D-Bus which typically 
means it was not started or encountered a fatal error during startup.

Test 12:  SKIP
--------

Protocol version check not possible.
Details: Without a connection to the server it is not possible to check if the 
protocol version meets the requirements.

Test 13:  ERROR
--------

No resource agents found.
Details: No resource agents have been found, Akonadi is not usable without at 
least one. This usually means that no resource agents are installed or that 
there is a setup problem. The following paths have been searched: '/usr/share/
akonadi/agents'. The XDG_DATA_DIRS environment variable is set to '/usr/share/
xfce4:/usr/local/share/:/usr/share/:/usr/share'; make sure this includes all 
paths where Akonadi agents are installed.

Directory listing of '/usr/share/akonadi/agents':
akonadiindexingagent.desktop
akonotesresource.desktop
archivemailagent.desktop
birthdaysresource.desktop
contactsresource.desktop
davgroupwareresource.desktop
facebookresource.desktop
followupreminder.desktop
googlecalendarresource.desktop
googlecontactsresource.desktop
icaldirresource.desktop
icalresource.desktop
imapresource.desktop
invitationsagent.desktop
kalarmdirresource.desktop
kalarmresource.desktop
kolabresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mailfilteragent.desktop
mboxresource.desktop
migrationagent.desktop
mixedmaildirresource.desktop
newmailnotifieragent.desktop
notesresource.desktop
openxchangeresource.desktop
pop3resource.desktop
sendlateragent.desktop
tomboynotesresource.desktop
vcarddirresource.desktop
vcardresource.desktop

Environment variable XDG_DATA_DIRS is set to '/usr/share/xfce4:/usr/local/
share/:/usr/share/:/usr/share'

Test 14:  SUCCESS
--------

No current Akonadi server error log found.
Details: The Akonadi server did not report any errors during its current 
startup.

Test 15:  ERROR
--------

Previous Akonadi server error log found.
Details: The Akonadi server reported errors during its previous startup. The 
log can be found in <a href="/home/klaus/.local/share/akonadi/
akonadiserver.error.old">/home/klaus/.local/share/akonadi/
akonadiserver.error.old</a>.

File content of '/home/klaus/.local/share/akonadi/akonadiserver.error.old':
Did not find MySQL server default configuration (mysql-global.conf)Failed to 
remove runtime connection config file

Test 16:  SUCCESS
--------

No current Akonadi control error log found.
Details: The Akonadi control process did not report any errors during its 
current startup.

Test 17:  ERROR
--------

Previous Akonadi control error log found.
Details: The Akonadi control process reported errors during its previous 
startup. The log can be found in <a href="/home/klaus/.local/share/akonadi/
akonadi_control.error.old">/home/klaus/.local/share/akonadi/
akonadi_control.error.old</a>.

File content of '/home/klaus/.local/share/akonadi/akonadi_control.error.old':
Connecting to deprecated signal 
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)Application 
'akonadiserver' exited normally...

================

Das Entscheidende ist wohl hier:

Database driver not found.
Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server 
configuration.
The following drivers are installed: QSQLITE, QSQLITE3.
Make sure the required driver is installed.

Mir ist nicht klar, ob ich da noch was installieren muss oder ob Akonadi den 
Treiber QMYSQL ander falschen Stelle sucht.


Danke für Hilfe

Klaus




Reply to: