Advertisement
Guest User

akonadi-selftest-report-20180620

a guest
Jun 21st, 2018
695
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.00 KB | None | 0 0
  1. Akonadi Server Self-Test Report
  2. ===============================
  3.  
  4. Test 1: SUCCESS
  5. --------
  6.  
  7. Database driver found.
  8. Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server configuration and was found on your system.
  9.  
  10. File content of '/home/[My Username]/.config/akonadi/akonadiserverrc':
  11. [%General]
  12. Driver=QMYSQL
  13.  
  14. [QMYSQL]
  15. Host=
  16. Name=akonadi
  17. Options="UNIX_SOCKET=/tmp/akonadi-[My Username].anOWC6/mysql.socket"
  18. ServerPath=/usr/sbin/mysqld-akonadi
  19. StartServer=true
  20.  
  21.  
  22. Test 2: SUCCESS
  23. --------
  24.  
  25. Akonadi is not running as root
  26. Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system.
  27.  
  28. Test 3: SUCCESS
  29. --------
  30.  
  31. MySQL server found.
  32. Details: You have currently configured Akonadi to use the MySQL server '/usr/sbin/mysqld-akonadi'.
  33. 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 location varies depending on the distribution.
  34.  
  35. Test 4: SUCCESS
  36. --------
  37.  
  38. MySQL server is executable.
  39. Details: MySQL server found: 180620 21:16:19 [Note] /usr/sbin/mysqld (mysqld 10.0.34-MariaDB-0ubuntu0.16.04.1) starting as process 22139 ...
  40. /usr/sbin/mysqld Ver 10.0.34-MariaDB-0ubuntu0.16.04.1 for debian-linux-gnu on x86_64 (Ubuntu 16.04)
  41.  
  42.  
  43. Test 5: SUCCESS
  44. --------
  45.  
  46. No current MySQL error log found.
  47. Details: The MySQL server did not report any errors during this startup. The log can be found in '/home/[My Username]/.local/share/akonadi/db_data/mysql.err'.
  48.  
  49. Test 6: ERROR
  50. --------
  51.  
  52. MySQL server default configuration not found.
  53. Details: The default configuration for the MySQL server was not found or was not readable. Check your Akonadi installation is complete and you have all required access rights.
  54.  
  55. Test 7: SKIP
  56. --------
  57.  
  58. MySQL server custom configuration not available.
  59. Details: The custom configuration for the MySQL server was not found but is optional.
  60.  
  61. Test 8: SUCCESS
  62. --------
  63.  
  64. MySQL server configuration is usable.
  65. Details: The MySQL server configuration was found at <a href="/home/[My Username]/.local/share/akonadi/mysql.conf">/home/[My Username]/.local/share/akonadi/mysql.conf</a> and is readable.
  66.  
  67. File content of '/home/[My Username]/.local/share/akonadi/mysql.conf':
  68. #
  69. # Global Akonadi MySQL server settings,
  70. # These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf
  71. #
  72. # Based on advice by Kris Köhntopp <kris@mysql.com>
  73. #
  74. [mysqld]
  75.  
  76. # strict query parsing/interpretation
  77. # TODO: make Akonadi work with those settings enabled
  78. # 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
  79. # sql_mode=strict_trans_tables
  80.  
  81. # DEBUGGING:
  82. # log all queries, useful for debugging but generates an enormous amount of data
  83. # log=mysql.full
  84. # log queries slower than n seconds, log file name relative to datadir (for debugging only)
  85. # log_slow_queries=mysql.slow
  86. # long_query_time=1
  87. # log queries not using indices, debug only, disable for production use
  88. # log_queries_not_using_indexes=1
  89. #
  90. # mesure database size and adjust innodb_buffer_pool_size
  91. # SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");
  92.  
  93. # NOTES:
  94. # Keep Innob_log_waits and keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)
  95.  
  96. #expire_logs_days=3
  97.  
  98. #sync_bin_log=0
  99.  
  100. # Use UTF-8 encoding for tables
  101. character_set_server=utf8
  102. collation_server=utf8_general_ci
  103.  
  104. # use InnoDB for transactions and better crash recovery
  105. default_storage_engine=innodb
  106.  
  107. # memory pool InnoDB uses to store data dictionary information and other internal data structures (default:8M)
  108. # Deprecated in MySQL >= 5.6.3, removed in 5.7 (works in MariaDB)
  109. # innodb_additional_mem_pool_size=8M
  110.  
  111. # memory buffer InnoDB uses to cache data and indexes of its tables (default:128M)
  112. # Larger values means less I/O
  113. innodb_buffer_pool_size=128M
  114.  
  115. # Create a .ibd file for each table (default:0)
  116. innodb_file_per_table=1
  117.  
  118. # Write out the log buffer to the log file at each commit (default:1)
  119. innodb_flush_log_at_trx_commit=2
  120.  
  121. # Buffer size used to write to the log files on disk (default:1M for builtin, 8M for plugin)
  122. # larger values means less I/O
  123. innodb_log_buffer_size=1M
  124.  
  125. # Size of each log file in a log group (default:5M) larger means less I/O but more time for recovery.
  126. innodb_log_file_size=64M
  127.  
  128. # # error log file name, relative to datadir (default:hostname.err)
  129. log_error=mysql.err
  130.  
  131. # print warnings and connection errors (default:1)
  132. log_warnings=2
  133.  
  134. # Convert table named to lowercase
  135. lower_case_table_names=1
  136.  
  137. # Maximum size of one packet or any generated/intermediate string. (default:1M)
  138. max_allowed_packet=32M
  139.  
  140. # Maximum simultaneous connections allowed (default:100)
  141. max_connections=256
  142.  
  143. # The two options below make no sense with prepared statements and/or transactions
  144. # (make sense when having the same query multiple times)
  145.  
  146. # Memory allocated for caching query results (default:0 (disabled))
  147. query_cache_size=0
  148.  
  149. # Do not cache results (default:1)
  150. query_cache_type=0
  151.  
  152. # Do not use the privileges mechanisms
  153. skip_grant_tables
  154.  
  155. # Do not listen for TCP/IP connections at all
  156. skip_networking
  157.  
  158. # The number of open tables for all threads. (default:64)
  159. table_open_cache=200
  160.  
  161. # How many threads the server should cache for reuse (default:0)
  162. thread_cache_size=3
  163.  
  164. # wait 365d before dropping the DB connection (default:8h)
  165. wait_timeout=31536000
  166.  
  167. # We use InnoDB, so don't let MyISAM eat up memory
  168. key_buffer_size=16K
  169.  
  170. [client]
  171. default-character-set=utf8
  172.  
  173.  
  174. Test 9: SUCCESS
  175. --------
  176.  
  177. akonadictl found and usable
  178. Details: The program '/usr/bin/akonadictl' to control the Akonadi server was found and could be executed successfully.
  179. Result:
  180. akonadictl 5.8.2
  181.  
  182.  
  183. Test 10: ERROR
  184. --------
  185.  
  186. Akonadi control process not registered at D-Bus.
  187. 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.
  188.  
  189. Test 11: ERROR
  190. --------
  191.  
  192. Akonadi server process not registered at D-Bus.
  193. 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.
  194.  
  195. Test 12: SKIP
  196. --------
  197.  
  198. Protocol version check not possible.
  199. Details: Without a connection to the server it is not possible to check if the protocol version meets the requirements.
  200.  
  201. Test 13: ERROR
  202. --------
  203.  
  204. No resource agents found.
  205. 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//usr/share/xsessions/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop'; make sure this includes all paths where Akonadi agents are installed.
  206.  
  207. Directory listing of '/usr/share/akonadi/agents':
  208. akonadiindexingagent.desktop
  209. akonotesresource.desktop
  210. archivemailagent.desktop
  211. birthdaysresource.desktop
  212. contactsresource.desktop
  213. davgroupwareresource.desktop
  214. ewsmtaresource.desktop
  215. ewsresource.desktop
  216. facebookresource.desktop
  217. followupreminder.desktop
  218. googlecalendarresource.desktop
  219. googlecontactsresource.desktop
  220. icaldirresource.desktop
  221. icalresource.desktop
  222. imapresource.desktop
  223. invitationsagent.desktop
  224. kalarmdirresource.desktop
  225. kalarmresource.desktop
  226. kolabresource.desktop
  227. maildirresource.desktop
  228. maildispatcheragent.desktop
  229. mailfilteragent.desktop
  230. mboxresource.desktop
  231. migrationagent.desktop
  232. mixedmaildirresource.desktop
  233. newmailnotifieragent.desktop
  234. notesagent.desktop
  235. notesresource.desktop
  236. openxchangeresource.desktop
  237. pop3resource.desktop
  238. sendlateragent.desktop
  239. tomboynotesresource.desktop
  240. vcarddirresource.desktop
  241. vcardresource.desktop
  242.  
  243. Environment variable XDG_DATA_DIRS is set to '/usr/share//usr/share/xsessions/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop'
  244.  
  245. Test 14: ERROR
  246. --------
  247.  
  248. Current Akonadi server error log found.
  249. Details: The Akonadi server reported errors during its current startup. The log can be found in <a href="/home/[My Username]/.local/share/akonadi/akonadiserver.error">/home/[My Username]/.local/share/akonadi/akonadiserver.error</a>.
  250.  
  251. File content of '/home/[My Username]/.local/share/akonadi/akonadiserver.error':
  252. database server stopped unexpectedly
  253. Database process exited unexpectedly during initial connection!
  254. executable: "/usr/sbin/mysqld-akonadi"
  255. arguments: ("--defaults-file=/home/[My Username]/.local/share/akonadi/mysql.conf", "--datadir=/home/[My Username]/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-[My Username].anOWC6/mysql.socket", "--pid-file=/tmp/akonadi-[My Username].anOWC6/mysql.pid")
  256. stdout: ""
  257. stderr: "180620 21:16:19 [Note] /usr/sbin/mysqld (mysqld 10.0.34-MariaDB-0ubuntu0.16.04.1) starting as process 22150 ...\n180620 21:16:19 [Warning] Can't create test file /home/[My Username]/.local/share/akonadi/db_data/[My Hostname].lower-test\n\x07/usr/sbin/mysqld: Can't change dir to '/home/[My Username]/.local/share/akonadi/db_data/' (Errcode: 2 \"No such file or directory\")\n180620 21:16:19 [ERROR] Aborting\n\n180620 21:16:19 [Note] /usr/sbin/mysqld: Shutdown complete\n\n"
  258. exit code: 1
  259. process error: "Unknown error"
  260. Failed to remove runtime connection config file
  261.  
  262.  
  263. Test 15: ERROR
  264. --------
  265.  
  266. Previous Akonadi server error log found.
  267. Details: The Akonadi server reported errors during its previous startup. The log can be found in <a href="/home/[My Username]/.local/share/akonadi/akonadiserver.error.old">/home/[My Username]/.local/share/akonadi/akonadiserver.error.old</a>.
  268.  
  269. File content of '/home/[My Username]/.local/share/akonadi/akonadiserver.error.old':
  270. database server stopped unexpectedly
  271. Database process exited unexpectedly during initial connection!
  272. executable: "/usr/sbin/mysqld-akonadi"
  273. arguments: ("--defaults-file=/home/[My Username]/.local/share/akonadi/mysql.conf", "--datadir=/home/[My Username]/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-[My Username].anOWC6/mysql.socket", "--pid-file=/tmp/akonadi-[My Username].anOWC6/mysql.pid")
  274. stdout: ""
  275. stderr: "180620 21:16:14 [Note] /usr/sbin/mysqld (mysqld 10.0.34-MariaDB-0ubuntu0.16.04.1) starting as process 22125 ...\n180620 21:16:14 [Warning] Can't create test file /home/[My Username]/.local/share/akonadi/db_data/[My Hostname].lower-test\n\x07/usr/sbin/mysqld: Can't change dir to '/home/[My Username]/.local/share/akonadi/db_data/' (Errcode: 2 \"No such file or directory\")\n180620 21:16:14 [ERROR] Aborting\n\n180620 21:16:14 [Note] /usr/sbin/mysqld: Shutdown complete\n\n"
  276. exit code: 1
  277. process error: "Unknown error"
  278. Failed to remove runtime connection config file
  279.  
  280.  
  281. Test 16: ERROR
  282. --------
  283.  
  284. Current Akonadi control error log found.
  285. Details: The Akonadi control process reported errors during its current startup. The log can be found in <a href="/home/[My Username]/.local/share/akonadi/akonadi_control.error">/home/[My Username]/.local/share/akonadi/akonadi_control.error</a>.
  286.  
  287. File content of '/home/[My Username]/.local/share/akonadi/akonadi_control.error':
  288. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
  289. Application 'akonadiserver' exited normally...
  290.  
  291.  
  292. Test 17: ERROR
  293. --------
  294.  
  295. Previous Akonadi control error log found.
  296. Details: The Akonadi control process reported errors during its previous startup. The log can be found in <a href="/home/[My Username]/.local/share/akonadi/akonadi_control.error.old">/home/[My Username]/.local/share/akonadi/akonadi_control.error.old</a>.
  297.  
  298. File content of '/home/[My Username]/.local/share/akonadi/akonadi_control.error.old':
  299. Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
  300. Application 'akonadiserver' exited normally...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement