![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hi every body I have Ubuntu 8.4 and install emc2 form live CD successfully. now i want to install emc2 from source code but i have some problems. I can configure and build emc2 successfully, but when i run emc2, i see these errors in terminal: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Machine configuration directory is '/home/faran/emc2/configs/stepper' Machine configuration file is 'stepper_mm.ini' Starting EMC2... module_helper is not setuid root Realtime system did not load Shutting down and cleaning up EMC2... RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed halcmd: hal_init() failed: -9 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed halcmd: hal_init() failed: -9 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed halcmd: hal_init() failed: -9 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed halcmd: hal_init() failed: -9 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed halcmd: hal_init() failed: -9 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed halcmd: hal_init() failed: -9 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed halcmd: hal_init() failed: -9 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed halcmd: hal_init() failed: -9 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed halcmd: hal_init() failed: -9 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed halcmd: hal_init() failed: -9 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed halcmd: hal_init() failed: -9 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed halcmd: hal_init() failed: -9 NOTE: 'rtapi' kernel module must be loaded module_helper is not setuid root module_helper is not setuid root module_helper is not setuid root module_helper is not setuid root module_helper is not setuid root module_helper is not setuid root module_helper is not setuid root Cleanup done EMC terminated with an error. You can find more information in the log: /home/faran/emc_debug.txt and /home/faran/emc_print.txt >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> please tell me what should i do? |
|
#2
| |||
| |||
![]() Jump up and down? Usually works for me. If jumping doesn't do it for you, did you do a setuid root? Because the first message you get after starting it says: A quick quick check would be to go to your emc2 source dir and do a "sudo make setuid" and see if that fixes things. If not, here is a good list of instructions to help in building from source. good luck! Fred |
|
#3
| |||
| |||
| Dear mauve_alert thanks for your attention but i run these commands --------------------------------------- $ cd src $ ./configure --enable-run-in-place $ make $ sudo make setuid ----------------------------------------- and after build successfully, when i run emc i gave those errors in addition, i can run it without any problem in simulator mode ---------------------- ./configure --enable-run-in-place --enable-simulator |
|
#4
| |||
| |||
| Hello faran, The "module_helper is not setuid root" message is still somewhat suspicious. Not sure if that is just a misleading error message, but best be sure and try to run emc as root (no sudo or setuid) and see if that works. Code: ~/emc2/src/ % su - ~/emc2/src/# . scripts/emc-environment ~/emc2/src/# emc
hope that helps, Fred |
|
#5
| |||
| |||
Dear Fred your guidance help me. the EMC2 runs without any problem thanks a lot good luck |
| Sponsored Links |
|
#6
| |||
| |||
| Hello faran, Glad to hear you've got it working. Was it just a matter of running it as root? Could you maybe give a short description of what it was that made it work? That way the next guy who runs into the same problem can use this information.Anyways good luck with your working emc install! Fred |
|
#7
| ||||
| ||||
| Hi Fred Sorry for delay.
I enter what you say about su
and then tried this command sudo su and entered may pass, and it worked!!! and then I can work as a root user. so I run emc. again thanks for your help. really I did not know how can i run emc. good luck |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What CAM for EMC2? | cwebs | LinuxCNC (formerly EMC2) | 7 | 09-02-2009 05:52 PM |
| Running comedi (data acquisition) with EMC2 software | uoayhe | LinuxCNC (formerly EMC2) | 1 | 07-16-2009 07:51 PM |
| Having trouble running keling 4030 drivers with emc2 | OneAndy | LinuxCNC (formerly EMC2) | 11 | 01-25-2009 07:03 PM |
| emc2 running a hermes engraver - video. | samco | LinuxCNC (formerly EMC2) | 9 | 07-16-2008 09:40 AM |
| Need Help!- M8 still not being red by EMC2 | SpeedsCustom | LinuxCNC (formerly EMC2) | 27 | 04-13-2008 03:36 PM |