I had MachineKit running with remote=0 and contrlling my milling maching so I know that my linux computer configuration is good. But I'm working on a remote gui so cleaned out its prior install and started with a clean install using the master zip file. I always run in a rip configuration.
As far as I have been able to determine the problem is related to /libexec/rtapi_msgd and /libexec/rtapi_app_rt-preempt. Possibly the reported installed location. It always gives these erros when starting up: halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.log halcmd: the msgd:0 logger demon is not running - please investigate /var/log/linuxcnc.log E: 19-10-15 20:38:37 [21476]dangling 'DEALER' socket created at hal/utils/halcmd_rtapiapp.cc:284 cnc@cnc1:~/machinekit-dev$ The log does not give me anymore clues but the number of dots in the first part of file location in the below tests concern me. Here is some information on my system and tests that I have completed. My uses Linux 19.1 Mint cnc@cnc1:~/Desktop$ uname -a Linux cnc1 4.14.93-rt53 #1 SMP PREEMPT RT Tue Jan 29 01:00:10 AKST 2019 x86_64 x86_64 x86_64 GNU/Linux I used this config for the compile: ./configure --enable-remote --with-rt-preempt --enable-drivers --enable-build-documentation DEBUG=5 realtime start halcmd -f -k The above gave: cnc@cnc1:~/machinekit-dev$ DEBUG=5 realtime start realtime: command not found cnc@cnc1:~/machinekit-dev$ . ./scripts/rip-environment cnc@cnc1:~/machinekit-dev$ DEBUG=5 realtime start rtapi_msgd command: /home/cnc/machinekit-dev/libexec/rtapi_msgd --instance=0 --rtmsglevel=5 --usrmsglevel=5 --debug=5 --halsize=524288 rtapi_app command: /home/cnc/machinekit-dev/libexec/rtapi_app_rt-preempt --instance=0 --debug=5 E: 19-10-15 20:38:32 [21470]dangling 'XPUB' socket created at rtapi/rtapi_msgd.cc:1107 halcmd: cant connect to rtapi_app: -1 (uri= uuid=cf144c6b-b001-4b4f-a57c-92479003f70d): rtapi_rpc(): reply timeout halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.log halcmd: the msgd:0 logger demon is not running - please investigate /var/log/linuxcnc.log E: 19-10-15 20:38:37 [21476]dangling 'DEALER' socket created at hal/utils/halcmd_rtapiapp.cc:284 cnc@cnc1:~/machinekit-dev$ ----- rtapi_msgd indicates its owner is cnc If I use: gdb ../libexec/rtapi_msgd ../libexec/rtapi_msgd: No such file or directory. If I use: gdb ./libexec/rtapi_msgd cnc@cnc1:~/machinekit-dev$ gdb ./libexec/rtapi_msgd GNU gdb (Ubuntu 8.1-0ubuntu3.1) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./libexec/rtapi_msgd...done. (gdb) Then followed up with: r --foreground --stderr Starting program: /home/cnc/machinekit-dev/libexec/rtapi_msgd --foreground --stderr [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". warning: removing unused global shm segment /linuxcnc-0-00154711 [Inferior 1 (process 22034) exited with code 01] (gdb) ------ rtapi_app_rt-preempt indicates its owner is root with cnc read-only and then none. gdb ../libexec/rtapi_app_rt-preempt This gave me: gdb ../libexec/rtapi_app_rt-preempt cnc@cnc1:~/machinekit-dev$ gdb ../libexec/rtapi_app_rt-preempt GNU gdb (Ubuntu 8.1-0ubuntu3.1) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... ../libexec/rtapi_app_rt-preempt: No such file or directory. (gdb) Same with one dot. gdb ./libexec/rtapi_app_rt-preempt Gave me: cnc@cnc1:~/machinekit-dev$ gdb ./libexec/rtapi_app_rt-preempt GNU gdb (Ubuntu 8.1-0ubuntu3.1) 8.1.0.20180409-git Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./libexec/rtapi_app_rt-preempt...done. Then followed by: (gdb) r --foreground -d -d Starting program: /home/cnc/machinekit-dev/libexec/rtapi_app_rt-preempt --foreground -d -d [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. __GI_____strtol_l_internal (nptr=0x0, endptr=0x0, base=10, group=<optimized out>, loc=0x7f45ba5e4560 <_nl_global_locale>) at ../stdlib/strtol_l.c:292 292 ../stdlib/strtol_l.c: No such file or directory. (gdb) -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/6eb7b943-2c1a-4241-ac9d-ee6e7a1e09d7%40googlegroups.com.
