Bug 786748
| Summary: | systemd service script seems broken | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matthias Runge <mrunge> |
| Component: | cherokee | Assignee: | Pavel Lisý <pavel.lisy> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | nekohayo, pavel.lisy, renich |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | cherokee-1.2.101-3.el5 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-01 09:27:53 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
Matthias Runge
2012-02-02 10:06:14 UTC
Ah, syslogs contain Feb 2 11:05:23 mrungexp systemd[1]: PID file /var/run/cherokee not readable (yet?) after start. Feb 2 11:05:23 mrungexp cherokee[15749]: Cherokee Web Server 1.2.101 (Oct 19 2011): Listening on port ALL:80, TLS Feb 2 11:05:23 mrungexp cherokee[15749]: disabled, IPv6 enabled, using epoll, 4096 fds system limit, max. 2041 Feb 2 11:05:23 mrungexp cherokee[15749]: connections, 20 threads, 102 connections per thread, standard scheduling policy Feb 2 11:06:53 mrungexp systemd[1]: cherokee.service operation timed out. Terminating. Feb 2 11:06:53 mrungexp cherokee[15749]: Server is exiting.. Feb 2 11:06:53 mrungexp systemd[1]: Unit cherokee.service entered failed state. [root@mrungexp cherokee]# cat /etc/cherokee/cherokee.conf | grep \/var\/run server!pid_file = /var/run/cherokee.pid Disabling pid-file doesn't change the situation, solution: just drop from service file: PIDFile=/var/run/cherokee AFAIK, pid-file is not needed anymore. systemd creates a process group for every service. If no process is running in service group, service is dead. I added a .pid to the PIDFile PIDFile=/var/run/cherokee.pid and this seems to be a workaround the problem. Can somebody confirm this? It looks problem was in inconsistency between /etc/cherokee/cherokee.conf and /lib/systemd/system/cherokee.service I'll make new rpm with PIDFile=/var/run/cherokee.pid in /lib/systemd/system/cherokee.service. cherokee-1.2.101-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/cherokee-1.2.101-3.fc16 cherokee-1.2.101-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/cherokee-1.2.101-3.fc15 cherokee-1.2.101-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/cherokee-1.2.101-3.el6 cherokee-1.2.101-3.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/cherokee-1.2.101-3.el5 cherokee-1.2.101-3.el4 has been submitted as an update for Fedora EPEL 4. https://admin.fedoraproject.org/updates/cherokee-1.2.101-3.el4 Package cherokee-1.2.101-3.el4: * should fix your issue, * was pushed to the Fedora EPEL 4 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing cherokee-1.2.101-3.el4' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-0550/cherokee-1.2.101-3.el4 then log in and leave karma (feedback). cherokee-1.2.101-3.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. cherokee-1.2.101-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. cherokee-1.2.101-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. cherokee-1.2.101-3.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. |