TheHive-Project / TheHive-Project/Cortex

problem running Cortex on RHEL

Open
#466 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
1.6k
Forks
264
PR merge metrics
No merged PRs in 30d

Description

Problem running Cortex on RHEL. Problem in raising the cortex service in RHEL

Request Type

Bug

Work Environment
Question Answer
OS version (server) RHEL 9.x.
Cortex versión 3.x .
Package Type From source
Problem Description

I have the problem starting Cortex, it starts the service for about 5 seconds, and there is an error at startup, within this server I have thehive running and it works normally, and I try to run Cortex on this same server but I have the startup error:

Process: 6470 ExecStart=/opt/cortex/bin/cortex -Dconfig.file=/etc/cortex/application.conf -Dlogger.file=/etc/cortex/logback.xml -Dpidfile.path=/dev/null (code=exited, status=255/EXCEPTION)

Possible Solutions
Complementary information

I have the following screenshots of the error and log
Captura de pantalla 2024-04-09 110745
Captura de pantalla 2024-04-09 082004

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the systemd ExecStart command for /opt/cortex/bin/cortex and the referenced /etc/cortex/application.conf and logback.xml files. Review the attached startup error and log for the cause of the status-255 exit, then verify that Cortex starts correctly on RHEL 9.x alongside TheHive.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, scala
Domain
devops, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.