you start c* from docker command, right ?  check docker log, may see some
info helpful.

On Wed, Aug 18, 2021 at 8:58 AM FERON Matthieu <mfe...@itsgroup.com> wrote:

> Hello you all,
>
>
> I'm trying to set cassandra on a docker container centos7.
>
> When I start the service, it says Failed but I see the proccess in memory.
>
> When I look in /var/run/cassandra for cassandra.pid it's not there.
>
> I've looked on the web and try all fixes I found but none works.
>
> It's the 3.11.6.1 version (It's mandatory, I don't have the choice)
>
> jvm is provided by java-1.8.0-openjdk-1.8.0.262.b10-1
>
> I've activate debug level but don't find any ERROR line
>
>
> Here are the status logs
>
> [root@NYTHIVED01 cassandra]# service cassandra status
> ● cassandra.service - LSB: distributed storage system for structured data
>    Loaded: loaded (/etc/rc.d/init.d/cassandra; bad; vendor preset:
> disabled)
>    Active: failed (Result: protocol) since Wed 2021-08-18 10:33:32 UTC;
> 29s ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 8047 ExecStart=/etc/rc.d/init.d/cassandra start (code=exited,
> status=0/SUCCESS)
>
> Aug 18 10:33:31 NYTHIVED01 systemd[1]: Starting LSB: distributed storage
> system for structured data...
> Aug 18 10:33:31 NYTHIVED01 su[8057]: (to cassandra) root on none
> Aug 18 10:33:32 NYTHIVED01 cassandra[8047]: Starting Cassandra: OK
> Aug 18 10:33:32 NYTHIVED01 systemd[1]: Failed to parse PID from file
> /var/run/cassandra/cassandra.pid: Numerical result out of range
> Aug 18 10:33:32 NYTHIVED01 systemd[1]: Failed to start LSB: distributed
> storage system for structured data.
> Aug 18 10:33:32 NYTHIVED01 systemd[1]: Unit cassandra.service entered
> failed state.
> Aug 18 10:33:32 NYTHIVED01 systemd[1]: cassandra.service failed.
>
> Here the process line
> cassand+  7773     1  1 10:28 ?        00:00:14
> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.262.b10-1.el7.x86_64/jre/bin/java
> -Xloggc:/var/log/cassandra/gc.log -ea -XX:+UseThreadPriorities
> -XX:ThreadPriorityPolicy=42 -XX:+HeapDumpOnOutOfMemory
> r
>
> Thank you for your help
>
>

Reply via email to