How to run kmail (and Akonadi)

Tobias Stegmann tobias_stegmann at gmx.net
Mon Apr 5 16:27:41 CEST 2010


Hey,

here is how I got Akonadi up and running on Win7 64 bit:

> Steps to get Akonadi up and running on Windows 7
> 
> Step 1 MySQL:
> Because the installer doesn't install the MySQL package and I can't figure
> out where to put the my.cnf after manual installation of this package:
> 
> * Download the MySQL MSI installer from 
http://dev.mysql.com/downloads/mysql/ 
> * Start the installer and follow its instructions.
> * Start the MySQL Configuration Wizard: Select standard configuration and
> install MySQL as service. Choose a password. Note: If you're running into
> problems here: Make sure there is no running mysql service and your
> firewall isn't blocking port 3306 for localhost. If the configuration of
> the security settings fails: Restart the wizard and leave the current
> password field empty.
> 
> * Start the MySQL Commandline Client and log in with your password.
> * Set up a new database, e.g. CREATE DATABASE akonadi CHARACTER SET utf8;
> 
> Step 2: Setting up files and XDG_DATA_DIRS:
> 
> * Create a new enviroment variable (somewhere in the deep of the Windows
> system control center) called XDG_DATA_DIRS with following content: C:
\Program Files (x86)\KDE;C:\Program Files (x86)\KDE\share 
> * Go to share\akonadi\agents of your KDE installation and add .exe to the 
Exec value in each .desktop file, e.g. Exec=akonadi_maildispatcher_agent.exe
> 
> Step 3: Setting up Akonadi:
> 
> * Start the Akonadi Tray Utility and open the configuration dialog, switch
> to the Akonadi configuration tab. 
> * Unselect "Use internal MySQL server"
> * Configure the external MySQL server with database name 'akonadi', host
> 'localhost', username 'root' and his password. 
> * Hit the apply button and last but not least: Fire up Akonadi!

Regards,
Tobias

Am Sonntag, 4. April 2010 02:43:09 schrieb George Ruinelli:
> Dear all
> 
> I am looking forward to replace Outlook through Kmail at my working place,
> as I think kmail is much more efficient.
> 
> I installed KDE 4.4.0 stable with the latest gui installer.
> Kmail seems to start fine, how ever I did not get Akonadi to work, as it
> did not find the MYSQL server.
> After downloading it manually and extracting it into the right folder, this
> seems now to be ok, but it misses a default configuration.
> Despite of that, Akonadi is not able to register on the D-BUS.
> Do I have to start D-BUS daemon manually?
> 
> See below my error log.
> It is a WIn XP PC with most recent updates.
> 
> George
> 
> --------------8<----------------------------------------
> Akonadi Server Self-Test Report
> ===============================
> 
> Test 1:  SUCCESS
> --------
> 
> Database driver found.
> Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi
> server configuration and was found on your system.
> 
> File content of 'C:/Documents and
> Settings/*******/.config/akonadi/akonadiserverrc':
> [%General]
> Driver=QMYSQLg
> SizeThreshold=4096
> ExternalPayload=false
> 
> [QMYSQL]
> Name=akonadi
> User=
> Password=
> Options="UNIX_SOCKET=C:/Documents and
> Settings/****/.local/share/akonadi/db_misc/mysql.socket"
> ServerPath=C:/kde//bin/mysqld.exe
> StartServer=true
> Host=
> 
> [Debug]
> Tracer=null
> 
> [QPSQL]
> Name=akonadi
> Host=
> User=
> Password=
> Port=5432
> 
> 
> Test 2:  SUCCESS
> --------
> 
> MySQL server found.
> Details: You currently have configured Akonadi to use the MySQL server
> 'C:/kde//bin/mysqld.exe'.
> 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
> locations varies depending on the distribution.
> 
> Test 3:  SUCCESS
> --------
> 
> MySQL server is executable.
> Details: MySQL server found: C:\kde\\bin\mysqld.exe  Ver 5.1.36-community
> for Win32 on ia32 (MySQL Community Server (GPL))
> 
> 
> Test 4:  SUCCESS
> --------
> 
> No current MySQL error log found.
> Details: The MySQL server did not report any errors during this startup
> into 'C:/Documents and
> Settings/********/.local/share/akonadi/db_data\mysql.err'.
> 
> Test 5:  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 6:  SKIP
> --------
> 
> MySQL server custom configuration not available.
> Details: The custom configuration for the MySQL server was not found but is
> optional.
> 
> Test 7:  ERROR
> --------
> 
> MySQL server configuration not found or not readable.
> Details: The MySQL server configuration was not found or is not readable.
> 
> Test 8:  SUCCESS
> --------
> 
> akonadictl found and usable
> Details: The program 'C:/KDE/bin/akonadictl.exe' to control the Akonadi
> server was found and could be executed successfully.
> Result:
> Akonadi 1.2.0 (revision 1004479)
> 
> 
> Test 9:  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 10:  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 11:  ERROR
> --------
> 
> Nepomuk search service not registered at D-Bus.
> Details: The Nepomuk search service 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: ''.
> The XDG_DATA_DIRS environment variable is set to '', make sure this
> includes all paths where Akonadi agents are installed to.
> 
> Directory list is empty.
> 
> Environment variable XDG_DATA_DIRS is set to ''
> 
> 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:  SUCCESS
> --------
> 
> No previous Akonadi server error log found.
> Details: The Akonadi server did not report any errors during its previous
> startup.
> 
> 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:  SUCCESS
> --------
> 
> No previous Akonadi control error log found.
> Details: The Akonadi control process did not report any errors during its
> previous startup.
> 
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows



More information about the Kde-windows mailing list