Hi have a problem in one Desktop it is AMD64 with FreeBSD 8.0 and KDE 4.4.2.<br><br>It compile everythin fine after some suport from this mailing list.<br><br>My main problem now is it akonadi, i&#39;0m losing my hair trying to resolve this damn problem with akonadi.<br>
<br>It a PITA that without akonadi we cannot use Kmail, there should be a workaround to start kmail without akonadi, lots of emails and I can&#39;t read....<br><br>The problem is I&#39;ve followed everything it is in the ARE51 updating text file but akonadi everything I start it show-me the following errors:<br>
<br><br>&quot;<br>Akonadi Server Self-Test Report<br>===============================<br><br>Test 1:  SUCCESS<br>--------<br><br>Database driver found.<br>Details: The QtSQL driver &#39;QMYSQL&#39; is required by your current Akonadi server configuration and was found on your system.<br>
<br>File content of &#39;/home/mauro/.config/akonadi/akonadiserverrc&#39;:<br>[%General]<br>Driver=QMYSQL<br>SizeThreshold=4096<br>ExternalPayload=false<br><br>[QMYSQL]<br>Name=akonadi<br>User=<br>Password=<br>Options=&quot;UNIX_SOCKET=/home/mauro/.local/share/akonadi/db_misc/mysql.socket&quot;<br>
ServerPath=/usr/local/bin/mysqld_safe<br>StartServer=true<br>Host=<br><br>[Debug]<br>Tracer=null<br><br>[QPSQL]<br>Name=akonadi<br>Host=<br>User=<br>Password=<br>Port=5432<br><br><br>Test 2:  SUCCESS<br>--------<br><br>MySQL server found.<br>
Details: You currently have configured Akonadi to use the MySQL server &#39;/usr/local/bin/mysqld_safe&#39;.<br>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 &#39;mysqld&#39;, its locations varies depending on the distribution.<br>
<br>Test 3:  SUCCESS<br>--------<br><br>MySQL server is executable.<br>Details: MySQL server found: /usr/local/bin/mysqld_safe: cannot create /var/db/mysql/tech3.err: Permission denied<br>rm: /var/db/mysql/tech3.pid: Permission denied<br>
eval: cannot create /var/db/mysql/tech3.err: Permission denied<br>tee: /var/db/mysql/tech3.err: Permission denied<br>tee: /var/db/mysql/tech3.err: Permission denied<br>Starting mysqld daemon with databases from /var/db/mysql<br>
STOPPING server from pid file /var/db/mysql/tech3.pid<br>100405 14:33:23  mysqld ended<br><br><br><br>Test 4:  SUCCESS<br>--------<br><br>No current MySQL error log found.<br>Details: The MySQL server did not report any errors during this startup into &#39;/usr/local/kde4/share/akonadi/db_data/mysql.err&#39;.<br>
<br>Test 5:  SUCCESS<br>--------<br><br>MySQL server default configuration found.<br>Details: The default configuration for the MySQL server was found and is readable at &lt;a href=&#39;/usr/local/kde4/share/config/akonadi/mysql-global.conf&#39;&gt;/usr/local/kde4/share/config/akonadi/mysql-global.conf&lt;/a&gt;.<br>
<br>File content of &#39;/usr/local/kde4/share/config/akonadi/mysql-global.conf&#39;:<br>#<br># Global Akonadi MySQL server settings,<br># These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf<br>#<br>
# Based on advice by Kris Köhntopp &lt;<a href="mailto:kris@mysql.com">kris@mysql.com</a>&gt;<br>#<br>[mysqld]<br>skip_grant_tables<br>skip_networking<br><br># strict query parsing/interpretation<br># TODO: make Akonadi work with those settings enabled<br>
#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<br>#sql_mode=strict_trans_tables<br>
<br># use InnoDB for transactions and better crash recovery<br>default_storage_engine=innodb<br># case-insensitive table names, avoids trouble on windows<br>lower_case_table_names=1<br>character_set_server=latin1<br>collation_server=latin1_general_ci<br>
table_cache=200<br>thread_cache_size=3<br>log_bin=mysql-bin<br>expire_logs_days=3<br>#sync_bin_log=0<br># error log file name, relative to datadir<br>log_error=mysql.err<br>log_warnings=2<br># log all queries, useful for debugging but generates an enormous amount of data<br>
#log=mysql.full<br># log queries slower than n seconds, log file name relative to datadir (for debugging only)<br>#log_slow_queries=mysql.slow<br>#long_query_time=1<br># log queries not using indices, debug only, disable for production use<br>
#log_queries_not_using_indexes=1<br># maximum blob size<br>max_allowed_packet=32M<br>max_connections=256<br># makes sense when having the same query multiple times<br># makes no sense with prepared statements and/or transactions<br>
query_cache_type=0<br>query_cache_size=0<br><br>innodb_file_per_table=1<br>innodb_log_buffer_size=1M<br>innodb_additional_mem_pool_size=1M<br># messure database size and adjust<br># SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in (&quot;mysql&quot;, &quot;information_schema&quot;);<br>
innodb_buffer_pool_size=80M<br># size of average write burst, keep Innob_log_waits small, keep Innodb_buffer_pool_wait_free small (see show global status like &quot;inno%&quot;, show global variables)<br>innodb_log_file_size=64M<br>
innodb_flush_log_at_trx_commit=2<br><br><br><br>Test 6:  SKIP<br>--------<br><br>MySQL server custom configuration not available.<br>Details: The custom configuration for the MySQL server was not found but is optional.<br>
<br>Test 7:  SUCCESS<br>--------<br><br>MySQL server configuration is usable.<br>Details: The MySQL server configuration was found at &lt;a href=&#39;/usr/local/kde4/share/akonadi/mysql.conf&#39;&gt;/usr/local/kde4/share/akonadi/mysql.conf&lt;/a&gt; and is readable.<br>
<br>File content of &#39;/usr/local/kde4/share/akonadi/mysql.conf&#39;:<br>#<br># Global Akonadi MySQL server settings,<br># These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf<br>#<br># Based on advice by Kris Köhntopp &lt;<a href="mailto:kris@mysql.com">kris@mysql.com</a>&gt;<br>
#<br>[mysqld]<br>skip_grant_tables<br>skip_networking<br><br># strict query parsing/interpretation<br># TODO: make Akonadi work with those settings enabled<br>#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<br>
#sql_mode=strict_trans_tables<br><br># use InnoDB for transactions and better crash recovery<br>default_storage_engine=innodb<br># case-insensitive table names, avoids trouble on windows<br>lower_case_table_names=1<br>character_set_server=latin1<br>
collation_server=latin1_general_ci<br>table_cache=200<br>thread_cache_size=3<br>log_bin=mysql-bin<br>expire_logs_days=3<br>#sync_bin_log=0<br># error log file name, relative to datadir<br>log_error=mysql.err<br>log_warnings=2<br>
# log all queries, useful for debugging but generates an enormous amount of data<br>#log=mysql.full<br># log queries slower than n seconds, log file name relative to datadir (for debugging only)<br>#log_slow_queries=mysql.slow<br>
#long_query_time=1<br># log queries not using indices, debug only, disable for production use<br>#log_queries_not_using_indexes=1<br># maximum blob size<br>max_allowed_packet=32M<br>max_connections=256<br># makes sense when having the same query multiple times<br>
# makes no sense with prepared statements and/or transactions<br>query_cache_type=0<br>query_cache_size=0<br><br>innodb_file_per_table=1<br>innodb_log_buffer_size=1M<br>innodb_additional_mem_pool_size=1M<br># messure database size and adjust<br>
# SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in (&quot;mysql&quot;, &quot;information_schema&quot;);<br>innodb_buffer_pool_size=80M<br># size of average write burst, keep Innob_log_waits small, keep Innodb_buffer_pool_wait_free small (see show global status like &quot;inno%&quot;, show global variables)<br>
innodb_log_file_size=64M<br>innodb_flush_log_at_trx_commit=2<br><br><br><br>Test 8:  SUCCESS<br>--------<br><br>akonadictl found and usable<br>Details: The program &#39;/usr/local/kde4/bin/akonadictl&#39; to control the Akonadi server was found and could be executed successfully.<br>
Result:<br>Akonadi 1.3.1<br><br><br>Test 9:  ERROR<br>--------<br><br>Akonadi control process not registered at D-Bus.<br>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.<br>
<br>Test 10:  ERROR<br>--------<br><br>Akonadi server process not registered at D-Bus.<br>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.<br>
<br>Test 11:  SUCCESS<br>--------<br><br>Nepomuk search service registered at D-Bus.<br>Details: The Nepomuk search service is registered at D-Bus which typically indicates it is operational.<br><br>Test 12:  SUCCESS<br>--------<br>
<br>Nepomuk search service uses an appropriate backend. <br>Details: The Nepomuk search service uses one of the recommended backends.<br><br>Test 13:  SKIP<br>--------<br><br>Protocol version check not possible.<br>Details: Without a connection to the server it is not possible to check if the protocol version meets the requirements.<br>
<br>Test 14:  ERROR<br>--------<br><br>No resource agents found.<br>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: &#39;/usr/local/kde4/share/akonadi/agents /usr/local/kde4/share/akonadi/agents /usr/local/kde4/share/akonadi/agents&#39;. The XDG_DATA_DIRS environment variable is set to &#39;/usr/local/kde4/share:/usr/local/kde4/share:/usr/share:/usr/local/share:/usr/local/share/gnome&#39;, make sure this includes all paths where Akonadi agents are installed to.<br>
<br>Directory listing of &#39;/usr/local/kde4/share/akonadi/agents&#39;:<br>birthdaysresource.desktop<br>contactsresource.desktop<br>icalresource.desktop<br>imapresource.desktop<br>kabcresource.desktop<br>kcalresource.desktop<br>
knutresource.desktop<br>kolabproxyresource.desktop<br>localbookmarksresource.desktop<br>maildirresource.desktop<br>maildispatcheragent.desktop<br>mboxresource.desktop<br>microblog.desktop<br>mtdummyresource.desktop<br>nepomukcalendarfeeder.desktop<br>
nepomukcontactfeeder.desktop<br>nepomuktagresource.desktop<br>nntpresource.desktop<br>notesresource.desktop<br>pop3resource.desktop<br>vcarddirresource.desktop<br>vcardresource.desktop<br>Directory listing of &#39;/usr/local/kde4/share/akonadi/agents&#39;:<br>
birthdaysresource.desktop<br>contactsresource.desktop<br>icalresource.desktop<br>imapresource.desktop<br>kabcresource.desktop<br>kcalresource.desktop<br>knutresource.desktop<br>kolabproxyresource.desktop<br>localbookmarksresource.desktop<br>
maildirresource.desktop<br>maildispatcheragent.desktop<br>mboxresource.desktop<br>microblog.desktop<br>mtdummyresource.desktop<br>nepomukcalendarfeeder.desktop<br>nepomukcontactfeeder.desktop<br>nepomuktagresource.desktop<br>
nntpresource.desktop<br>notesresource.desktop<br>pop3resource.desktop<br>vcarddirresource.desktop<br>vcardresource.desktop<br>Directory listing of &#39;/usr/local/kde4/share/akonadi/agents&#39;:<br>birthdaysresource.desktop<br>
contactsresource.desktop<br>icalresource.desktop<br>imapresource.desktop<br>kabcresource.desktop<br>kcalresource.desktop<br>knutresource.desktop<br>kolabproxyresource.desktop<br>localbookmarksresource.desktop<br>maildirresource.desktop<br>
maildispatcheragent.desktop<br>mboxresource.desktop<br>microblog.desktop<br>mtdummyresource.desktop<br>nepomukcalendarfeeder.desktop<br>nepomukcontactfeeder.desktop<br>nepomuktagresource.desktop<br>nntpresource.desktop<br>
notesresource.desktop<br>pop3resource.desktop<br>vcarddirresource.desktop<br>vcardresource.desktop<br><br>Environment variable XDG_DATA_DIRS is set to &#39;/usr/local/kde4/share:/usr/local/kde4/share:/usr/share:/usr/local/share:/usr/local/share/gnome&#39;<br>
<br>Test 15:  ERROR<br>--------<br><br>Current Akonadi server error log found.<br>Details: The Akonadi server did report error during startup into &lt;a href=&#39;/usr/local/kde4/share/akonadi/akonadiserver.error&#39;&gt;/usr/local/kde4/share/akonadi/akonadiserver.error&lt;/a&gt;.<br>
<br>File content of &#39;/usr/local/kde4/share/akonadi/akonadiserver.error&#39;:<br>Database process exited unexpectedly during initial connection! <br>executable: &quot;/usr/local/bin/mysqld_safe&quot; <br>arguments: (&quot;--defaults-file=/usr/local/kde4/share/akonadi//mysql.conf&quot;, &quot;--datadir=/usr/local/kde4/share/akonadi/db_data/&quot;, &quot;--socket=/usr/local/kde4/share/akonadi/db_misc/mysql.socket&quot;) <br>
stdout: &quot;A mysqld process already exists<br>&quot; <br>stderr: &quot;&quot; <br>exit code: 1 <br>process error: &quot;Unknown error&quot; <br><br><br>Test 16:  ERROR<br>--------<br><br>Previous Akonadi server error log found.<br>
Details: The Akonadi server did report error during its previous startup into &lt;a href=&#39;/usr/local/kde4/share/akonadi/akonadiserver.error.old&#39;&gt;/usr/local/kde4/share/akonadi/akonadiserver.error.old&lt;/a&gt;.<br>
<br>File content of &#39;/usr/local/kde4/share/akonadi/akonadiserver.error.old&#39;:<br>Database process exited unexpectedly during initial connection! <br>executable: &quot;/usr/local/bin/mysqld_safe&quot; <br>arguments: (&quot;--defaults-file=/usr/local/kde4/share/akonadi//mysql.conf&quot;, &quot;--datadir=/usr/local/kde4/share/akonadi/db_data/&quot;, &quot;--socket=/usr/local/kde4/share/akonadi/db_misc/mysql.socket&quot;) <br>
stdout: &quot;A mysqld process already exists<br>&quot; <br>stderr: &quot;&quot; <br>exit code: 1 <br>process error: &quot;Unknown error&quot; <br><br><br>Test 17:  SUCCESS<br>--------<br><br>No current Akonadi control error log found.<br>
Details: The Akonadi control process did not report any errors during its current startup.<br><br>Test 18:  SUCCESS<br>--------<br><br>No previous Akonadi control error log found.<br>Details: The Akonadi control process did not report any errors during its previous startup.<br>
&quot;<br><br>I have the agents installed if I do and ls a can see the agents listed, I also have Dbus installed, and I can start akonadi from the command line:<br><br>akonadictl start<br>Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)<br>
Starting Akonadi Server...<br>   done.<br>[mauro@tech3]$ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)<br>[akonadiserver] search paths:  (&quot;/sbin&quot;, &quot;/bin&quot;, &quot;/usr/sbin&quot;, &quot;/usr/local/kde4/bin&quot;, &quot;/usr/bin&quot;, &quot;/usr/games&quot;, &quot;/usr/local/sbin&quot;, &quot;/usr/local/bin&quot;, &quot;/home/mauro/bin&quot;, &quot;/usr/sbin&quot;, &quot;/usr/local/sbin&quot;, &quot;/usr/local/libexec&quot;, &quot;/usr/libexec&quot;, &quot;/opt/mysql/libexec&quot;, &quot;/opt/local/lib/mysql5/bin&quot;)<br>
[akonadiserver] Database process exited unexpectedly during initial connection!<br>[akonadiserver] executable: &quot;/usr/local/bin/mysqld_safe&quot;<br>[akonadiserver] arguments: (&quot;--defaults-file=/usr/local/kde4/share/akonadi//mysql.conf&quot;, &quot;--datadir=/usr/local/kde4/share/akonadi/db_data/&quot;, &quot;--socket=/usr/local/kde4/share/akonadi/db_misc/mysql.socket&quot;)<br>
[akonadiserver] stdout: &quot;A mysqld process already exists<br>[akonadiserver] &quot;<br>[akonadiserver] stderr: &quot;&quot;<br>[akonadiserver] exit code: 1<br>[akonadiserver] process error: &quot;Unknown error&quot;<br>
ProcessControl: Application &#39;akonadiserver&#39; stopped unexpected (Process crashed)<br>Application &#39;akonadiserver&#39; crashed to often. Giving up!<br><br>But it stops with a simple error like &quot;Process error&quot;.<br>
<br><br>I&#39;ve done:<br><br><pre># pkg_delete -f redland-\*<br># portmaster raptor<br><br>I have virtuoso installed but not running,<br><br>And I also have done:<br><br># pkg_delete -f kdebase-\*4\* kdepim-\*4\*<br># portmaster -a<br>
<br>Lots of times but akonadi don&#39;t work.<br><br>Anyone have any clue how to fix this ?? I&#39;d like to get my mails back.<br><br>Tank you<br><br>MV<br><br></pre><br>