Bug 947093
| Summary: | start/stop/restart dirsrv scripts should report and error if no instances | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Nathan Kinder <nkinder> |
| Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | amsharma, nhosoi, sramling |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.3.1.2-1.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 12:51:42 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Nathan Kinder
2013-04-01 15:22:14 UTC
moving all ON_QA bugs to MODIFIED in order to add them to the errata (can't add bugs in the ON_QA state to an errata). When the errata is created, the bugs should be automatically moved back to ON_QA. [root@dhcp201-149 export]# start-dirsrv Starting instance "dhcp201-149" There is an ns-slapd process already running: 16888 [root@dhcp201-149 export]# /usr/sbin/remove-ds.pl -f -i dirsrv-dhcp201-149 Instance dirsrv-dhcp201-149 removed. [root@dhcp201-149 export]# start-dirsrv No instances found in /etc/sysconfig [root@dhcp201-149 export]# systemctl start dirsrv@dhcp201-149 Job for dirsrv failed. See 'systemctl status dirsrv' and 'journalctl -xn' for details. [root@dhcp201-149 export]# systemctl status dirsrv dirsrv - 389 Directory Server dhcp201-149. Loaded: loaded (/usr/lib/systemd/system/dirsrv@.service; static) Active: failed (Result: resources) Jan 09 12:21:49 dhcp201-149.englab.pnq.redhat.com systemd[1]: Starting 389 Directory Server dhcp201-149.... Jan 09 12:21:49 dhcp201-149.englab.pnq.redhat.com systemd[1]: Started 389 Directory Server dhcp201-149.. Jan 09 12:21:54 dhcp201-149.englab.pnq.redhat.com systemd[1]: Started 389 Directory Server dhcp201-149.. Jan 09 18:06:22 dhcp201-149.englab.pnq.redhat.com systemd[1]: Stopping 389 Directory Server dhcp201-149.... Jan 09 18:06:23 dhcp201-149.englab.pnq.redhat.com systemd[1]: Stopped 389 Directory Server dhcp201-149.. Jan 09 18:07:19 dhcp201-149.englab.pnq.redhat.com systemd[1]: Starting 389 Directory Server dhcp201-149.... Jan 09 18:07:19 dhcp201-149.englab.pnq.redhat.com systemd[1]: Failed to load environment files: No such file or directory Jan 09 18:07:19 dhcp201-149.englab.pnq.redhat.com systemd[1]: dirsrv failed to run 'start' task: No such file or directory Jan 09 18:07:19 dhcp201-149.englab.pnq.redhat.com systemd[1]: Failed to start 389 Directory Server dhcp201-149.. Jan 09 18:07:19 dhcp201-149.englab.pnq.redhat.com systemd[1]: Unit dirsrv entered failed state. [root@dhcp201-149 export]# journalctl -xn -- Logs begin at Mon 2013-12-23 11:11:25 IST, end at Thu 2014-01-09 18:07:19 IST. -- Jan 09 18:06:37 dhcp201-149.englab.pnq.redhat.com dbus-daemon[551]: dbus[551]: avc: received policyload notice (seqno=37) Jan 09 18:06:37 dhcp201-149.englab.pnq.redhat.com dbus[551]: avc: received policyload notice (seqno=37) Jan 09 18:06:37 dhcp201-149.englab.pnq.redhat.com dbus-daemon[551]: dbus[551]: [system] Reloaded configuration Jan 09 18:06:37 dhcp201-149.englab.pnq.redhat.com dbus[551]: [system] Reloaded configuration Jan 09 18:06:37 dhcp201-149.englab.pnq.redhat.com systemd[1]: Reloading. Jan 09 18:07:19 dhcp201-149.englab.pnq.redhat.com systemd[1]: Starting 389 Directory Server dhcp201-149.... -- Subject: Unit dirsrv has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit dirsrv has begun starting up. Jan 09 18:07:19 dhcp201-149.englab.pnq.redhat.com systemd[1]: Failed to load environment files: No such file or directory Jan 09 18:07:19 dhcp201-149.englab.pnq.redhat.com systemd[1]: dirsrv failed to run 'start' task: No such file or directory Jan 09 18:07:19 dhcp201-149.englab.pnq.redhat.com systemd[1]: Failed to start 389 Directory Server dhcp201-149.. -- Subject: Unit dirsrv has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d -- -- Unit dirsrv has failed. -- -- The result is failed. Jan 09 18:07:19 dhcp201-149.englab.pnq.redhat.com systemd[1]: Unit dirsrv entered failed state. [root@dhcp201-149 export]# stop-dirsrv No instances found in /etc/sysconfig [root@dhcp201-149 export]# restart-dirsrv No instances found in /etc/sysconfig [root@dhcp201-149 export]# Hence marking VERIFIED. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |