wolfcw / libfaketime

libfaketime modifies the system time for a single application
https://github.com/wolfcw/libfaketime
GNU General Public License v2.0
2.64k stars 321 forks source link

In ft_shm_init(), sem_open failed and recreation attempts failed: No such file or directory #411

Closed wanghaiqing2015 closed 1 year ago

wanghaiqing2015 commented 1 year ago

how to resolved this problem?

[root@aaaaaaaa ~]# test

                              test (R)
                          zky MAX(TM)

             Version P-2019.06 for linux64 - Jun 02, 2019 

                Copyright (c) 2001 - 2019 zky, Inc.

This software and the associated documentation are proprietary to zky, Inc. This software may only be used in accordance with the terms and conditions of a written license agreement with zky, Inc. All other use, reproduction, or distribution of this software is strictly prohibited.

^C [root@aaaaaaaa ~]# [root@aaaaaaaa ~]# ^C [root@aaaaaaaa ~]# ^C [root@aaaaaaaa ~]# export LD_PRELOAD=/root/libfaketime.so.1 [root@aaaaaaaa ~]# test libfaketime: In ft_shm_init(), sem_open failed and recreation attempts failed: No such file or directory libfaketime: sem_name was /faketime_sem_21916, created locally: false libfaketime: In ft_shm_init(), sem_open failed and recreation attempts failed: No such file or directory libfaketime: sem_name was /faketime_sem_21916, created locally: false

wanghaiqing2015 commented 1 year ago

/dev/shm logs

111.zip