{"action":"created","issue":{"url":"https://api.github.com/repos/mikaku/Monitorix/issues/137","repository_url":"https://api.github.com/repos/mikaku/Monitorix","labels_url":"https://api.github.com/repos/mikaku/Monitorix/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/mikaku/Monitorix/issues/137/comments","events_url":"https://api.github.com/repos/mikaku/Monitorix/issues/137/events","html_url":"https://github.com/mikaku/Monitorix/issues/137","id":132351882,"number":137,"title":"Monitorix crashs with SIGBUS on __memcpy_sse2_unaligned","user":{"login":"5chdn","id":15729797,"avatar_url":"https://avatars.githubusercontent.com/u/15729797?v=3","gravatar_id":"","url":"https://api.github.com/users/5chdn","html_url":"https://github.com/5chdn","followers_url":"https://api.github.com/users/5chdn/followers","following_url":"https://api.github.com/users/5chdn/following{/other_user}","gists_url":"https://api.github.com/users/5chdn/gists{/gist_id}","starred_url":"https://api.github.com/users/5chdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5chdn/subscriptions","organizations_url":"https://api.github.com/users/5chdn/orgs","repos_url":"https://api.github.com/users/5chdn/repos","events_url":"https://api.github.com/users/5chdn/events{/privacy}","received_events_url":"https://api.github.com/users/5chdn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2016-02-09T07:37:23Z","updated_at":"2016-02-18T12:13:01Z","closed_at":null,"body":"I'm running monitorox on archlinux and it keeps crashing right after restarting the service.\r\n\r\n    3 ✗ root@chaos ~ $ systemctl status monitorix -l\r\n    ● monitorix.service - Monitorix\r\n       Loaded: loaded (/usr/lib/systemd/system/monitorix.service; enabled; vendor preset: disabled)\r\n       Active: failed (Result: core-dump) since Di 2016-02-09 07:16:25 UTC; 5min ago\r\n         Docs: man:monitorix(8)\r\n      Process: 3447 ExecStart=/usr/bin/monitorix -c /etc/monitorix/monitorix.conf -p /run/monitorix.pid (code=exited, status=0/SUCCESS)\r\n     Main PID: 3448 (code=dumped, signal=BUS)\r\n\r\n    Feb 09 07:14:57 chaos systemd[1]: Starting Monitorix...\r\n    Feb 09 07:14:58 chaos systemd[1]: Started Monitorix.\r\n    Feb 09 07:16:25 chaos systemd[1]: monitorix.service: Main process exited, code=dumped, status=7/BUS\r\n    Feb 09 07:16:25 chaos systemd[1]: monitorix.service: Unit entered failed state.\r\n    Feb 09 07:16:25 chaos systemd[1]: monitorix.service: Failed with result 'core-dump'.\r\n    Feb 09 07:16:25 chaos systemd-coredump[4183]: Process 3448 (/usr/bin/monito) of user 0 dumped core.\r\n            \r\n            Stack trace of thread 3448:\r\n            #0  0x00007fa46a576060 __memcpy_sse2_unaligned (libc.so.6)\r\n            #1  0x00007fa46841c826 rrd_write (librrd.so.4)\r\n            #2  0x00007fa468427e2c n/a (librrd.so.4)\r\n            #3  0x00007fa468428939 rrd_update (librrd.so.4)\r\n            #4  0x00007fa468647eab XS_RRDs_update (RRDs.so)\r\n            #5  0x00007fa46a95e9ea Perl_pp_entersub (libperl.so)\r\n            #6  0x00007fa46a957826 Perl_runops_standard (libperl.so)\r\n            #7  0x00007fa46a8e3ed9 perl_run (libperl.so)\r\n            #8  0x0000000000400e39 main (perl)\r\n            #9  0x00007fa46a505610 __libc_start_main (libc.so.6)\r\n            #10 0x0000000000400e79 _start (perl)\r\n\r\n    3 ✗ root@chaos ~ $ coredumpctl info 3448\r\n               PID: 3448 (/usr/bin/monito)\r\n               UID: 0 (root)\r\n               GID: 0 (root)\r\n            Signal: 7 (BUS)\r\n         Timestamp: Di 2016-02-09 07:16:24 UTC (14min ago)\r\n      Command Line: /usr/bin/monitorix -c /etc/monitorix/monitorix.conf -p /run/monitorix.pi\r\n        Executable: /usr/bin/perl\r\n     Control Group: /system.slice/monitorix.service\r\n              Unit: monitorix.service\r\n             Slice: system.slice\r\n           Boot ID: 13b79045e49d4885b899224c8c67f16e\r\n        Machine ID: 950d6c2863484b5ea8596cc9f1e343ca\r\n          Hostname: chaos\r\n          Coredump: /var/lib/systemd/coredump/core.\\x2fusr\\x2fbin\\x2fmonito.0.13b79045e49d4885b899224c8c67f16e.3448.1455002184000000.lz4\r\n           Message: Process 3448 (/usr/bin/monito) of user 0 dumped core.\r\n                    \r\n                    Stack trace of thread 3448:\r\n                    #0  0x00007fa46a576060 __memcpy_sse2_unaligned (libc.so.6)\r\n                    #1  0x00007fa46841c826 rrd_write (librrd.so.4)\r\n                    #2  0x00007fa468427e2c n/a (librrd.so.4)\r\n                    #3  0x00007fa468428939 rrd_update (librrd.so.4)\r\n                    #4  0x00007fa468647eab XS_RRDs_update (RRDs.so)\r\n                    #5  0x00007fa46a95e9ea Perl_pp_entersub (libperl.so)\r\n                    #6  0x00007fa46a957826 Perl_runops_standard (libperl.so)\r\n                    #7  0x00007fa46a8e3ed9 perl_run (libperl.so)\r\n                    #8  0x0000000000400e39 main (perl)\r\n                    #9  0x00007fa46a505610 __libc_start_main (libc.so.6)\r\n                    #10 0x0000000000400e79 _start (perl)\r\n\r\nmonitorix version 3.8.1-2 and archlinux kernel version 4.0.6-1-ARCH.\r\n\r\n\r\n    0 ✓ root@chaos ~ $ pacman -Q monitorix\r\n    monitorix 3.8.1-2\r\n    0 ✓ root@chaos ~ $ pacman -Q glibc\r\n    glibc 2.22-3\r\n    0 ✓ root@chaos ~ $ pacman -Q perl\r\n    perl 5.22.1-1\r\n    0 ✓ root@chaos ~ $ pacman -Q rrdtool\r\n    rrdtool 1.5.5-1\r\n    0 ✓ root@chaos ~ $ uname -a\r\n    Linux chaos 4.0.6-1-ARCH #1 SMP PREEMPT Tue Jun 23 14:25:08 CEST 2015 x86_64 GNU/Linux\r\n\r\nFrom gdb:\r\n\r\n    Reading symbols from /usr/bin/perl...(no debugging symbols found)...done.\r\n\r\n    warning: core file may not match specified executable file.\r\n    [New LWP 3448]\r\n\r\n    warning: Could not load shared library symbols for linux-vdso.so.1.\r\n    Do you need \"set solib-search-path\" or \"set sysroot\"?\r\n    [Thread debugging using libthread_db enabled]\r\n    Using host libthread_db library \"/usr/lib/libthread_db.so.1\".\r\n    Core was generated by `/usr/bin/monitorix -c /etc/monitorix/monitorix.conf -p /run/monitorix.pid     '.\r\n    Program terminated with signal SIGBUS, Bus error.\r\n    #0  0x00007fa46a576060 in __memcpy_sse2_unaligned () from /usr/lib/libc.so.6\r\n"},"comment":{"url":"https://api.github.com/repos/mikaku/Monitorix/issues/comments/185691406","html_url":"https://github.com/mikaku/Monitorix/issues/137#issuecomment-185691406","issue_url":"https://api.github.com/repos/mikaku/Monitorix/issues/137","id":185691406,"user":{"login":"mikaku","id":829885,"avatar_url":"https://avatars.githubusercontent.com/u/829885?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaku","html_url":"https://github.com/mikaku","followers_url":"https://api.github.com/users/mikaku/followers","following_url":"https://api.github.com/users/mikaku/following{/other_user}","gists_url":"https://api.github.com/users/mikaku/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaku/subscriptions","organizations_url":"https://api.github.com/users/mikaku/orgs","repos_url":"https://api.github.com/users/mikaku/repos","events_url":"https://api.github.com/users/mikaku/events{/privacy}","received_events_url":"https://api.github.com/users/mikaku/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T12:13:01Z","updated_at":"2016-02-18T12:13:01Z","body":"Looks like you still don't understand where to put the configuration file:\r\n\r\n```\r\nThu Feb 18 10:36:50 2016 - Starting Monitorix version 3.8.1 (pid 2371).\r\nThu Feb 18 10:36:50 2016 - Loaded main configuration file '/etc/monitorix/conf.d/debug-137.conf'.\r\nThu Feb 18 10:36:50 2016 - Entering in debug mode.\r\nThu Feb 18 10:36:50 2016 - Changed process name to '/usr/bin/monitorix -c /etc/monitorix/conf.d/debug-137.conf -d process'.\r\nThu Feb 18 10:36:50 2016 - Loading extra configuration file '/etc/monitorix/conf.d/debug-137.conf'.\r\n```\r\n\r\nAs you can see, since you placed the main configuration file in the directory for extra configuration files, then Monitorix loads your configuration file twice.\r\n\r\nPlease, read the documentation in order to use Monitorix correctly.\r\n"}}