Univention Bugzilla – Bug 53693
services/restart: FileNotFoundError: [Errno 2] No such file or directory: '/etc/init.d/samba': '/etc/init.d/samba'
Last modified: 2023-09-18 12:18:36 CEST
Version: 5.0-0 errata59 Remark: after upgrade to UCS 5 Error: Internal server error during "services/restart". Request: services/restart File "%PY3%/notifier/threads.py", line 80, in _run result = self._function() File "%PY3%/notifier/__init__.py", line 105, in __call__ return self._function(*tmp, **self._kwargs) File "%PY3%/univention/management/console/modules/services/__init__.py", line 106, in _change_services getattr(service, action)() File "%PY3%/univention/service_info.py", line 102, in restart return self._change_state('restart') File "%PY3%/univention/service_info.py", line 113, in _change_state rc, output = self.__change_state(action) File "%PY3%/univention/service_info.py", line 122, in __change_state return self._exec(('/etc/init.d/%s' % (self['init_script'],), action)) File "%PY3%/univention/service_info.py", line 136, in _exec process = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True) File "/usr/lib/python3.7/subprocess.py", line 775, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/etc/init.d/samba': '/etc/init.d/samba' Role: domaincontroller_master
Reportet again: (i guess _exec has been renamed to _execute_child at some point since its the best match within teh file) Version: 4.4-3 errata587 (Blumenthal) Error: Internal server error during "services/start". Request: services/start File "%PY2.7%/notifier/threads.py", line 80, in _run result = self._function() File "%PY2.7%/notifier/__init__.py", line 104, in __call__ return self._function(*tmp, **self._kwargs) File "%PY2.7%/univention/management/console/modules/services/__init__.py", line 103, in _change_services getattr(service, action)() File "%PY2.7%/univention/service_info.py", line 82, in start return self._change_state('start') File "%PY2.7%/univention/service_info.py", line 100, in _change_state rc, output = self.__change_state(action) File "%PY2.7%/univention/service_info.py", line 108, in __change_state return self._exec(('/etc/init.d/%s' % (self['init_script'],), action)) File "%PY2.7%/univention/service_info.py", line 120, in _exec process = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True) File "/usr/lib/python2.7/subprocess.py", line 390, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Role: domaincontroller_master
2023090421000484 5.0-4 errata794 REMARK: Nach einer aktualisierung com UCS 4.2 auf die aktuelle Version läuft der SMB Dienst nicht mehr. Interner Server-Fehler in "services/start". Request: services/start Traceback (most recent call last): File "%PY3%/univention/management/console/modules/decorators.py", line 259, in _run result = self._function(*args, **kwargs) # type: Union[BaseException, _T] File "%PY3%/univention/management/console/modules/services/__init__.py", line 85, in start return self._change_services(request.options, 'start') File "%PY3%/univention/management/console/modules/services/__init__.py", line 103, in _change_services getattr(service, action)() File "%PY3%/univention/service_info.py", line 96, in start return self._change_state('start') File "%PY3%/univention/service_info.py", line 117, in _change_state rc, output = self.__change_state(action) File "%PY3%/univention/service_info.py", line 126, in __change_state return self._exec(('/etc/init.d/%s' % (self['init_script'],), action)) File "%PY3%/univention/service_info.py", line 140, in _exec process = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True) File "/usr/lib/python3.7/subprocess.py", line 775, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/etc/init.d/samba': '/etc/init.d/samba'
5.0-3 errata794 Internal server error during "services/start". Request: services/start Traceback (most recent call last): File "%PY3%/notifier/threads.py", line 80, in _run result = self._function() File "%PY3%/notifier/__init__.py", line 105, in __call__ return self._function(*tmp, **self._kwargs) File "%PY3%/univention/management/console/modules/services/__init__.py", line 109, in _change_services getattr(service, action)() File "%PY3%/univention/service_info.py", line 96, in start return self._change_state('start') File "%PY3%/univention/service_info.py", line 117, in _change_state rc, output = self.__change_state(action) File "%PY3%/univention/service_info.py", line 126, in __change_state return self._exec(('/etc/init.d/%s' % (self['init_script'],), action)) File "%PY3%/univention/service_info.py", line 140, in _exec process = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, close_fds=True) File "/usr/lib/python3.7/subprocess.py", line 775, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/etc/init.d/samba': '/etc/init.d/samba'