Check what is installed.
The error re /not setuuid /is misleading, the main question is why are
you trying to use *rtapi_app_posix, *it should be rt-preempt
On 2/13/2019 12:19 AM, Condit Alan wrote:
Robert,
I tried updating the kernel first on my other image, but when I tried
to start machinekit I got a message unable to setuid need sudo
makesetuid. So I am trying the image that you gave me the link to.
I can invoke "ssh -Y [email protected]
<mailto:[email protected]>” but when I try to start
machinekit I see this:
machinekit@beaglebone:~$ machinekit
MACHINEKIT - 0.1
application-specific initialization failed: no display name and no
$DISPLAY environment variable
Error in startup script: invalid command name "image"
while executing
"image create photo -file $f/$i.gif"
invoked from within
"if [file exists $f/$i.gif] {
return [image create photo -file $f/$i.gif]
}"
(procedure "linuxcnc::image_search" line 7)
invoked from within
"linuxcnc::image_search machinekit-wizard"
invoked from within
"set logo [linuxcnc::image_search machinekit-wizard]"
(file "/usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl" line 31)
So I did "sudo apt-get install xorg openbox”, and reboot.
Now I get:
machinekit@beaglebone:~$ machinekit
MACHINEKIT - 0.1
Machine configuration directory is
'/home/machinekit/machinekit/configs/ARM.BeagleBone.Xylotex'
Machine configuration file is 'Xylotex.ini'
Starting Machinekit...
Warning - /usr/libexec/linuxcnc/rtapi_app_posix not setuid
'sudo make setuid' missing?
rtapi_msgd command: /usr/libexec/linuxcnc/rtapi_msgd --instance=0
--rtmsglevel=1 --usrmsglevel=1 --halsize=524288
rtapi_app command: /usr/libexec/linuxcnc/rtapi_app_posix --instance=0
/usr/bin/realtime: line 237: /usr/libexec/linuxcnc/rtapi_app_posix: No
such file or directory
rtapi_app startup failed; aborting
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
io started
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd loadusr io started
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
Shutting down and cleaning up Machinekit...
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
halcmd: no service UUID (-R <uuid> or MACHINEKIT_INI [GLOBAL]MKUUID)
present
Warning - /usr/libexec/linuxcnc/rtapi_app_posix not setuid
'sudo make setuid' missing?
Cleanup done
Machinekit terminated with an error. For simple cases more information
can be found in the following files:
/home/machinekit/linuxcnc_debug.txt
/home/machinekit/linuxcnc_print.txt
For other cases get more meaningfull information by restarting after
export DEBUG=5
and look at the output of:
/var/log/linuxcnc.log
dmesg
When looking for errors, specifically look for libraries that fail to load
by looking for lines with 'insmod failed' as per example below.
insmod failed, returned -1:
do_load_cmd: dlopen: nonexistant-component.so: cannot open shared
object file:
No such file or directory
For getting help, please have a look here:
www.machinekit.io/docs/getting-help/
<http://www.machinekit.io/docs/getting-help/>
Alan
On Feb 12, 2019, at 6:57 AM, Robert Nelson <[email protected]
<mailto:[email protected]>> wrote:
On Mon, Feb 11, 2019 at 4:39 PM mugginsac <[email protected]
<mailto:[email protected]>> wrote:
So, does that mean there will be a new Stretch-Machinekit image, or
is it just the new kernel for the moment?
Please give this a shot:
https://rcn-ee.net/rootfs/bb.org/testing/2019-02-11/stretch-machinekit/
ps, let me know what else you want installed in it by default.
Regards,
--
Robert Nelson
https://rcn-ee.com/
--
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]
<mailto:[email protected]>.
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 [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.