Comments (8)
@Autostone-c @elfenpiff since iceoryx now uses a prefix for it's resources, it is sufficient to just do rm -rf /dev/shm/iox1*
and rm -rf /tmp/iox1*
. No need to remove unrelated shm files anymore
from iceoryx.
It seems that the example is currently broken. Could you please open config_and_run_ice_access_control.sh
and change line 27 into
TMUX="tmux -2 -q"
and tell us if this fixes your issue.
Did you execute the command
./config_and_run_ice_access_control.sh config
before you executed the example with
./config_and_run_ice_access_control.sh run
Sometimes, the user and group information are not updated in your current session until you re-login. Could you try this as well please.
from iceoryx.
看来这个例子目前已经被破坏了。能否请您打开
config_and_run_ice_access_control.sh
第 27 行并将其更改为TMUX="tmux -2 -q"
并告诉我们这是否可以解决您的问题。
你执行命令了吗
./config_and_run_ice_access_control.sh config在执行示例之前
./config_and_run_ice_access_control.sh run有时,在您重新登录之前,当前会话中的用户和组信息不会更新。您也可以尝试一下吗?
hi,thanks for your reply. I have modified and run what you said. but i get nothing on my terminal
from iceoryx.
@Autostone-c Could you start it manually.
- Open 4 Terminals
- In every terminal, go inside the iceoryx directory and then type
cd build/iceoryx_examples/ice_access_control/
- Terminal 1: Start roudi with user
roudi
and groupiceoryx
withsudo -u roudi -g iceoryx -- ./iox-cpp-roudi-static-segments
- Terminal 2: Start the radar app with user
perception
and groupiceoryx
viasudo -u perception -g iceoryx -- ./iox-cpp-radar
- Terminal 3: Start the display app with user
infotainment
and groupiceoryx
viasudo -u infotainment -g iceoryx -- ./iox-cpp-display
- Terminal 4: Start the application that is not allowed to participate in the communication `sudo -u notallowed -g iceoryx -- ./iox-cpp-cheeky'. Here you should observe an error.
Did the single steps work?
from iceoryx.
5. sudo -u infotainment -g iceoryx -- ./iox-cpp-display
Have you ever encountered this error
from iceoryx.
I think you get this if there are some remnants of an old application with the same name, e.g. when you started that application with a different user and that application was not shut down gracefully. When the application is restarted, it notices that there are some remnants and tries to clean them up but they were created by a different user, it fails.
from iceoryx.
@Autostone-c I think I quick fix would be to restart the system, then those remnants should be cleaned up.
You can do this also manually by calling:
rm -rf /dev/shm/* # removes all shared memory data segments
rm -rf /tmp/$APP_NAME$* # removes all iceoryx lock files and sockets
For instance for the application iox-cpp-display
it should be
rm -rf /tmp/iox-cpp-display*
Please check manually via ls -alh /tmp/
the files.
from iceoryx.
I have resolved the issue and need to add the dell user to the iceoryx group as well as delete the temporary files in the /tmp directory,i will close this issues
from iceoryx.
Related Issues (20)
- How to handle messages in parallel with popo::listener? HOT 3
- Is there a cost comparison between serialization app and roudi with protobuf or other efficient implementation HOT 2
- iox-roudi throws POPO__CHUNK_LOCKING_ERROR when killing a process mid-publish HOT 6
- Ongoing Issue: Small Documentation Tasks
- publisher got error after loaned 8 sample HOT 2
- Race condition between ProbeProcessAliveWithSigTerm in RouDi and SignalWatcher singleton in applications HOT 5
- Out-of-bounds memory access in UsedChunkList HOT 9
- Request server received no valid server port from RouDi HOT 2
- It is possible to specify a queue size greater than 256 HOT 2
- Move iceoryx2 cxx addendum headers into iceoryx
- iox::function claims to support moving functions, but doesn't HOT 5
- Building iceoryx with bazel on Windows is broken
- Port iceoryx to bzlmod
- Compilation Conflict with Apache Arrow from ENUM macro
- Add std::atomic abstraction
- The wrong status is being transmitted HOT 5
- [ Error ]: ICEORYX error! MEPOO__MEMPOOL_CHUNKSIZE_MUST_BE_MULTIPLE_OF_CHUNK_MEMORY_ALIGNMENT HOT 6
- message_filters::Synchronizer failed when roudi client is enabled ? HOT 2
- How to setting the right val of size and count in toml config ?
- A Small Mistake in lockfree_queue.md HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iceoryx.