[Samba] Unable to initialize messaging context!

Rowland penny rpenny at samba.org
Wed Oct 30 18:33:41 UTC 2019

On 30/10/2019 18:04, Rich Webb via samba wrote:
> Hello,
> I am getting this when trying to run testparm and I'm also unable to start the samba daemon. I am trying to set up a AD DC. This is a fresh install of CentOS 7 minimal with the dependency script from the wiki run. The version is 4.11.2 and was successfully compiled. I believe the two issues are related but I'm unable to find anything on google that indicates what could be the problem.
> When running the samba daemon with -i this is the output I get:
> exit_daemon: daemon failed to start: Samba failed to setup parent messaging, error code -1073741801

The post subject could point to your error, it happens when you try to 
do something on Samba as a normal user when it it should be done as root 
or by using sudo.

Try running the command with 'sudo' at the beginning and '-d3' at the end.

As you have compiled Samba yourself, what was your configure line ?


> CentOS 7 Minimal
> All dependencies installed via script from the wiki
> Compiled from source

More information about the samba mailing list