Displaying 10 results from an estimated 10 matches for "semctl".
Did you mean:
emctl
1999 Sep 16
2
Need Help with IRIX Error
...:52, 3] smbd/server.c:main(688)
Becoming a daemon.
[1999/09/16 09:50:52, 3] lib/util_sock.c:open_socket_in(898)
bind succeeded on port 139
[1999/09/16 09:50:52, 2] smbd/server.c:open_sockets(183)
waiting for a connection
[1999/09/16 09:57:08, 0] locking/shmem_sysv.c:sysv_shm_open(590)
ERROR semctl: can't IPC_STAT. Error was Bad address
[1999/09/16 09:57:08, 0] locking/locking.c:locking_init(174)
ERROR: Failed to initialise share modes
[1999/09/16 09:57:08, 0] locking/shmem_sysv.c:sysv_shm_open(590)
ERROR semctl: can't IPC_STAT. Error was Bad address
[1999/09/16 09:57:08, 0] locki...
1999 Jan 15
6
locking Problem 2.0.0 on SGI
...equested 10000 open files, 2490 are
available.
2) doing a smbclient -L <hostname> returns
session request to ETHER failed
session request to *SMBSERVER failed
3) at the same time the following appears in log.smb
[1999/01/15 17:38:11, 0] locking/shmem_sysv.c:sysv_shm_open(590)
ERROR semctl: can't IPC_STAT. Error was Bad address
[1999/01/15 17:38:11, 0] locking/locking.c:locking_init(169)
ERROR: Failed to initialise share modes!
[1999/01/15 17:38:12, 0] locking/shmem_sysv.c:sysv_shm_open(590)
ERROR semctl: can't IPC_STAT. Error was Bad address
[1999/01/15 17:38:12, 0] l...
2000 Feb 21
0
IRIX 6.5 with samba-2.0.6 and gcc.
I just report a problem that seems to be know since quite a long tiem, but is
neither reflected in the FAQ nor in the README's of the samba distribution.
The problem is that using gcc under IRIX to compile samba gives a mismatch in
calling semctl, because the structure passing conventions of gcc are not same as
the IRIX cc conventions.
(As far as I know semctl is the only function taht is used by samba, which takes
a structure as and argument and not a *pointer* to a structure!)
This results in a log file like:
smbd version 2.0.6 starte...
1999 Oct 18
1
problem with samba on irix 6.5
...in(898)
bind succeeded on port 139
[1999/10/18 10:11:24, 2] smbd/server.c:open_sockets(183)
waiting for a connection
[1999/10/18 10:11:50, 4] locking/shmem_sysv.c:sysv_shm_open(544)
Trying sysv shmem open of size 1048576
[1999/10/18 10:11:50, 0] locking/shmem_sysv.c:sysv_shm_open(590)
ERROR semctl: can't IPC_STAT. Error was Bad address
[1999/10/18 10:11:50, 0] locking/locking.c:locking_init(174)
ERROR: Failed to initialise share modes
[1999/10/18 10:11:50, 4] locking/shmem_sysv.c:sysv_shm_open(544)
Trying sysv shmem open of size 1048576
[1999/10/18 10:11:50, 0] locking/shmem_sysv.c:s...
1999 Apr 02
0
help on 2.0.3
...uot;smbclient -L klebit" an erros occurs:
Added interface ip=128.252.252.152 bcast=128.252.252.255 nmask=255.255.255.0
session request to KLEBIT failed
session request to *SMBSERVER failed
Looking at the log.smb I see:
[1999/04/02 12:02:53, 0] locking/shmem_sysv.c:sysv_shm_open(590)
ERROR semctl: can't IPC_STAT. Error was Bad address
[1999/04/02 12:02:53, 0] locking/locking.c:locking_init(169)
ERROR: Failed to initialise share modes!
Please help and thanks.
--
Lei Wang
----------------------------------------------------------------------
Research Associate
Department of Psychiatry...
1999 Apr 13
0
(?) Samba 2.03 on IRIX 6.2 and Share Memory PB
....255.255.0
[1999/04/06 20:50:51, 1] smbd/files.c:file_init(219)
file_init: Information only: requested 10000 open files, 2490 are
available.
[1999/04/06 20:50:51, 2] smbd/server.c:open_sockets(183)
waiting for a connection
[1999/04/07 11:02:23, 0] locking/shmem_sysv.c:sysv_shm_open(590)
ERROR semctl: can't IPC_STAT. Error was Bad address
[1999/04/07 11:02:23, 0] locking/locking.c:locking_init(169)
ERROR: Failed to initialise share modes!
On then client side its something like
/usr/local/samba/bin/smbclient -L pluche
Added interface ip=193.56.119.107 bcast=193.56.119.255
nmask=255.255....
2010 Aug 10
1
semget() failed
...ment;
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
2006 Jul 28
0
Apache/Mongrel Deployment Errors
...er/group to run httpd as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don''t use Group #-1 on these systems!
#
User apache
Group apache
### Section 2: ''Main'' server configuration
#
# The directives in this section set up the values used by the ''main''
# server...
2006 Jan 05
2
Apache issue
...er/group to run httpd as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don't use Group #-1 on these systems!
#
#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin at your-doma...