Hello all, I have a very annoying situation (at least at my end). I set up Samba 2.0.5 on a Digital UNIX 4.0F system sitting on a Compaq DS20 server with great success.... until recently. I set up three directory file shares with no problems, when I tried to set up a forth, quite a while after setting up the inital three, I tried to access it from a NT box, I got the message server not found, but the other three were still accessible. Before rolling the server into production, I applied the latest patches, did some virtual memory tuning and rebooted. When the system came up, I started the Samba Server and gave the thumbs up. The next day, I was confronted with users not being able to access ANY of the shares. I checked to see if the processes were running, and they were, then I ran smbstatus and recieved the messages: ERROR:Root did not create the semaphore ERROR:Failed to initialize share modes Can't initialize shared memory - exiting So I did some more kernel tuning, and even reverted back to the settings when samba did work with no luck. Although I can see smbd and nmbd running in my process lists, SWAT only shows that nmbd is running. Any help? The best guess I have is that my kernel's shared memory and semaphore settings are not high enough, although I did try to double all the values with no success. Thank You.
we've fixed this for 2.0.6
On Wed, 13 Oct 1999, privledged SYSTEM account wrote:> ERROR:Root did not create the semaphore >I had this problem on a SCO box. Rebooting the server allowed samba to start properly. (I had been playing with 2.0.3 on the box, after that 2.0.5a wouldn't start properly. Maybe 2.0.3 wasn't releasing something ?) -- Alastair Broom Valley Technology, Edinburgh, Bonnie Scotland abroom@valleyt.co.uk
Hello, I am new to samba and need assistance for the error below. The daemons started fine (via script) but can't map drive and get error below. Thanks for any help. Hai Nguyen # smbstatus Samba version 2.0.5a Service uid gid pid machine ---------------------------------------------- ERROR: root did not create the semaphore ERROR: Failed to initialise share modes Can't initialise shared memory - exiting # # sysdef * * Streams Tunables * 9 maximum number of pushes allowed (NSTRPUSH) 65536 maximum stream message size (STRMSGSZ) 1024 max size of ctl part of message (STRCTLSZ) * * IPC Messages * 0 entries in msg map (MSGMAP) 0 max message size (MSGMAX) 0 max bytes on queue (MSGMNB) 0 message queue identifiers (MSGMNI) 0 message segment size (MSGSSZ) 0 system message headers (MSGTQL) 0 message segments (MSGSEG) * * IPC Semaphores * 10 entries in semaphore map (SEMMAP) 70 semaphore identifiers (SEMMNI) 5000 semaphores in system (SEMMNS) 30 undo structures in system (SEMMNU) 25 max semaphores per id (SEMMSL) 10 max operations per semop call (SEMOPM) 10 max undo entries per process (SEMUME) 32767 semaphore maximum value (SEMVMX) 16384 adjust on exit max value (SEMAEM) * * IPC Shared Memory * 4294967295 max shared memory segment size (SHMMAX) 1 min shared memory segment size (SHMMIN) 100 shared memory identifiers (SHMMNI) 150 max attached shm segments per process (SHMSEG) * * Time Sharing Scheduler Tunables * 60 maximum time sharing user priority (TSMAXUPRI) SYS system class name (SYS_NAME) # ==== __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com