Skip to content

Create Service Failed #1041

@gxl1457628736

Description

@gxl1457628736

C++ example ->event_based_communication

// 创建自定义发布者
auto publisher = CustomPublisher::create(node, ServiceName::create("My/Funk/ServiceName").expect(""));

2025-09-12 10:37:40.019 [Fatal]: libs/include/iceoryx/v2.95.5/iox/detail/functional_interface.inl:56 [PANIC]
error: execv(/home/rtpc/Iceoryx2Workspace/EventWaitSetTest/build/linux/x86_64/debug/PublisherEvent ) failed(-1)

I encountered an error while creating the service, possibly because I had already created it before, which prevented the service from being created successfully. However, I checked the program I had previously run and it has stopped running. I can create this service successfully by changing its name to something else("My/Funk/ServiceName9"). I would like to know what I should do next time to avoid this problem, or how to troubleshoot if the service file is being occupied? Where should I see this service file

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions