Rundeck won't start - Failed with result 'exit-code'

757 views
Skip to first unread message

Timeu Oliveira

unread,
Aug 30, 2022, 5:52:46 PM8/30/22
to rundeck-discuss
Hey guys!
I need some help interpreting these logs from rundeck.
When I run systemctl start rundeckd.service it starts but seconds later fails and the service log tell me nothing.
In the service.log I can find some "file/directory not found" but I don't know where the files should be.

Error when the service fails:
systemd[1]: rundeckd.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: rundeckd.service: Failed with result 'exit-code'.


Service status and service.log can be found here: https://pastebin.com/bJffn9EW

rac...@rundeck.com

unread,
Aug 30, 2022, 7:56:24 PM8/30/22
to rundeck-discuss
Hi Tim,

It seems that you're facing this, could you check this?

Proabably a file needed to authenticate (jaas-ldap.conf, jaas-activedirectory.conf or jaas-loginmodule.conf) is missing.

Regards!

Timeu Oliveira

unread,
Aug 30, 2022, 8:20:00 PM8/30/22
to rundeck-discuss
I already saw this post but I don't have the jaas-auth.conf file... I only have the jaas-loginmodule.conf file... is it the same?

jaas-loginmodule.conf content:
# cat jaas-loginmodule.conf
RDpropertyfilelogin {
  org.eclipse.jetty.jaas.spi.PropertyFileLoginModule required
  debug="true"
  file="/etc/rundeck/realm.properties";
};

rac...@rundeck.com

unread,
Aug 31, 2022, 9:07:28 AM8/31/22
to rundeck-discuss
Hi Timeu,

You can set any name to your auth conf files, the key is to reference it in the init script, check carefully your profile and rundeckd files. Probably are referencing a missing/inexistent file.

Regards!

Timeu Oliveira

unread,
Aug 31, 2022, 3:19:22 PM8/31/22
to rundeck-discuss
I had already checked before. I double-checked it now and it's referenced correctly in both files.
Reply all
Reply to author
Forward
0 new messages