LINUX.ORG.RU

не заводиться akonadi


0

1

Продолжение этой темы.
Решил я завести эту штуку с использование внешнего сервера. Также выяснилось, что mysql сервер собственно и не был установлен, были установлены только некоторые огрызки, видно вытянутые по зависимостям. Был установлен mysql 5.1.55. Создан юзер аконади. В настройках аконади прописал:
Database name: akonadi
Host: localhost
User name: akonadi
Options: UNIX_SOCKET=/var/run/mysqld/mysqld.sock
После запуска akonadi получаем:

[akonadiserver] search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/usr/bin/X11", "/usr/games", "/opt/android-sdk-linux_86/tools", "/home/koirn/scripts", "/home/koirn/android-sdk-linux_x86/tools/", "/home/koirn/android-sdk-linux_x86/platform-tools", "/opt/android-sdk-linux_86/tools", "/home/koirn/scripts", "/home/koirn/android-sdk-linux_x86/tools/", "/home/koirn/android-sdk-linux_x86/platform-tools", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
[akonadiserver] Found mysql_install_db:  "/usr/bin/mysql_install_db"
[akonadiserver] Found mysql_upgrade:  "/usr/bin/mysql_upgrade"
[akonadiserver] Failed to use database "akonadi"
[akonadiserver] Database error: "Access denied for user 'akonadi'@'localhost' to database 'akonadi' QMYSQL: Unable to connect"
[akonadiserver] Trying to create database now...
[akonadiserver] Failed to create database
[akonadiserver] Query error: "Access denied for user 'akonadi'@'localhost' to database 'akonadi' QMYSQL: Unable to execute query"
[akonadiserver] Database error: "Access denied for user 'akonadi'@'localhost' to database 'akonadi' QMYSQL: Unable to connect"
[akonadiserver] "[
[akonadiserver] 0: akonadiserver(_Z11akBacktracev+0x35) [0x8052235]
[akonadiserver] 1: akonadiserver() [0x80526e6]
[akonadiserver] 2: [0xb77b6400]
[akonadiserver] 3: [0xb77b6430]
[akonadiserver] 4: /lib/i686/cmov/libc.so.6(gsignal+0x51) [0xb7069751]
[akonadiserver] 5: /lib/i686/cmov/libc.so.6(abort+0x182) [0xb706cb82]
[akonadiserver] 6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x84) [0xb73f2fb4]
[akonadiserver] 7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xc4) [0x8053764]
[akonadiserver] 8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8e) [0xb748a25e]
[akonadiserver] 9: /usr/lib/libQtCore.so.4(+0x10e265) [0xb749a265]
[akonadiserver] 10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3d) [0xb749b77d]
[akonadiserver] 11: akonadiserver(_ZN6QDebugD1Ev+0x43) [0x804dd93]
[akonadiserver] 12: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer14createDatabaseEv+0x712) [0xb765ea22]
[akonadiserver] 13: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xf10) [0xb76601b0]
[akonadiserver] 14: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x58) [0xb7660f18]
[akonadiserver] 15: akonadiserver(main+0x37c) [0x804d1dc]
[akonadiserver] 16: /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb7055c76]
[akonadiserver] 17: akonadiserver() [0x804cd91]
[akonadiserver] ]
[akonadiserver] "
ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
"akonadiserver" crashed too often and will not be restarted! 

Загуглив строку с Database error пришёл на форум разработчиков kde, где утверждается, что данная ошибка вызвана неправильными настройками. Что неправильно?



Последнее исправление: koirn (всего исправлений: 1)

[akonadiserver] Failed to use database «akonadi»

[akonadiserver] Database error: «Access denied for user 'akonadi'@'localhost' to database 'akonadi' QMYSQL: Unable to connect» [akonadiserver] Trying to create database now... [akonadiserver] Failed to create database [akonadiserver] Query error: «Access denied for user 'akonadi'@'localhost' to database 'akonadi' QMYSQL: Unable to execute query»

у аконади нет доступа к таблице «akonadi». Добавь пользователю «akonadi» права.

ciiccii
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.