On 13/09/18 16:53, Magnus Wiberg wrote:

I installed machinekit and was working with realtime start. Then I was looking at the interface and loaded axis_sim and pru_test and not much more. Now that I try realtime start I get this: (can someone pleas shed some light on what might be wrong?)

Unfortunately the prints don't tell us anything

Why are you running `realtime start`?
What do you mean you have loaded axis_sim and pru_test?

It sounds like you have already got realtime started running a sim and then are trying to run it again.

Reboot and in a terminal run
sudo > /var/log/linuxcnc.log
DEBUG=5 realtime restart
halcmd loadrt debounce
halcmd show pin
halrun -U

If you get an error, attach the new linuxcnc.log, if not your problem was what you were doing.


debian@BeagleBoard-X15:~/machinekit/configs$ realtime start

rtapi_msgd command:  /usr/libexec/linuxcnc/rtapi_msgd --instance=0 --rtmsglevel=1 --usrmsglevel=1 --halsize=524288

rtapi_app command:  /usr/libexec/linuxcnc/rtapi_app_rt-preempt --instance=0

halcmd: cant connect to rtapi_app: -1 (uri= uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): 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: 18-09-13 15:45:56 dangling 'DEALER' socket created at hal/utils/halcmd_rtapiapp.cc:281



and in the linuxcnc.log I get 


Sep 13 15:45:50 BeagleBoard-X15 msgd:0: startup pid=26967 flavor=rt-preempt rtlevel=1 usrlevel=1 halsize=524288 shm=Posix cc=gcc 6.3.0 20170516  version=v0.1~-----~041712d

Sep 13 15:45:50 BeagleBoard-X15 msgd:0: ØMQ=4.2.1 czmq=4.0.2 protobuf=3.0.0 atomics=gcc intrinsics    libwebsockets=2.0.3

Sep 13 15:45:50 BeagleBoard-X15 msgd:0: configured: sha=041712d

Sep 13 15:45:50 BeagleBoard-X15 msgd:0: built:      Sep 12 2018 10:37:23 sha=041712d

Sep 13 15:45:50 BeagleBoard-X15 msgd:0: register_stuff: actual hostname as announced by avahi='BeagleBoard-X15.local'

Sep 13 15:45:50 BeagleBoard-X15 msgd:0: zeroconf: registering: 'Log service on BeagleBoard-X15.local pid 26967'

Sep 13 15:45:51 BeagleBoard-X15 rtapi:0: rtapi_app_main(rtapi): -22 Invalid argument

Sep 13 15:45:51 BeagleBoard-X15 msgd:0: rtapi_app exit detected - scheduled shutdown

Sep 13 15:45:51 BeagleBoard-X15 msgd:0: zeroconf: registered 'Log service on BeagleBoard-X15.local pid 26967' _machinekit._tcp 0 TXT "uuid=a42c8c6b-4025-4f83-ba28-dad21114744a" "instance=173fab7c-b76c-11e8-a37d-d436392c3ab0" "service=log" "dsn=ipc:///tmp/0.log.a42c8c6b-4025-4f83-ba28-dad21114744a"

Sep 13 15:45:53 BeagleBoard-X15 msgd:0: msgd shutting down

Sep 13 15:45:53 BeagleBoard-X15 msgd:0: zeroconf: unregistering 'Log service on BeagleBoard-X15.local pid 26967'

Sep 13 15:45:53 BeagleBoard-X15 msgd:0: log buffer hwm: 0% (0 msgs, 0 bytes out of 524288)

Sep 13 15:45:53 BeagleBoard-X15 msgd:0: normal shutdown - global segment detached

--
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 machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

--
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 machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to