vsomeip “permission denied” and “bind failed” errors on QNX with Android image #1001
Unanswered
curious-coder-7
asked this question in
Q&A
Replies: 1 comment
-
|
Hello team and @GenivivSOMEIPmaintainer, I would appreciate your help with this issue. Thank you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
local_client.json
local_service.json
`Logs:
ls -lrt
total 1381
-rwxrwxrwx 1 root root 346904 Jan 01 04:00 routingmanagerd
-rwxrwxrwx 1 root root 93896 Jan 01 04:04 subscribe-sample
-rwxrwxrwx 1 root root 71608 Jan 01 04:04 response-sample
-rwxrwxrwx 1 root root 99320 Jan 01 04:04 request-sample
-rwxrwxrwx 1 root root 94416 Jan 01 04:04 notify-sample
export LD_LIBRARY_PATH=/var/vsomeip_qnx/all_libs:$LD_LIBRARY_PATH
export VSOMEIP_CONFIGURATION=/var/vsomeip_qnx/configs/local_service.json
export VSOMEIP_APPLICATION_NAME=routingmanagerd
./routingmanagerd
1970-01-01 04:11:00.600828 [info] Using configuration file: "/var/vsomeip_qnx/configs/local_service.json".
1970-01-01 04:11:00.600838 [info] Parsed vsomeip configuration in 6ms
1970-01-01 04:11:00.600838 [info] Configuration module loaded.
1970-01-01 04:11:00.600848 [info] Security disabled!
1970-01-01 04:11:00.600848 [info] Initializing vsomeip (3.4.10) application "routingmanagerd".
1970-01-01 04:11:00.600848 [info] Instantiating routing manager [Host].
1970-01-01 04:11:00.600858 [info] create_routing_root: Routing root @ /var/vsomeip-0
1970-01-01 04:11:00.600868 [error] local_uds_server_endpoint_impl: bind failed (Permission denied)
1970-01-01 04:11:00.600868 [error] local_uds_server_endpoint_impl: listen failed (Invalid argument)
1970-01-01 04:11:00.600868 [error] local_uds_server_endpoint_impl: chmod: No such file or directory
1970-01-01 04:11:00.600868 [info] Application(routingmanagerd, 1200) is initialized (11, 100).
1970-01-01 04:11:00.600868 [info] Starting vsomeip application "routingmanagerd" (1200) using 2 threads I/O nice 255
1970-01-01 04:11:00.600878 [info] main dispatch thread id from application: 1200 (routingmanagerd) is: 3
1970-01-01 04:11:00.600878 [info] Service Discovery disabled. Using static routing information.
1970-01-01 04:11:00.600878 [info] shutdown thread id from application: 1200 (routingmanagerd) is: 4
1970-01-01 04:11:00.600878 [info] SOME/IP routing ready.
1970-01-01 04:11:00.600878 [info] Watchdog is disabled!
1970-01-01 04:11:00.600878 [info] io thread id from application: 1200 (routingmanagerd) is: 6
1970-01-01 04:11:00.600878 [info] io thread id from application: 1200 (routingmanagerd) is: 1
1970-01-01 04:11:00.600888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:11:10.700888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:11:20.800888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:11:30.900888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:11:40.000888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:11:50.100888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:12:00.200888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:12:10.300888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:12:20.400888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:12:30.500888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:12:40.600888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:12:50.700888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:13:00.800888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:13:10.900888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:13:20.000888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:13:30.100888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:13:40.200888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:13:50.300888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:14:00.400888 [info] vSomeIP 3.4.10 | (default)
1970-01-01 04:14:03.430698 [info] Stopping vsomeip application "routingmanagerd" (1200).
1970-01-01 04:14:03.430718 [error] routing_manager_stub::stop() unlink failed (/var/vsomeip-0): No such file or directory
1970-01-01 04:14:03.430718 [info] Exiting vsomeip application...
`

I am encountering vsomeip communication issues on a target board running QNX with an Android image, where I consistently see “permission denied” and “bind failed” errors.
Using the same vsomeip binaries and JSON configuration files, the application runs successfully on a standalone QNX image on a different hardware platform.
For building and installing vsomeip v3.4.10, I followed the steps exactly as documented here:
https://github.com/qnx-ports/build-files/blob/main/ports/vsomeip/README.md
Additional details:
vsomeip version: 3.4.10
Boost version: 1.78
Could someone please advise on potential differences in permissions, networking, or system configuration between standalone QNX and QNX with Android that might cause these errors? Any guidance on debugging or required settings for vsomeip in a QNX + Android environment would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions