Error mesage

Andrew Bartlett abartlet at
Wed Oct 31 19:26:02 GMT 2001

Andrew Bartlett wrote:
> "MCCALL,DON (HP-USA,ex1)" wrote:
> >
> > Hi Harmeet,
> > It sounds like at one point in time smbd/nmbd was started by someone not
> > logged in
> > DIRECTLY as root - maybe they did a su, or used some security program that
> > sets effective
> > uid to root; anyway, what this message generally means is that the creator
> > of the samba
> > shared memory id/semaphore id is not 'root'.  You should be able to resolve
> > this by
> > killing any smbd and nmbd daemons and doing
> > ipcrm -S 0x00280269
> > and
> > ipcrm -M 0x00280267
> >
> > then, while logged in as root, start samba; nmbd -D and smbd -D
> >
> > Hope this helps,
> > Don
> The other thing that happens (very, very occasionally) is that another
> process has picked that number for its shared memory area (apache? - It
> happended to me once and it was easier to reboot the machine), and
> smbstatus is therefore refusing to read it.  The shared memory are is
> unimportant, particulary as it doesn't do anything unless you recompile
> samba --with-profiling-data.  Smbstatus should just ignore the shared
> memory area in this case, instead of exiting.

I missed the detail about this being 2.0.5.  Now you see why we moved to

Andrew Bartlett

Andrew Bartlett                                 abartlet at
Samba Team member, Build Farm maintainer        abartlet at
Student Network Administrator, Hawker College   abartlet at

More information about the samba mailing list