Re: 389 server stops after Ansible "hangs up"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William -

Thanks for the tips.

For my debugging, se linux is disabled, and this issue happens even if I leave 
IPA out of it: if I just do /etc/init.d/dirsrv start, it then shuts down when 
the ansible connection closes.

j

On Friday, February 12, 2016 09:43:40 William Brown wrote:
> On Thu, 2016-02-11 at 14:44 -0800, Joshua J. Kugler wrote:
> > Here is the entire log from 'errors'.  It starts up just fine, then
> > when 
> > Ansible disconnects, something shuts it down.  Is the dirsrv startup
> > script 
> > not properly applying NOHUP or some such?  The REALLY weird thing is
> > that this 
> > works properly with an interactive ssh login, or with
> > 
> > ssh <host> "/etc/init.d/ipa start"
> 
> Please do NOT use /etc/init.d/ scripts as they do not set the SELinux
> context correctly. You need to use "service <name> <action>" else you
> may be creating SELinux issues with your daemons.
> 
> Are you running EL6 or el7?
> 
> Try:
> 
> sudo ipactl restart
> 
> That may give you a hint as to what service has the issue
> 
> For example, when I have IPA issues, it tends to be DNS, and it's only
> when the SMB process tries to start that it fails.
> 
> So when smb fails, then ipactl unwinds and shuts down all the OTHER
> services.
> 
> So you may find the issue isn't Ds, but some other part of freeipa.
> 
> I hope that helps you solve the issue.

-- 
Joshua J. Kugler - Fairbanks, Alaska
Azariah Enterprises - Programming and Website Design
joshua@xxxxxxxxxxx - Jabber: pedahzur@xxxxxxxxx
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A
--
389 users mailing list
389-users@%(host_name)s
http://lists.fedoraproject.org/admin/lists/389-users@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux