Не удается запустить Exim Daemon на Cygwin

478
wmf123

Мне не удалось запустить демон exim после его установки в Cygwin на Windows 10.

В конце exim-configустановки демон завершается с этим сообщением:

Do you want to start the exim daemon as a service now? (yes/no) yes cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started.  ERROR: Could not start the daemon.  INFO: The exim log files are in /var/log/exim.  WARNING: The default permissions are only suitable for a casual environment. See /usr/share/doc/Cygwin/exim-X-Y.README for how to adjust them.  When everything else fails, read /usr/share/doc/Cygwin/exim-X-Y.README, or look up the documentation on www.exim.org. Many happy mailings :) 

Следующие файлы журнала существуют в /var/log/exim:

$ dir -l /var/log/exim total 4 -rw-rw-r-- 1 cyg_server Administrators 0 Jan 13 16:48 cygrunsrv_err.log -rw-rw-r-- 1 cyg_server Administrators 0 Jan 13 16:48 cygrunsrv_out.log -rw-rw-rw- 1 User1 User1 1499 Jan 14 09:49 exim_main.log 

Первые два пусты, а третий не имеет соответствующей информации.

Дальнейшие попытки запустить службу после запуска конфигурации завершаются с этим сообщением:

$ net start exim The exim service is starting. The exim service could not be started.  The service did not report an error.  More help is available by typing NET HELPMSG 3534.  $ NET HELPMSG 3534  The service did not report an error. 

Средство просмотра событий Windows имеет это сообщение в журналах приложений:

The description for Event ID 0 from source exim cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.  If the event originated on another computer, the display information had to be saved with the event.  The following information was included with the event:   exim: PID 2708: service `exim' failed: signal 6 raised 

Любые мысли о том, что это может быть за ошибка или какую дальнейшую диагностику запустить? Спасибо!

0

1 ответ на вопрос

0
SysRq

После одной и той же ошибки около часа я запустил ток setup-x86.exeс https://cygwin.com/setup-x86.exe и проверил «Reinstall» для exim и openssh-server.

Затем я запустился exim-configкак администратор домена и перенастроил службу (снова).

Сервис теперь работает без проблем.