i2group / analyze

Develop and deploy custom Java extensions and REST API client code for i2 Analyze. View the Java API documentation.
https://i2group.github.io/analyze/
MIT License
37 stars 30 forks source link

i2 Analyze auto start in RHEL 8 #71

Closed jcgleroux closed 1 year ago

jcgleroux commented 1 year ago

Good day, I am trying to create a service and script to auto run i2analyze at startup but cannot get it to work. Has anyone done this before? I have created a service and script for the connector (npm start) that works fine. However, i2analyze keeps giving me errors on startup. I would appreciate any suggestions on this. Thank you. i2analyze.zip

Ricardo-Antunes-i2 commented 1 year ago

Hi @jcgleroux,

Could you please provide us a bit more information on the errors you are receiving during startup?

Regards

jcgleroux commented 1 year ago

Hi Ricardo,

Yes, when I run it from command line it works fine. If I run it as a service with the script it shows started but I cannot

access the i2analyze. It is as if the service executed without a problem but the liberty server did not start.

Does sudo play a role? From the command line a normal start without sudo gives errors although all permissions / ownership

has been set. With sudo, no problem. I cannot find anything in the logs.

Thank you

Regards

Jannie le Roux

@.> @.

0829370287

From: Ricardo Antunes @.> Sent: Tuesday, 11 April 2023 13:29 To: i2group/analyze @.> Cc: jcgleroux @.>; Mention @.> Subject: Re: [i2group/analyze] i2 Analyze auto start in RHEL 8 (Issue #71)

Hi @jcgleroux https://github.com/jcgleroux ,

Could you please provide us a bit more information on the errors you are receiving during startup?

Regards

— Reply to this email directly, view it on GitHub https://github.com/i2group/analyze/issues/71#issuecomment-1503158236 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A6OO4MBUKVOYEXW4INF4K2TXAU6AVANCNFSM6AAAAAAWYVISXQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/A6OO4METJ445NCJXNA6KEETXAU6AVA5CNFSM6AAAAAAWYVISXSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSZTBP5Y.gif Message ID: @. @.> >

Anthony-Johnson-i2 commented 1 year ago

Hi @jcgleroux (Jannie)

Issues raised here should relate to the development and and deployment of custom extensions or REST API client code for i2 Analyze or issues encountered when trying to use our  Developer Essentials SDK example projects.

From what you have told us, we recommend that you follow our standard support process in this case, and raise a ticket by following the link below.

Raise a Support Ticket

Thank you.