Bug #2092
Could not start smb/slapd
Status: | CLOSED | Start date: | 07/31/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | 07/31/2013 | |
Assignee: | - | % Done: | 100% | |
Category: | nethserver-lib | |||
Target version: | v6.4-beta2 | |||
Security class: | Resolution: | |||
Affected version: | v6.4-beta1 | NEEDINFO: | No |
Description
Two action failed during the yum transaction that upgraded the following packages:
[...] Updated nethserver-directory-1.2.1-1.ns6.noarch @nethserver-testing Update 1.2.2-1.ns6.noarch @nethserver-updates [...] Updated nethserver-lib-1.1.1-1.ns6.noarch @nethserver-testing Update 1.3.0-1.ns6.noarch @nethserver-updates [...] Updated nethserver-samba-1.3.5-1.ns6.noarch @nethserver-testing Update 1.3.6-1.ns6.noarch @nethserver-updates
In /var/log/messages:
Jul 31 03:51:03 nethservice esmith::event[5451]: Could not start `slapd`. Jul 31 03:51:03 nethservice esmith::event[5451]: S10nethserver-directory-conf=action|Event|nethserver-directory-update|Action|S10nethserver-directory-conf|Start|1375235462 997363|End|1375235463 130016|Elapsed|0.132653|Status|65280 -- Jul 31 03:51:15 nethservice esmith::event[6321]: Could not start `smb`. Jul 31 03:51:15 nethservice esmith::event[6321]: S20nethserver-samba-conf=action|Event|nethserver-samba-update|Action|S20nethserver-samba-conf|Start|1375235475 407576|End|1375235475 577884|Elapsed|0.170308|Status|65280
Related issues
Associated revisions
NethServer::Service (start, stop): fixed return value. Refs #2092
History
#1 Updated by Davide Principi about 8 years ago
- File 2092.patch added
The return values of NethServer::Service start/stop() methods are inverted, if the daemon is already started/stopped.
#2 Updated by Davide Principi about 8 years ago
- Status changed from TRIAGED to ON_DEV
- % Done changed from 20 to 30
#3 Updated by Davide Principi about 8 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
Test case
Execute:
# /etc/e-smith/events/actions/nethserver-samba-conf # /etc/e-smith/events/actions/nethserver-directory-conf
Commands must be successful
#4 Updated by Davide Principi about 8 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Davide Principi) - % Done changed from 60 to 70
In nethserver-testing:
nethserver-lib-1.3.1-1.ns6.noarch.rpm
#5 Updated by Giacomo Sanchietti about 8 years ago
- Assignee set to Giacomo Sanchietti
#6 Updated by Giacomo Sanchietti about 8 years ago
- Status changed from ON_QA to VERIFIED
- % Done changed from 70 to 90
Before update:
[root@test ~]# rpm -q nethserver-lib nethserver-lib-1.3.0-1.ns6.noarch [root@test ~]# /etc/e-smith/events/actions/nethserver-samba-conf Could not start `smb`. [root@test ~]# /etc/e-smith/events/actions/nethserver-directory-conf Could not start `slapd`.
After update:
[root@test ~]# rpm -q nethserver-lib nethserver-lib-1.3.1-1.ns6.noarch [root@test ~]# /etc/e-smith/events/actions/nethserver-directory-conf [root@test ~]# echo $? 0 [root@test ~]# /etc/e-smith/events/actions/nethserver-samba-conf [root@test ~]# echo $? 0
Marking as VERIFIED
#7 Updated by Davide Principi about 8 years ago
- Status changed from VERIFIED to CLOSED
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 90 to 100
Moved into nethserver-updates repository