Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 157993 Details for
Bug 245894
Keeping pidfile may cause to fail starting ns-slapd
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
remove $STARTPIDFILE as well
remove_startpidfile_in_stop-slapd (text/plain), 1.03 KB, created by
Masato Taruishi
on 2007-06-27 10:47:38 UTC
(
hide
)
Description:
remove $STARTPIDFILE as well
Filename:
MIME Type:
Creator:
Masato Taruishi
Created:
2007-06-27 10:47:38 UTC
Size:
1.03 KB
patch
obsolete
>--- ldap/admin/src/scripts/template-stop-slapd.in.org 2007-06-28 19:41:31.000000000 +0900 >+++ ldap/admin/src/scripts/template-stop-slapd.in 2007-06-28 19:43:41.000000000 +0900 >@@ -7,14 +7,21 @@ > # 2: Server was not running > > PIDFILE={{RUN-DIR}}/{{PRODUCT-NAME}}-{{SERV-ID}}.pid >+STARTPIDFILE={{RUN-DIR}}/{{PRODUCT-NAME}}-{{SERV-ID}}.startpid > if test ! -f $PIDFILE ; then > echo No ns-slapd PID file found. Server is probably not running >+ if test -f $STARTPIDFILE ; then >+ rm -f $STARTPIDFILE >+ fi > exit 2 > fi > PID=`cat $PIDFILE` > # see if the server is already stopped > kill -0 $PID > /dev/null 2>&1 || { > echo Server not running >+ if test -f $STARTPIDFILE ; then >+ rm -f $STARTPIDFILE >+ fi > if test -f $PIDFILE ; then > rm -f $PIDFILE > fi >@@ -30,6 +37,9 @@ > if kill -0 $PID > /dev/null 2>&1 ; then > sleep 1; > else >+ if test -f $STARTPIDFILE ; then >+ rm -f $STARTPIDFILE >+ fi > if test -f $PIDFILE ; then > rm -f $PIDFILE > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 245894
:
157987
| 157993 |
329851
|
332647