Bug 42207 - Ошибки запуска omiserver
Summary: Ошибки запуска omiserver
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: omi (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-22 15:46 MSK by Alexander Makeenkov
Modified: 2022-03-22 15:46 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2022-03-22 15:46:57 MSK
При запуске omiserver возникает ошибка:
# omiserver 
omiserver: failed to change directory to: /var/omi/run

Такой папки нет, если её создать и снова запустить, то появится другая ошибка:
# omiserver 
omiserver: Cannot open sockets directory: /etc/omi/sockets

Если создать и эту папку, и снова попытаться запустить, то возникает ошибка чтения ключа:
# omiserver --logstderr
2022/03/22 12:39:30 [4969,4969] ERROR: null(0): EventId=20023 Priority=ERROR ---> SSL: failed to open private key file: /etc/omi/ssl/omikey.pem
2022/03/22 12:39:30 [4969,4969] ERROR: null(0): EventId=20029 Priority=ERROR ---> SSL: No server certificate found in /etc/omi/ssl/omikey.pem. error:00000000:lib(0):func(0):reason(0)
2022/03/22 12:39:30 [4969,4969] FATAL: null(0): EventId=10020 Priority=FATAL WSMAN_New_Listener() failed for port 5986. Err = 1
/usr/bin/omiengine: WSMAN_New_Listener() failed for encrypted port 5986. Err = 12022/03/22 12:39:30 [4969,4969] ERROR: null(0): WSMAN_New_Listener() failed for encrypted port 3514911104. Err = -1
2022/03/22 12:39:30 [4968,4968] FATAL: null(0): EventId=10005 Priority=FATAL abnormal termination of engine process detected...shutting down server

Файл ключа есть, права такие:
# l /etc/omi/ssl/omikey.pem
-rw------- 1 root root 1708 фев 25  2021 /etc/omi/ssl/omikey.pem

Версия пакета:
omi-1.6.8-alt1