Messages in this thread | | | Date | Sat, 25 Mar 2000 14:26:21 -0500 | From | "Michael H. Warfield" <> | Subject | Re: smbd (2.0.6) fails with 2.3.99-pre3 |
| |
On Sat, Mar 25, 2000 at 08:10:50PM +0100, Anton Schegg wrote: > Hello,
> I'm trying to start smbd under the 2.3.99-pre3 kernel. If booting 2.3.48 > smbd runs fine with exactly the same configuration. The following is the > error output of log.smb:
> [2000/03/25 12:57:48, 1] smbd/server.c:main(643) > smbd version 2.0.6 started. > Copyright Andrew Tridgell 1992-1998 > [2000/03/25 12:57:48, 0] locking/shmem_sysv.c:sysv_shm_open(667) > Can't create or use IPC area. Error was Invalid argument > [2000/03/25 12:57:48, 0] locking/locking.c:locking_init(174) > ERROR: Failed to initialise share modes
> Any ideas?
Yeah... If you went straight from 2.3.48 to 2.3.99* without stopping at any other version, I can take a good guess...
In either 2.3.50 or 2.3.51 they changed some shared memory initialization stuff and now you need to "mount" the shm file system.
Add the following line to your /etc/fstab file:
none /var/shm shm defaults 0 0
Make the /var/shm directory and then run "mount /var/shm" and shared memory should now work. If you chose a directory other than /var/shm, you have to change some kernel tunning parameters in /proc, so you can't just plug it in any which where. By adding it to /etc/fstab, you'll get it mounted properly when you boot up.
My guess is that this will fix your smbd problem since that's what's failing.
> Anton Schegg
Mike -- Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com (The Mad Wizard) | (770) 331-2437 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |