Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

scano_183208 avatar image
scano_183208 asked ·

Why can't I restart DSE on a node?

When i attempt to restart my node it throws the following error:$ sudo service dse start
Job for dse.service failed because the control process exited with error code. See "systemctl status dse.service" and "journalctl -xe" for details.
$ systemctl status dse.service
● dse.service - LSB: DataStax Enterprise
Loaded: loaded (/etc/init.d/dse; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-11-04 18:29:28 UTC; 3min 7s ago
Docs: man:systemd-sysv-generator(8)
Process: 81811 ExecStop=/etc/init.d/dse stop (code=exited, status=0/SUCCESS)
Process: 91883 ExecStart=/etc/init.d/dse start (code=exited, status=1/FAILURE)
Tasks: 13
Memory: 2.7G
CPU: 10.164s
CGroup: /system.slice/dse.service
└─113143 collectd_wrapper /usr/share/dse/collectd/usr/sbin/collectd -C /tmp/dse/dse.bSm0KsEuH/dse-collectd-2243034571064556234.conf -P /var/log/cassandra/dse-collectd.pid
Nov 04 18:29:12 devdc1vm0 su[92221]: pam_unix(su:session): session opened for user cassandra by (uid=0)
Nov 04 18:29:13 devdc1vm0 su[92230]: Successful su for cassandra by root
Nov 04 18:29:13 devdc1vm0 su[92230]: + ??? root:cassandra
Nov 04 18:29:13 devdc1vm0 su[92230]: pam_unix(su:session): session opened for user cassandra by (uid=0)
Nov 04 18:29:28 devdc1vm0 dse[91883]: WARNING: Timed out while waiting for DSE to start. The service may have started though. Please check your logs.
Nov 04 18:29:28 devdc1vm0 dse[91883]: ...fail!
Nov 04 18:29:28 devdc1vm0 systemd[1]: dse.service: Control process exited, code=exited status=1
Nov 04 18:29:28 devdc1vm0 systemd[1]: Failed to start LSB: DataStax Enterprise.
Nov 04 18:29:28 devdc1vm0 systemd[1]: dse.service: Unit entered failed state.
Nov 04 18:29:28 devdc1vm0 systemd[1]: dse.service: Failed with result 'exit-code'.
dse
3 comments
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

no longer an issue fixed on my own



0 Likes 0 · ·

@scano_183208I facing same issue on my Cassandra server.
DSE Version: 6.7.8
OS: Amazon Linux release 2 (Karoo)

[root@cass-x-x-x-x-cassandra]# dse -v

6.7.8
[root@cass-x-x-x-x-cassandra]# systemctl start dse

Job for dse.service failed because the control process exited with error code. See "systemctl status dse.service" and "journalctl -xe" for details.


It is working fine with DSE-6.7.9 but bot version below that.


@Erick Ramirez any thoughts here?

Thanks,

-Varun

0 Likes 0 · ·

I have a feeling that you haven't looked at my answer -- you need to review the DSE logs to identify the cause of the failure. Cheers!

0 Likes 0 · ·

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

I've noted that you managed to resolve this yourself.

For what it's worth, checking the status of the service is not sufficient to troubleshoot the problem. You needed to review the DSE logs to identify the cause of the failure.

I suspect this is what you did to solve the problem. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.