Bug 950647
| Summary: | error in the checkpidfile() function of the init script | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Fabrice Bessettes <fabrice.bessettes> |
| Component: | tomcat6 | Assignee: | David Knox <dknox> |
| Status: | CLOSED ERRATA | QA Contact: | tomcat-qe |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0 | CC: | chuffman, jclere, mhasko |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-21 23:51:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1721.html |
Description of problem: The output of the status option of the init script is always "lockfile exists but process is not running" Version-Release number of selected component (if applicable): tomcat6-6.0.24-52.el6_4.noarch How reproducible: Run a tomcat instance, and try service tomcat6 status Patch: *************** function checkpidfile() *** 231,236 **** --- 231,237 ---- if [ -d "/proc/${kpid}" ]; then # The pid file exists and the process is running RETVAL="0" + return else # The pid file exists but the process is not running RETVAL="1"