TheHive icon indicating copy to clipboard operation
TheHive copied to clipboard

thehive.service - TheHive: Active: failed (Result: exit-code)

Open alikat500 opened this issue 5 years ago • 7 comments

thehive.service - TheHive: Active: failed (Result: exit-code)

Request Type

Installation issue

Work Environment

Question Answer
OS version (server) Red Hat Enterprise Linux Server release 7.7
OS version (client) Windows 10
TheHive version / git hash thehive-project-release-1.1.0-2.noarch
Package Type RPM
Browser type & version Chrome

Problem Description

A few seconds after issuing "systemctl start thehive" command, when I check thehive service status it is, "' Active: failed "

Steps to Reproduce

  1. systemctl start thehive
  2. systemctl status thehive

Complementary information

systemctl status thehive report: [root@alishivevm yum.repos.d]# systemctl status thehive ● thehive.service - TheHive Loaded: loaded (/usr/lib/systemd/system/thehive.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2020-03-02 14:02:55 EST; 1s ago Docs: https://thehive-project.org Process: 28187 ExecStart=/opt/thehive/bin/thehive -Dconfig.file=/etc/thehive/application.conf -Dlogger.file=/etc/thehive/logback.xml -Dpidfile.path=/dev/null (code=exited, status=255) Main PID: 28187 (code=exited, status=255)

Mar 02 14:02:46 alishivevm systemd[1]: Started TheHive. Mar 02 14:02:55 alishivevm systemd[1]: thehive.service: main process exited, code=exited, status=255/n/a Mar 02 14:02:55 alishivevm systemd[1]: Unit thehive.service entered failed state. Mar 02 14:02:55 alishivevm systemd[1]: thehive.service failed. [root@alishivevm yum.repos.d]#

Installation process:

I followed the RPM installtion process from:

https://github.com/TheHiveProject/TheHiveDocs/blob/master/installation/install-guide.md

Note: During the emssage I received and error that 'java-11-openjdk-headless" was needed.

Using YUM, installed the package. yum install java-11-openjdk-headless

Then ran:

yum install thehive

Then followed the configuraiton proceduere and install

https://github.com/TheHiveProject/TheHiveDocs/blob/master/admin/configuration.md

From my Windows10 client I was uanble to browse

http://server'sIP:9300

Rebooted the server, the same reult.

Checked thehive staus using: systemctl status thehive It was not enabled

Enabled and started hive using:

systemctl enable thehive systemctl start thehive

I was still unable to browse to http://server'sIP:9300 from my client PC.

Checked thehive status and it was ' Active: failed "

alikat500 avatar Mar 02 '20 19:03 alikat500

Same here, just after the instalation, thehive just wentdown... what i doing wrong if i just follow tha bloddy tutorial. =/

portalthiago avatar Mar 09 '20 17:03 portalthiago

thehive.service - TheHive: Active: failed (Result: exit-code)

Request Type

Installation issue

Work Environment

Question Answer OS version (server) Red Hat Enterprise Linux Server release 7.7 OS version (client) Windows 10 TheHive version / git hash thehive-project-release-1.1.0-2.noarch Package Type RPM Browser type & version Chrome

Problem Description

A few seconds after issuing "systemctl start thehive" command, when I check thehive service status it is, "' Active: failed "

Steps to Reproduce

  1. systemctl start thehive
  2. systemctl status thehive

Complementary information

systemctl status thehive report: [root@alishivevm yum.repos.d]# systemctl status thehive ● thehive.service - TheHive Loaded: loaded (/usr/lib/systemd/system/thehive.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2020-03-02 14:02:55 EST; 1s ago Docs: https://thehive-project.org Process: 28187 ExecStart=/opt/thehive/bin/thehive -Dconfig.file=/etc/thehive/application.conf -Dlogger.file=/etc/thehive/logback.xml -Dpidfile.path=/dev/null (code=exited, status=255) Main PID: 28187 (code=exited, status=255)

Mar 02 14:02:46 alishivevm systemd[1]: Started TheHive. Mar 02 14:02:55 alishivevm systemd[1]: thehive.service: main process exited, code=exited, status=255/n/a Mar 02 14:02:55 alishivevm systemd[1]: Unit thehive.service entered failed state. Mar 02 14:02:55 alishivevm systemd[1]: thehive.service failed. [root@alishivevm yum.repos.d]#

Installation process:

I followed the RPM installtion process from:

https://github.com/TheHiveProject/TheHiveDocs/blob/master/installation/install-guide.md

Note: During the emssage I received and error that 'java-11-openjdk-headless" was needed.

Using YUM, installed the package. yum install java-11-openjdk-headless

Then ran:

yum install thehive

Then followed the configuraiton proceduere and install

https://github.com/TheHiveProject/TheHiveDocs/blob/master/admin/configuration.md

From my Windows10 client I was uanble to browse

http://server'sIP:9300

Rebooted the server, the same reult.

Checked thehive staus using: systemctl status thehive It was not enabled

Enabled and started hive using:

systemctl enable thehive systemctl start thehive

I was still unable to browse to http://server'sIP:9300 from my client PC.

Checked thehive status and it was ' Active: failed "

I was wondering if there is any troubleshooting suggestions for this issue. Thanks!

alikat500 avatar May 20 '20 13:05 alikat500

Hi,

Any updates or solution to this issue? I am also facing the issue of thehive service stopping automatically after a few seconds.

Any help to resolve this issue would be greatly appreciated!

mobisnothere avatar Mar 10 '21 07:03 mobisnothere

I have the same problem, thehive can start, but when verifying the status it presents the same error.

thehive.service - TheHive
     Loaded: loaded (/lib/systemd/system/thehive.service; enabled; vendor prese>
     Active: failed (Result: exit-code) since Fri 2021-03-19 09:41:48 MST; 3s a>
       Docs: https://thehive-project.org
    Process: 6849 ExecStart=/opt/thehive/bin/thehive -Dconfig.file=/opt/thehive>
   Main PID: 6849 (code=exited, status=255/EXCEPTION)

mar 19 09:41:46 infoforense-M6700 systemd[1]: Started TheHive.
mar 19 09:41:48 infoforense-M6700 systemd[1]: thehive.service: Main process exi>
mar 19 09:41:48 infoforense-M6700 systemd[1]: thehive.service: Failed with resu>
`
```

alexrdz0 avatar Mar 19 '21 17:03 alexrdz0

hello, I have some problem,

 thehive.service - TheHive
   Loaded: loaded (/usr/lib/systemd/system/thehive.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2022-01-22 02:19:57 EST; 5min ago
     Docs: https://thehive-project.org
  Process: 4644 ExecStart=/opt/thehive/bin/thehive -Dconfig.file=/etc/thehive/application.conf -Dlogger.file=/etc/thehive/logback.xml -Dpidfile.path=/dev/null (code=exited, status=255)
 Main PID: 4644 (code=exited, status=255)

Jan 22 02:19:53 localhost.localdomain systemd[1]: Started TheHive.
Jan 22 02:19:57 localhost.localdomain systemd[1]: thehive.service: main process exited, code=exited, status=255/n/a
Jan 22 02:19:57 localhost.localdomain systemd[1]: Unit thehive.service entered failed state.
Jan 22 02:19:57 localhost.localdomain systemd[1]: thehive.service failed.

tentrem avatar Jan 22 '22 06:01 tentrem