Skip to content

Centos RPM service riak failed to start within 15 seconds #1022

@cheluskin

Description

@cheluskin

`● riak.service - SYSV: Riak is a distributed data store
Loaded: loaded (/etc/rc.d/init.d/riak; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-06-24 09:45:53 CEST; 6min ago
Docs: man:systemd-sysv-generator(8)
Process: 3357 ExecStart=/etc/rc.d/init.d/riak start (code=exited, status=1/FAILURE)

Jun 24 09:45:34 ns3082334 su[3363]: (to riak) root on none
Jun 24 09:45:53 ns3082334 riak[3357]: Starting riak: riak failed to start within 15 seconds,
Jun 24 09:45:53 ns3082334 riak[3357]: see the output of 'riak console' for more information.
Jun 24 09:45:53 ns3082334 riak[3357]: If you want to wait longer, set the environment variable
Jun 24 09:45:53 ns3082334 riak[3357]: WAIT_FOR_ERLANG to the number of seconds to wait.
Jun 24 09:45:53 ns3082334 riak[3357]: [FAILED]
Jun 24 09:45:53 ns3082334 systemd[1]: riak.service: control process exited, code=exited status=1
Jun 24 09:45:53 ns3082334 systemd[1]: Failed to start SYSV: Riak is a distributed data store.
Jun 24 09:45:53 ns3082334 systemd[1]: Unit riak.service entered failed state.
Jun 24 09:45:53 ns3082334 systemd[1]: riak.service failed.`

in system messages run_erl[3514]: errno=1 'Operation not permitted'#012Could not open pty master

fix:
usermod -a -G tty riak

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions