Univention Bugzilla – Full Text Bug Listing |
Summary: | "NoSuchProcess: process no longer exists" in adconnector | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - AD Connector | Assignee: | Johannes Keiser <keiser> |
Status: | CLOSED FIXED | QA Contact: | Florian Best <best> |
Severity: | normal | ||
Priority: | P5 | CC: | requate |
Version: | UCS 4.1 | Flags: | best:
Patch_Available+
|
Target Milestone: | UCS 4.2-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 7: Crash: Bug causes crash or data loss |
Who will be affected by this bug?: | 2: Will only affect a few installed domains | How will those affected feel about the bug?: | 3: A User would likely not purchase the product |
User Pain: | 0.240 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2017030721000027, 2017062621001002 | Bug group (optional): | Error handling, External feedback |
Max CVSS v3 score: | |||
Attachments: | patch |
Version: 4.1-4 errata406 (Vahr) *** Bug 37681 has been marked as a duplicate of this bug. *** Reported again, 4.1-4 errata430 (Vahr) (In reply to Florian Best from comment #0) > Created attachment 7756 [details] > patch Applied patch: r 80938 univention-ad-connector (11.0.6-9) * Bug #41619: Applied patch from Florian Best - Catch NoSuchProcess exception YAML: r 80939 OK: error handling OK: YAML (adjusted in r80986) |
Created attachment 7756 [details] patch The module initialization fails with the traceback below which prevents using the module. Attached is a patch. Version: 4.1-2 errata202 (Vahr) Remark: Ran latest update Traceback (most recent call last): File "%PY2.7%/univention/management/console/protocol/modserver.py", line 271, in handle self.__handler.init() File "%PY2.7%/univention/management/console/modules/adconnector/__init__.py", line 118, in init self.__update_status() File "%PY2.7%/univention/management/console/modules/adconnector/__init__.py", line 327, in __update_status self.status_running = self.__is_process_running('*python*univention/connector/ad/main.py*') File "%PY2.7%/univention/management/console/modules/adconnector/__init__.py", line 333, in __is_process_running cmdline = proc.cmdline() if callable(proc.cmdline) else proc.cmdline File "%PY2.7%/psutil/__init__.py", line 330, in cmdline return self._platform_impl.get_process_cmdline() File "%PY2.7%/psutil/_pslinux.py", line 437, in wrapper raise NoSuchProcess(self.pid, self._process_name) NoSuchProcess: process no longer exists (pid=24802)