Bug 689072

Summary: akonadiserver multiple failures: exit code 255 (unknown error)
Product: [Fedora] Fedora Reporter: George R. Goffe <grgoffe>
Component: akonadiAssignee: Kevin Kofler <kevin>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 14CC: extras-orphan, jreznik, kevin, ltinkl, notting, rdieter, rnovacek, ry, smparrish, than
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 13:52:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description George R. Goffe 2011-03-19 04:13:49 UTC
Description of problem:

At startx time I get multiple messages about akonadiserver startup but each time leads to a stack trace.

Version-Release number of selected component (if applicable):

rpm -qa | grep akon
kdepimlibs-akonadi-4.5.5-2.fc14.i686
akonadi-1.4.1-2.fc14.i686
PyKDE4-akonadi-4.5.5-1.fc14.i686
akonadi-devel-1.4.1-2.fc14.i686

How reproducible:

Every time

Steps to Reproduce:
1.startx > startx.log 2>&1
2.wait for failure
3.
  
Actual results:

see above

Expected results:

"normal" AND successful startup.

Additional info:    522 ProcessControl: Application 'akonadiserver' returned with exit code 255 (Unknown error)
    523 [akonadiserver] search paths:  ("/", ".", "/usr/lsd/Linux/sbin", "/usr/lsd/Linux/bin", "/bin", "/sbin", "/usr/bin", "/usr/sbin", "/usr/kerberos/bin", "/usr/X11R6/bin", "
    523 /usr/local/bin", "/usr/dt/bin", "/usr/openwin/bin", "~ggoffe", "/cygdrive/c/WINDOWS/system32", "/cygdrive/c/WINNT/system32", "/usr/sbin", "/usr/local/sbin", "/usr/local/
    523 libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
    524 [akonadiserver] Found mysql_install_db:  "/usr/bin/mysql_install_db"
    525 [akonadiserver] Found mysqlcheck:  "/usr/bin/mysqlcheck"
    526 [akonadiserver] Database process exited unexpectedly during initial connection!
    527 [akonadiserver] executable: "/usr/libexec/mysqld"
    528 [akonadiserver] arguments: ("--defaults-file=/root/.local/share/akonadi//mysql.conf", "--datadir", "/root/.local/share/akonadi/db_data/", "--socket=/root/.local/share/ak
    528 onadi/db_misc/mysql.socket")
    529 [akonadiserver] stdout: ""
    530 [akonadiserver] stderr: "110318 20:48:28 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
    531 [akonadiserver] 
    532 [akonadiserver] 110318 20:48:28 [ERROR] Aborting
    533 [akonadiserver] 
    534 [akonadiserver] 110318 20:48:28 [Note] /usr/libexec/mysqld: Shutdown complete
    535 [akonadiserver] 
    536 [akonadiserver] "
    537 [akonadiserver] exit code: 1
    538 [akonadiserver] process error: "Unknown error"
    539 [akonadiserver] "[
    540 [akonadiserver] 0: akonadiserver(_Z11akBacktracev+0x36) [0x8051cc6]
    541 [akonadiserver] 1: akonadiserver() [0x8052173]
    542 [akonadiserver] 2: [0xd25400]
    543 [akonadiserver] 3: [0xd25416]
    544 [akonadiserver] 4: /lib/libc.so.6(gsignal+0x51) [0x6172f1]
    545 [akonadiserver] 5: /lib/libc.so.6(abort+0x17e) [0x618d5e]
    546 [akonadiserver] 6: /usr/lib/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x8a) [0x4e9973a]
    547 [akonadiserver] 7: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xc6) [0x8053b46]
    548 [akonadiserver] 8: /usr/lib/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x8f) [0x4f2f61f]
    549 [akonadiserver] 9: /usr/lib/libQtCore.so.4() [0x4f38ea7]
    550 [akonadiserver] 10: /usr/lib/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3e) [0x4f4304e]
    551 [akonadiserver] 11: akonadiserver(_ZN6QDebugD1Ev+0x45) [0x804ddc5]
    552 [akonadiserver] 12: /usr/lib/libakonadiprivate.so.1(_ZN13DbConfigMysql19startInternalServerEv+0x1ca4) [0x2c4ca4]
    553 [akonadiserver] 13: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0x107) [0x2268b7]
    554 [akonadiserver] 14: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xe9) [0x227fb9]
    555 [akonadiserver] 15: /usr/lib/libakonadiprivate.so.1(_ZN7Akonadi13AkonadiServer8instanceEv+0x58) [0x229738]
    556 [akonadiserver] 16: akonadiserver(main+0x2b1) [0x804d051]
    557 [akonadiserver] 17: /lib/libc.so.6(__libc_start_main+0xe6) [0x602e36]
    558 [akonadiserver] 18: akonadiserver() [0x804ccd1]
    559 [akonadiserver] ]

Comment 1 Kevin Kofler 2011-03-21 16:42:10 UTC
MySQL refuses to run as root, so Akonadi won't work as root, either.

Dumping:
[mysqld]
user=root
into /root/.config/akonadi/mysql-local.conf may get it to work, but it'll still fail the Akonadi self-check (though akonadictl start should succeed).

The intended use by MySQL and Akonadi upstream is that you only use Akonadi as a regular user, not as root.

Comment 2 George R. Goffe 2011-03-26 23:18:11 UTC
Kevin,

I understand what you're saying.

Why does Akondai start at all if I'm root?

George...

Comment 3 Fedora End Of Life 2012-08-16 13:53:06 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping