Guest User

Shaan7

a guest
May 26th, 2010
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.13 KB | None | 0 0
  1. hunny@hunny-laptop:~$ akonadictl status
  2. Akonadi Control: running
  3. Akonadi Server: running
  4. Akonadi Server Search Support: available (backend: Virtuoso)
  5. hunny@hunny-laptop:~$ akonadictl stop
  6. hunny@hunny-laptop:~$ akonadictl status
  7. Akonadi Control: running
  8. Akonadi Server: running
  9. Akonadi Server Search Support: available (backend: Virtuoso)
  10. hunny@hunny-laptop:~$ akonadictl status
  11. Akonadi Control: running
  12. Akonadi Server: running
  13. Akonadi Server Search Support: available (backend: Virtuoso)
  14. hunny@hunny-laptop:~$ akonadictl stop
  15. Akonadi is not running.
  16. hunny@hunny-laptop:~$ akonadictl status
  17. Akonadi Control: stopped
  18. Akonadi Server: stopped
  19. Akonadi Server Search Support: available (backend: Virtuoso)
  20. hunny@hunny-laptop:~$ ps -d | grep "akonadi"
  21. hunny@hunny-laptop:~$ rm -rf .local/share/akonadi/
  22. hunny@hunny-laptop:~$ rm .config/akonadi/akonadiserverrc
  23. hunny@hunny-laptop:~$ ls .config/akonadi/
  24. hunny@hunny-laptop:~$ akonadictl start
  25. Starting Akonadi Server...
  26. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
  27. [akonadiserver] search paths: ("/home/hunny/kde/bin", "/home/hunny/kde/src/qt-kde/bin", "/usr/local/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
  28. [akonadiserver] Found mysql_install_db: "/usr/bin/mysql_install_db"
  29. [akonadiserver] Found mysql_upgrade: "/usr/bin/mysql_upgrade"
  30. "akonadiserver" [out] "Looking for 'mysql' as: /usr/bin/mysql
  31. "
  32. "akonadiserver" [out] "Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
  33. "
  34. "akonadiserver" [out] "Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' '--socket=/home/hunny/kde/share/akonadi/db_misc/mysql.socket'
  35. "
  36. [akonadiserver] /usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/home/hunny/kde/share/akonadi/db_misc/mysql.socket' (2) when trying to connect
  37. [akonadiserver] FATAL ERROR: Upgrade failed
  38. [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
  39. [akonadiserver] DbInitializer::run()
  40. [akonadiserver] checking table "SchemaVersionTable"
  41. [akonadiserver] checking table "ResourceTable"
  42. [akonadiserver] checking table "CollectionTable"
  43. [akonadiserver] checking table "MimeTypeTable"
  44. [akonadiserver] checking table "PimItemTable"
  45. [akonadiserver] checking table "FlagTable"
  46. [akonadiserver] checking table "PartTable"
  47. [akonadiserver] checking table "CollectionAttributeTable"
  48. [akonadiserver] checking relation "PimItemFlagRelation"
  49. [akonadiserver] checking relation "CollectionMimeTypeRelation"
  50. [akonadiserver] checking relation "CollectionPimItemRelation"
  51. [akonadiserver] DbInitializer::run() done
  52. [akonadiserver] skipping update 2
  53. [akonadiserver] skipping update 3
  54. [akonadiserver] skipping update 4
  55. [akonadiserver] skipping update 8
  56. [akonadiserver] skipping update 10
  57. [akonadiserver] skipping update 12
  58. [akonadiserver] skipping update 13
  59. [akonadiserver] skipping update 14
  60. [akonadiserver] skipping update 15
  61. [akonadiserver] skipping update 16
  62. [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
  63. [akonadiserver] Akonadi::NepomukSearchEngine(0x9b0d708) QObject(0x0)
  64. [akonadiserver] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
  65. [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
  66. [akonadiserver] DataStore::unhideAllPimItems()
  67. done.
  68. hunny@hunny-laptop:~$ Akonadi server is now operational.
  69. [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
  70. [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
  71. akonadictl stop
  72. [akonadiserver] terminating service threads
  73. [akonadiserver] terminating connection threads
  74. [akonadiserver] stopping db process
  75. hunny@hunny-laptop:~$ akonadictl stopApplication 'akonadiserver' exited normally...
  76. hunny@hunny-laptop:~$ akonadictl status
  77. Akonadi Control: stopped
  78. Akonadi Server: stopped
  79. Akonadi Server Search Support: available (backend: Virtuoso)
  80. hunny@hunny-laptop:~$ mysql_install_db --datadir=$HOME/.local/share/akonadi/db_data/
  81. Installing MySQL system tables...
  82. OK
  83. Filling help tables...
  84. OK
  85.  
  86. To start mysqld at boot time you have to copy
  87. support-files/mysql.server to the right place for your system
  88.  
  89. PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
  90. To do so, start the server, then issue the following commands:
  91.  
  92. /usr/bin/mysqladmin -u root password 'new-password'
  93. /usr/bin/mysqladmin -u root -h hunny-laptop password 'new-password'
  94.  
  95. Alternatively you can run:
  96. /usr/bin/mysql_secure_installation
  97.  
  98. which will also give you the option of removing the test
  99. databases and anonymous user created by default. This is
  100. strongly recommended for production servers.
  101.  
  102. See the manual for more instructions.
  103.  
  104. You can start the MySQL daemon with:
  105. cd /usr ; /usr/bin/mysqld_safe &
  106.  
  107. You can test the MySQL daemon with mysql-test-run.pl
  108. cd /usr/mysql-test ; perl mysql-test-run.pl
  109.  
  110. Please report any problems with the /usr/scripts/mysqlbug script!
  111.  
  112. The latest information about MySQL is available at http://www.mysql.com/
  113. Support MySQL by buying support/licenses from http://shop.mysql.com/
  114.  
  115. hunny@hunny-laptop:~$ akonadictl start
  116. Starting Akonadi Server...
  117. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
  118. [akonadiserver] search paths: ("/home/hunny/kde/bin", "/home/hunny/kde/src/qt-kde/bin", "/usr/local/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/usr/games", "/usr/sbin", "/usr/local/sbin", "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec", "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
  119. [akonadiserver] Found mysql_install_db: "/usr/bin/mysql_install_db"
  120. [akonadiserver] Found mysql_upgrade: "/usr/bin/mysql_upgrade"
  121. "akonadiserver" [out] "Looking for 'mysql' as: /usr/bin/mysql
  122. "
  123. "akonadiserver" [out] "Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
  124. "
  125. "akonadiserver" [out] "Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock' '--socket=/home/hunny/kde/share/akonadi/db_misc/mysql.socket'
  126. "
  127. [akonadiserver] /usr/bin/mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/home/hunny/kde/share/akonadi/db_misc/mysql.socket' (2) when trying to connect
  128. [akonadiserver] FATAL ERROR: Upgrade failed
  129. [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
  130. [akonadiserver] DbInitializer::run()
  131. [akonadiserver] checking table "SchemaVersionTable"
  132. [akonadiserver] checking table "ResourceTable"
  133. [akonadiserver] checking table "CollectionTable"
  134. [akonadiserver] checking table "MimeTypeTable"
  135. [akonadiserver] checking table "PimItemTable"
  136. [akonadiserver] checking table "FlagTable"
  137. [akonadiserver] checking table "PartTable"
  138. [akonadiserver] checking table "CollectionAttributeTable"
  139. [akonadiserver] checking relation "PimItemFlagRelation"
  140. [akonadiserver] checking relation "CollectionMimeTypeRelation"
  141. [akonadiserver] checking relation "CollectionPimItemRelation"
  142. [akonadiserver] DbInitializer::run() done
  143. [akonadiserver] skipping update 2
  144. [akonadiserver] skipping update 3
  145. [akonadiserver] skipping update 4
  146. [akonadiserver] skipping update 8
  147. [akonadiserver] skipping update 10
  148. [akonadiserver] skipping update 12
  149. [akonadiserver] skipping update 13
  150. [akonadiserver] skipping update 14
  151. [akonadiserver] skipping update 15
  152. [akonadiserver] skipping update 16
  153. [akonadiserver] Akonadi::NepomukSearchEngine(0x8d640f8) QObject(0x0)
  154. [akonadiserver] DataStore::unhideAllPimItems()
  155. done.
  156. hunny@hunny-laptop:~$ Akonadi server is now operational.
  157. [akonadiserver] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
  158. [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
  159. [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
  160. [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
  161. [akonadiserver] Database "akonadi" opened using driver "QMYSQL"
Advertisement
Add Comment
Please, Sign In to add comment