Illustration Image

systemctl returned "WARNING: Timed out while waiting for DSE to start."

PROBLEM

I got the error message from systemctl when issued the command "systemctl start dse" with

Jan 13 16:39:52 dse1 systemd[1]: Starting LSB: DataStax Enterprise...
Jan 13 16:39:52 dse1 dse[23839]: Starting DSE daemon : dse
Jan 13 16:39:52 dse1 dse[23839]: DSE daemon starting with only Cassandra enabled (edit /etc/default/dse to enable other features)
Jan 13 16:39:52 dse1 su[24145]: (to cassandra) root on none
Jan 13 16:39:52 dse1 su[24145]: pam_unix(su:session): session opened for user cassandra(uid=978) by (uid=0)
Jan 13 16:39:53 dse1 su[24145]: pam_unix(su:session): session closed for user cassandra
Jan 13 16:40:08 dse1 dse[23839]: WARNING: Timed out while waiting for DSE to start. The service may have started though. Please check your logs.
Jan 13 16:40:08 dse1 systemd[1]: dse.service: Control process exited, code=exited, status=1/FAILURE
Jan 13 16:40:08 dse1 systemd[1]: dse.service: Failed with result 'exit-code'.
Jan 13 16:40:08 dse1 systemd[1]: Failed to start LSB: DataStax Enterprise.

However, the service still up, normal and joining the cluster.

TESTING

Environment:

  1. Oracle Linux 9

  2. Java version "11.0.24" 2024-07-16 LTS

  3. Only enabling the transaction mode

Therefore, I use dse start-node and it return as:

dse start-node
Default DSE node: Starting with only Cassandra enabled (edit /etc/default/dse to enable other features)
Default DSE node: Starting with PID file /var/run/dse/dse.pid
Default DSE node: Starting with heap dump file /var/lib/cassandra/java_1736787699.hprof
Default DSE node: Starting with HotSpot error log file /var/lib/cassandra/hs_err_1736787699.log
Default DSE node: Starting with STDOUT/ERR file /var/log/cassandra/output.log
Default DSE node: Main process PID: 66706
Default DSE node: Received ready signal.

The HotSpot error log does not persist and only error from output.log is about:

ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [SparkMasterFileAppender].
ERROR in ch.qos.logback.core.joran.action.AppenderRefAction - Could not find an appender named [SparkWorkerFileAppender].

Here's what I have tried so far:

  1. Clean install using yum
  2. Clean install using OpsCenter
  3. Tried different DSE versions (6.9.X)

Please help!

Become part of our
growing community!
Welcome to Planet Cassandra, a community for Apache Cassandra®! We're a passionate and dedicated group of users, developers, and enthusiasts who are working together to make Cassandra the best it can be. Whether you're just getting started with Cassandra or you're an experienced user, there's a place for you in our community.
A dinosaur
Planet Cassandra is a service for the Apache Cassandra® user community to share with each other. From tutorials and guides, to discussions and updates, we're here to help you get the most out of Cassandra. Connect with us and become part of our growing community today.
© 2009-2023 The Apache Software Foundation under the terms of the Apache License 2.0. Apache, the Apache feather logo, Apache Cassandra, Cassandra, and the Cassandra logo, are either registered trademarks or trademarks of The Apache Software Foundation. Sponsored by Anant Corporation and Datastax, and Developed by Anant Corporation.

Get Involved with Planet Cassandra!

We believe that the power of the Planet Cassandra community lies in the contributions of its members. Do you have content, articles, videos, or use cases you want to share with the world?