search for: ipc_excl

Displaying 4 results from an estimated 4 matches for "ipc_excl".

Did you mean: inclexcl
1998 Apr 01
0
[Fwd: Semaphore problem on HP-UX ?]
...hash_size = SHMEM_HASH_SIZE; DEBUG(4,("semaphore : initial hash-size = %d \n", hash_size)); while (hash_size > 1) { sem_id = semget(SEMAPHORE_KEY, hash_size+1, IPC_CREAT|IPC_EXCL|SEMAPHORE_PERMS); DEBUG(4,("semaphore : %s - hash-size = %d \n", strerror(errno),hash_size)); DEBUG(4,("semaphore : sem_id = %d \n", sem_id)); if (sem_id != -1 ||...
2000 Aug 07
1
shm_open (667) & locking_init(174), not 2.3.xx kernel
This weekend, we upgraded our server to Linux-Mandrake 7.1, which uses a (slightly customized by Mandrake) 2.2.15 kernel. Since then, users are unable to log in, and log.smb shows locking/shmem_sysv_shm_open(667). Can't create or use use IPC area. Error was File exists locking/locking.c:locking_init(174). ERROR: Failed to initialise share modes There have been several messages posted about
2010 Aug 10
1
semget() failed
...s returns -1 and I don't understand my mistake. int sem_init_SysV(sem_t *semaphore, int shared, unsigned int valeur) { int ios; union semun argument; if (shared != 0) { return(ENOSYS); } (*semaphore) = semget(IPC_PRIVATE, 1, IPC_CREAT | IPC_EXCL | SEM_R | SEM_A); if ((*semaphore) == -1) { // Always true with OS/2 (libc 0.6.3) return(EINVAL); } argument.val = valeur; ios = semctl((*semaphore), 0, SETVAL, argument); return(ios); } Any explanation ? Thanks in advance, JKB
2004 Aug 06
1
how to start liveice with screen?
Moin, I installed liveice as well as 'screen' at a debian maschine, both applications are running fine. But when I try to start liveice in a 'screen' environment then the liveice process ends without an error message: $ /usr/bin/screen -dmS liveice /usr/bin/liveice A prefixed 'strace -f' shows me: [pid 5614] old_mmap(NULL, 167936, PROT_READ|PROT_WRITE,