Results 1 to 7 of 7

Thread: Akonadi

  1. #1

    Default Akonadi

    Hi All!

    Right now I have KDE 4.3.5, soon I hope to see KDE 4.4 The only problem is that akonadi doesn't work

    Here is result of akonadictl start from konsole:
    Code:
    kolya@linux-glyy:~/.local/share/akonadi> [akonadiserver] Unable to open database "Can't connect to local MySQL server through socket '/home/kolya/.local/share/akonadi/db_misc/mysql.socket' (2) QMYSQL: Unable to connect"                                                    
    [akonadiserver] "[                                                                                                                                                                                                                                                             
    [akonadiserver] 0: akonadiserver(_Z11akBacktracev+0x35) [0x8052375]                                                                                                                                                                                                            
    [akonadiserver] 1: akonadiserver [0x805290c]                                                                                                                                                                                                                                   
    [akonadiserver] 2: [0xffffe400]                                                                                                                                                                                                                                                
    [akonadiserver] 3: [0xffffe424]                                                                                                                                                                                                                                                
    [akonadiserver] 4: /lib/libc.so.6(gsignal+0x4f) [0xb70aa0cf]                                                                                                                                                                                                                   
    [akonadiserver] 5: /lib/libc.so.6(abort+0x187) [0xb70ab9e7]                                                                                                                                                                                                                    
    [akonadiserver] 6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x94) [0xb74051c4]                                                                                                                                                                               
    [akonadiserver] 7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xd8) [0x8053428]                                                                                                                                                                                         
    [akonadiserver] 8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8c) [0xb7499dcc]                                                                                                                                                                                         
    [akonadiserver] 9: /usr/lib/libQtCore.so.4 [0xb74a920d]                                                                                                                                                                                                                        
    [akonadiserver] 10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x68) [0xb74aa6d8]                                                                                                                                                                                            
    [akonadiserver] 11: /usr/lib/libakonadiprivate.so.1(_ZN6QDebugD1Ev+0x52) [0xb764c2d2]
    [akonadiserver] 12: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x5ff) [0xb7656b8f]
    [akonadiserver] 13: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x58) [0xb7657988]
    [akonadiserver] 14: akonadiserver(main+0x2d8) [0x804cf48]
    [akonadiserver] 15: /lib/libc.so.6(__libc_start_main+0xfe) [0xb7095ace]
    [akonadiserver] 16: akonadiserver [0x804cba1]
    [akonadiserver] ]
    [akonadiserver] "
    ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)

    I have tried to change config and no effect
    Is Akonadi fixed in KDE 4.4 or what should I do to fix it in my current OpenSUSE 11.2

    With Best Regards, Tribunal

  2. #2
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,085

    Default Re: Akonadi

    Struggling too, but try this commmand from console:

    kcmshell4 kcm_akonadi

    Tumbleweed/KDE/Ati Radeon R9 270/AMD FX-6300/8Gb DDR3

  3. #3

    Default Re: Akonadi

    I have tried, but standart Akonadi settings from "System settings" are too poor to understand, what's wrong. They are sending you to
    http://userbase.kde.org/Akonadi but it seems, that this site was written by developers for developers.
    As I have seen, I am not the only user with problem of starting Akonadi in KDE 4.* in OpenSuse 11.2.
    And one more moment:
    Are there any users of OpenSuse 11.2 with working Akonadi?

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,744

    Default Re: Akonadi

    Maybe you need to be sure you have Nepomuk running. Also it depends on a SQL backend I think SQLITE.

  5. #5
    palladium NNTP User

    Default Re: Akonadi

    tribunal wrote:
    > http://userbase.kde.org/Akonadi but it seems, that this site was
    > written by developers for developers.


    have you read the first para of that cite?

    yes, it is written by developers, but it is not written for
    developers....it uses very plain English....which maybe you don't
    understand readily....let me try to help:

    when it says "This page is mainly concerned with troubleshooting
    Akonadi, as there are inevitable glitches in early stages of migration."

    it means that the making of Akonadi is just getting started and you
    should *expect* _lots_ of problems..

    when it says: "For many people the first signs of Akonadi activity
    will be in KDE SC 4.4 . . ."

    it means that *users* shouldn't expect any functionality prior to
    having KDE4.4 installed...now, since you have something even earlier
    than that you should expect *nothing* to work..

    as you have proven that is true by trying..

    and, even after installing 4.4 you should expect to be _confused_ by
    Akonadi's interface, lack of features, stuff that doesn't work like
    you might expect, etc etc etc

    then, when it goes on to say ". . . and many will be confused by it."

    it means that even *after* you have installed KDE4.4 you should still
    expect *lots* of problems! so many that the lack of working buttons,
    features that don't do what you expect, and etc will probably
    *confuse* you..

    so, my guess is you need to chill...

    --
    palladium

  6. #6

    Default Re: Akonadi

    I have tried to use instructions from this site. For example, I have this error:
    Akonadi server process not registered at D-Bus
    So, I have read solution and tried.. but there are no
    Code:
    The fix is to edit the following file "/etc/apparmor.d/usr.sbin.mysqld-akonadi".
    in my OpenSuse 11.2
    That's why I'm asking are there other solution?

    P.S. Nemomuk is running

  7. #7

    Default Re: Akonadi

    P.P.S.
    Here is the full output of Akonadi selftest:

    Code:
    Akonadi Server Self-Test Report
    ===============================
    
    Test 1:  SUCCESS
    --------
    
    Database driver found.
    Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server configuration.
    The following drivers are installed: QSQLITE, QMYSQL3, QMYSQL, QPSQL7, QPSQL.
    Make sure the required driver is installed.
    
    File content of '/home/kolya/.config/akonadi/akonadiserverrc':
    [%General]
    Driver=QMYSQL
    SizeThreshold=4096
    ExternalPayload=false
    
    [QMYSQL]
    Name=akonadi
    User=root
    Password=tribnunal
    Options="UNIX_SOCKET=/home/kolya/.local/share/akonadi/db_misc/mysql.socket"
    ServerPath=/usr/sbin/mysqld
    StartServer=true
    Host=localhost
    
    [Debug]
    Tracer=null
    
    
    Test 2:  SUCCESS
    --------
    
    MySQL server found.
    Details: You currently have 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 locations varies depending on the distribution.
    
    Test 3:  SUCCESS
    --------
    
    MySQL server is executable.
    Details: MySQL server found: /usr/sbin/mysqld  Ver 5.1.36 for suse-linux-gnu on i686 (SUSE MySQL RPM)
    
    
    Test 4:  ERROR
    --------
    
    MySQL server log contains errors.
    Details: The MySQL server error log file &apos;<a href='/home/kolya/.local/share/akonadi/db_data/mysql.err'>/home/kolya/.local/share/akonadi/db_data/mysql.err</a>&apos; contains errors.
    
    File content of '/home/kolya/.local/share/akonadi/db_data/mysql.err':
    100213 19:56:26 [Note] Plugin 'ndbcluster' is disabled.
    InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes
    InnoDB: than specified in the .cnf file 0 67108864 bytes!
    100213 19:56:26 [ERROR] Plugin 'InnoDB' init function returned error.
    100213 19:56:26 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    100213 19:56:26 [ERROR] Unknown/unsupported table type: innodb
    100213 19:56:26 [ERROR] Aborting
    
    100213 19:56:26 [Warning] Forcing shutdown of 1 plugins
    100213 19:56:26 [Note] /usr/sbin/mysqld: Shutdown complete
    
    
    
    Test 5:  SUCCESS
    --------
    
    MySQL server default configuration found.
    Details: The default configuration for the MySQL server was found and is readable at <a href='/etc/akonadi/mysql-global.conf'>/etc/akonadi/mysql-global.conf</a>.
    
    File content of '/etc/akonadi/mysql-global.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]
    skip_grant_tables
    skip_networking
    
    # 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
    
    # use InnoDB for transactions and better crash recovery
    default_storage_engine=innodb
    # case-insensitive table names, avoids trouble on windows
    lower_case_table_names=1
    character_set_server=latin1
    collation_server=latin1_general_ci
    table_cache=200
    thread_cache_size=3
    log_bin=mysql-bin
    expire_logs_days=3
    #sync_bin_log=0
    # error log file name, relative to datadir
    log_error=mysql.err
    log_warnings=2
    # 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
    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
    # maximum blob size
    max_allowed_packet=32M
    max_connections=256
    # makes sense when having the same query multiple times
    # makes no sense with prepared statements and/or transactions
    query_cache_type=0
    query_cache_size=0
    
    innodb_file_per_table=1
    innodb_log_buffer_size=1M
    innodb_additional_mem_pool_size=1M
    # messure database size and adjust
    # SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");
    innodb_buffer_pool_size=80M
    # size of average write burst, keep Innob_log_waits small, keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)
    innodb_log_file_size=64M
    innodb_flush_log_at_trx_commit=2
    
    
    
    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:  SUCCESS
    --------
    
    MySQL server configuration is usable.
    Details: The MySQL server configuration was found at <a href='/home/kolya/.local/share/akonadi/mysql.conf'>/home/kolya/.local/share/akonadi/mysql.conf</a> and is readable.
    
    File content of '/home/kolya/.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]
    skip_grant_tables
    skip_networking
    
    # 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
    
    # use InnoDB for transactions and better crash recovery
    default_storage_engine=innodb
    # case-insensitive table names, avoids trouble on windows
    lower_case_table_names=1
    character_set_server=latin1
    collation_server=latin1_general_ci
    table_cache=200
    thread_cache_size=3
    log_bin=mysql-bin
    expire_logs_days=3
    #sync_bin_log=0
    # error log file name, relative to datadir
    log_error=mysql.err
    log_warnings=2
    # 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
    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
    # maximum blob size
    max_allowed_packet=32M
    max_connections=256
    # makes sense when having the same query multiple times
    # makes no sense with prepared statements and/or transactions
    query_cache_type=0
    query_cache_size=0
    
    innodb_file_per_table=1
    innodb_log_buffer_size=1M
    innodb_additional_mem_pool_size=1M
    # messure database size and adjust
    # SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");
    innodb_buffer_pool_size=80M
    # size of average write burst, keep Innob_log_waits small, keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)
    innodb_log_file_size=64M
    innodb_flush_log_at_trx_commit=2
    
    
    
    Test 8:  SUCCESS
    --------
    
    akonadictl found and usable
    Details: The program '/usr/bin/akonadictl' to control the Akonadi server was found and could be executed successfully.
    Result:
    Akonadi 1.2.1
    
    
    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:  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 12:  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', make sure this includes all paths where Akonadi agents are installed to.
    
    Directory listing of '/usr/share/akonadi/agents':
    birthdaysresource.desktop
    distlistresource.desktop
    gcalresource.desktop
    googledataresource.desktop
    icalresource.desktop
    imapresource.desktop
    kabcresource.desktop
    kcalresource.desktop
    kolabproxyresource.desktop
    localbookmarksresource.desktop
    maildirresource.desktop
    microblog.desktop
    nepomuktagresource.desktop
    nntpresource.desktop
    notesresource.desktop
    strigifeeder.desktop
    syncmlclientagent.desktop
    syncmlserveragent.desktop
    vcarddirresource.desktop
    vcardresource.desktop
    
    Environment variable XDG_DATA_DIRS is set to '/usr/share'
    
    Test 13:  ERROR
    --------
    
    Current Akonadi server error log found.
    Details: The Akonadi server did report error during startup into <a href='/home/kolya/.local/share/akonadi/akonadiserver.error'>/home/kolya/.local/share/akonadi/akonadiserver.error</a>.
    
    File content of '/home/kolya/.local/share/akonadi/akonadiserver.error':
    "[
    0: akonadiserver(_Z11akBacktracev+0x35) [0x8052375]
    1: akonadiserver [0x805290c]
    2: [0xffffe400]
    3: [0xffffe424]
    4: /lib/libc.so.6(gsignal+0x4f) [0xb702c0cf]
    5: /lib/libc.so.6(abort+0x187) [0xb702d9e7]
    6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x94) [0xb73871c4]
    7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xd8) [0x8053428]
    8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8c) [0xb741bdcc]
    9: /usr/lib/libQtCore.so.4 [0xb742b20d]
    10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x68) [0xb742c6d8]
    11: /usr/lib/libakonadiprivate.so.1(_ZN6QDebugD1Ev+0x52) [0xb75ce2d2]
    12: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x1a66) [0xb75d61a6]
    13: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x76) [0xb75d8606]
    14: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x58) [0xb75d9988]
    15: akonadiserver(main+0x2d8) [0x804cf48]
    16: /lib/libc.so.6(__libc_start_main+0xfe) [0xb7017ace]
    17: akonadiserver [0x804cba1]
    ]
    " 
    
    
    Test 14:  ERROR
    --------
    
    Previous Akonadi server error log found.
    Details: The Akonadi server did report error during its previous startup into <a href='/home/kolya/.local/share/akonadi/akonadiserver.error.old'>/home/kolya/.local/share/akonadi/akonadiserver.error.old</a>.
    
    File content of '/home/kolya/.local/share/akonadi/akonadiserver.error.old':
    "[
    0: akonadiserver(_Z11akBacktracev+0x35) [0x8052375]
    1: akonadiserver [0x805290c]
    2: [0xffffe400]
    3: [0xffffe424]
    4: /lib/libc.so.6(gsignal+0x4f) [0xb71700cf]
    5: /lib/libc.so.6(abort+0x187) [0xb71719e7]
    6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x94) [0xb74cb1c4]
    7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xd8) [0x8053428]
    8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8c) [0xb755fdcc]
    9: /usr/lib/libQtCore.so.4 [0xb756f20d]
    10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x68) [0xb75706d8]
    11: /usr/lib/libakonadiprivate.so.1(_ZN6QDebugD1Ev+0x52) [0xb77122d2]
    12: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x1a66) [0xb771a1a6]
    13: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0x76) [0xb771c606]
    14: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x58) [0xb771d988]
    15: akonadiserver(main+0x2d8) [0x804cf48]
    16: /lib/libc.so.6(__libc_start_main+0xfe) [0xb715bace]
    17: akonadiserver [0x804cba1]
    ]
    " 
    
    
    Test 15:  SUCCESS
    --------
    
    No current Akonadi control error log found.
    Details: The Akonadi control process did not report any errors during its current startup.
    
    Test 16:  SUCCESS
    --------
    
    No previous Akonadi control error log found.
    Details: The Akonadi control process did not report any errors during its previous startup.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •