Wednesday, August 3, 2022

[389-users] Re: I have some problem with 389 Directory Server container project

yesterday,I have a try on a new VM with Ubuntu 18.04,it is ok
I view the source code
in the /usr/lib/python3.10/site-packages/lib389/ file

the error is in line 1157 , as is follows:

cmd = ["%s/ns-slapd" % self.get_sbin_dir(),
self.log.debug("DEBUG: starting with %s" % cmd)
output = subprocess.check_output(*cmd, env=env, stderr=subprocess.STDOUT)
except subprocess.CalledProcessError as e:
self.log.error('Failed to start ns-slapd: "%s"' % e.output.decode())
raise ValueError('Failed to start DS')
count = timeout
pid = pid_from_file(self.pid_file())
while (pid is None) and count > 0:
count -= 1
pid = pid_from_file(self.pid_file())
if pid == 0 or pid is None:
self.log.error("Unable to find pid (%s) of ns-slapd process" % self.pid_file())
raise ValueError('Failed to start DS')
389-users mailing list --
To unsubscribe send an email to
Fedora Code of Conduct:
List Guidelines:
List Archives:
Do not reply to spam, report it:

No comments:

Post a Comment