[kdepim-users] Trouble starting konadi database.
Anders Lund
anders at alweb.dk
Thu May 26 15:03:27 BST 2016
Hi John,
Just remove all the akonadi data and configuration from your system (don't
forget to back up), after all akonadi is not where your actual data is kept.
Just make sure you know the data required to access your accounts.
Kindly,
Anders
tirsdag den 24. maj 2016 22.36.09 CEST skrev John Beatty:
> To whom ever might be able to help,
> I'm trying to get kontact to run. I launch the command it simply gives
> me the following message "The Akonadi personal information management
> service is not operational."
>
> I've tried to search the web for possible solutions and I can't seem to
> find one that matches my problem. As background this system has been
> upgraded from 14.04 to 14.10 to 15.04 to 15.10 to 16.04 and its beta
> versions inbetween.
>
> To get more information I attempted to run it by the comand line and it
> gives me a long list of errors. See below.
> The first thing that I see that might be a possible problem is
> "connection config file 'akonadi/akonadiconnectionrc' can not be found".
> Its not there. Is this something I'm missing and if so how do I generate
> it?
>
> Further down the output is "mysqld: [ERROR] Could not open required
> defaults file: /etc/xdg/akonadi/mysql-global.conf". That file is there
> and here is the listing:
> ls -l /etc/xdg/akonadi/mysql-global.conf
> -rw-r--r-- 1 root root 3659 Apr 20 04:42 /etc/xdg/akonadi/mysql-global.conf
>
> Thanks in advance,
> John B.
>
> ============================================================================
> ======================= Running kontact from the terminal:
> "kontact
> "KMail Kernel ETM"
> executing akonadi_control
> ""
> Akonadi Client Session: connection config file
> 'akonadi/akonadiconnectionrc' can not be found in "/home/beatty/.config"
> nor in any of ("/etc/xdg/xdg-plasma", "/etc/xdg",
> "/usr/share/kubuntu-default-settings/kf5-settings")
> connectToServer "/home/beatty/.local/share/akonadi/akonadiserver.socket"
> Akonadi Client Session: connection config file
> 'akonadi/akonadiconnectionrc' can not be found in "/home/beatty/.config"
> nor in any of ("/etc/xdg/xdg-plasma", "/etc/xdg",
> "/usr/share/kubuntu-default-settings/kf5-settings")
> connectToServer "/home/beatty/.local/share/akonadi/akonadiserver.socket"
> log_kidentitymanagement: IdentityManager: There was no default identity.
> Marking first one as default.
> Connecting to deprecated signal
> QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
> search paths: ("/opt/android-sdk-linux/tools",
> "/opt/android-sdk-linux/platform-tools", "/home/beatty/bin",
> "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin",
> "/bin", "/usr/games", "/usr/local/games", "/snap/bin", "/usr/sbin",
> "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec",
> "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
> Found mysql_install_db: "/usr/bin/mysql_install_db"
> Found mysqlcheck: "/usr/bin/mysqlcheck"
> Akonadi server is already starting up
> Akonadi server is already starting up
> Akonadi server is already starting up
> Akonadi server is already starting up
> Akonadi server is already starting up
> 2016-05-24 22:17:53 [WARNING] mysql_install_db is deprecated. Please
> consider switching to mysqld --initialize
> 2016-05-24 22:17:53 [ERROR] Child process: /usr/sbin/mysqldterminated
> prematurely with errno= 32
> 2016-05-24 22:17:53 [ERROR] Failed to execute /usr/sbin/mysqld
> --defaults-file=/etc/xdg/akonadi/mysql-global.conf --bootstrap
> --datadir=/home/beatty/.local/share/akonadi/db_data
> --lc-messages-dir=/usr/share/mysql --lc-messages=en_US --basedir=/usr
> -- server log begin --
> mysqld: [ERROR] Could not open required defaults file:
> /etc/xdg/akonadi/mysql-global.conf
> mysqld: [ERROR] Fatal error in defaults handling. Program aborted!
>
> -- server log end --
> Akonadi server is already starting up
> Akonadi server is already starting up
> Akonadi server is already starting up
> Akonadi server is already starting up
> Akonadi server is already starting up
> Akonadi server is already starting up
> "KAddressBook::GlobalContactSession"
> Akonadi server is already starting up
> Akonadi Client Session: connection config file
> 'akonadi/akonadiconnectionrc' can not be found in "/home/beatty/.config"
> nor in any of ("/etc/xdg/xdg-plasma", "/etc/xdg",
> "/usr/share/kubuntu-default-settings/kf5-settings")
> connectToServer "/home/beatty/.local/share/akonadi/akonadiserver.socket"
> Akonadi server is already starting up
> Socket error occurred: "QLocalSocket::connectToServer: Invalid name"
> 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:
> Akonadi server is already starting up
> Akonadi server is already starting up
> Akonadi server is already starting up
> Akonadi server is already starting up
> org.kde.akonadi.ETM: GEN true false true
> org.kde.akonadi.ETM: collection: QVector()
> org.kde.akonadi.ETM: GEN true false true
> org.kde.akonadi.ETM: collection: QVector()
> org.kde.akonadi.ETM: GEN true false true
> org.kde.akonadi.ETM: collection: QVector()
> Socket error occurred: "QLocalSocket::connectToServer: Invalid name"
> org.kde.akonadi.ETM: GEN true false true
> org.kde.akonadi.ETM: collection: QVector()
> QObject::connect: No such signal
> QDBusAbstractInterface::iconChanged(bool,QString,QString)
> Akonadi server is already starting up
> Akonadi server is already starting up
> Akonadi server is already starting up
> finishedLoading "file:///usr/share/kf5/infopage/kde_infopage.css"
> finishedLoading "file:///usr/share/akregator/about/akregator.css"
> "http://www.kde.org/dotkdeorg.rdf"
> "https://www.linux.com/rss/feeds.php"
> "http://planetkde.org/rss20.xml"
> "http://pim.planetkde.org/rss20.xml"
> "http://www.kde.org/dot/kde-apps-content.rdf"
> "http://www.kde.org/kde-look-content.rdf"
> "http://planet.kde-espana.org/atom.xml"
> "http://planet.ubuntu.com/rss20.xml"
> "http://feeds.feedburner.com/ubuntu-fridge"
> "http://www.kubuntu.org/news/feed"
> "http://wire.kubuntu.org/?feed=rss2"
> log_akregator: Couldn't reach favicon service. Request favicon for
> QUrl("http://www.kde.org/") failed
> log_akregator: Couldn't reach favicon service. Request favicon for
> QUrl("http://planet.ubuntu.com/") failed
> log_akregator: Couldn't reach favicon service. Request favicon for
> QUrl("http://www.linux.com/") failed
> log_akregator: Couldn't reach favicon service. Request favicon for
> QUrl("http://pim.planetkde.org/") failed
> log_akregator: Couldn't reach favicon service. Request favicon for
> QUrl("http://planet.kde-espana.org/") failed
> log_akregator: Couldn't reach favicon service. Request favicon for
> QUrl("http://feeds.feedburner.com/") failed
> log_akregator: Couldn't reach favicon service. Request favicon for
> QUrl("http://www.kubuntu.org/") failed
> log_akregator: Couldn't reach favicon service. Request favicon for
> QUrl("http://wire.kubuntu.org/") failed
> log_akregator: Couldn't reach favicon service. Request favicon for
> QUrl("http://planetkde.org/") failed
> log_akregator: Couldn't reach favicon service. Request favicon for
> QUrl("http://www.kde.org/") failed
> log_akregator: Couldn't reach favicon service. Request favicon for
> QUrl("http://www.kde.org/") failed
> Database process exited unexpectedly during initial connection!
> executable: "/usr/sbin/mysqld-akonadi"
> arguments:
> ("--defaults-file=/home/beatty/.local/share/akonadi/mysql.conf",
> "--datadir=/home/beatty/.local/share/akonadi/db_data/",
> "--socket=/tmp/akonadi-beatty.zbq90U/mysql.socket")
> stdout: ""
> stderr: "mysqld: [ERROR] Could not open required defaults file:
> /home/beatty/.local/share/akonadi/mysql.conf\nmysqld: [ERROR] Fatal
> error in defaults handling. Program aborted!\n"
> exit code: 1
> process error: "Unknown error"
> terminating service threads
> terminating connection threads
> stopping db process
> mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket
> '/tmp/akonadi-beatty.zbq90U/mysql.socket' (2)'
> Check that mysqld is running and that the socket:
> '/tmp/akonadi-beatty.zbq90U/mysql.socket' exists!
> Failed to remove Unix socket
> Failed to remove runtime connection config file
> Application 'akonadiserver' exited normally...
> ============== SESSION: Server state changed to 4
> Job error: "Unknown error." for collection: QVector()
>
> Job error: "Unknown error." for collection: QVector()
>
> ============== SESSION: Server state changed to 4
> log_messagelist: Failed to load tags "Unknown error."
> log_mailcommon: failed to retrieve tags "Unknown error."
> log_kmail: "Unknown error."
> Job error: "Unknown error." for collection: QVector()
>
> Job error: "Unknown error." for collection: QVector()
>
> Job error: "Unknown error." for collection: QVector()
>
> "Unknown error."
> 4
> ============== SESSION: Server state changed to 4
> Job error: "Unknown error." for collection: QVector()
>
> Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )
> Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] Position( 0x0
> "null" : 0 ) Position( 0x0 "null" : 0 )
>
> Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )
> Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] 0
>
> [character:baseIsStart] true Position( 0x0 "null" : 0 ) Position( 0x0
> "null" : 0 )
>
> less /etc/xdg/akonadi/mysql-global.conf
> 0x2492c08 deleted without having been removed from the factory first.
> This will leak standalone popupmenus and could lead to crashes.
> 0x235ff38 deleted without having been removed from the factory first.
> This will leak standalone popupmenus and could lead to crashes.
> 0x24718f0 deleted without having been removed from the factory first.
> This will leak standalone popupmenus and could lead to crashes.
> 0x24a8848 deleted without having been removed from the factory first.
> This will leak standalone popupmenus and could lead to crashes.
> 0x24ccd78 deleted without having been removed from the factory first.
> This will leak standalone popupmenus and could lead to crashes.
> 0x24b97a8 deleted without having been removed from the factory first.
> This will leak standalone popupmenus and could lead to crashes.
> 0x24e48a8 deleted without having been removed from the factory first.
> This will leak standalone popupmenus and could lead to crashes.
> 0x2453b28 deleted without having been removed from the factory first.
> This will leak standalone popupmenus and could lead to crashes.
> 0x24b6810 deleted without having been removed from the factory first.
> This will leak standalone popupmenus and could lead to crashes."
>
>
> _______________________________________________
> KDE PIM users mailing list
> Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
More information about the kdepim-users
mailing list