Thanks James for helping

On Mon, May 18, 2020 at 9:14 PM Robert Snakard <robert_snak...@rapid7.com>
wrote:

> Solved.
>
> The user command `free` is not installed by default on the debian docker
> images. Running `apt-get install procps` installs the `free` command. This
> fixes the issue.
>
> Unsure what changed within the last month to break this. Do I submit a
> request to add procps to the list of Cassandra debian dependencies
> somewhere?
>
> On Mon, May 18, 2020 at 8:56 PM Robert Snakard <robert_snak...@rapid7.com>
> wrote:
>
>> Manually ran the start-stop-daemon without the quiet flag. Got some output
>>
>> # start-stop-daemon -S -c cassandra -a /usr/sbin/cassandra -p
>> /run/cassandra/cassandra.pid -- -p /run/cassandra/cassandra.pid  -H
>> /var/log/cassandra/java_0000.hprof -E /var/log/cassandra/hs_err_0000.log
>> =>
>> /usr/sbin/cassandra: 1: /etc/cassandra/cassandra-env.sh: free: not found
>> expr: syntax error
>> expr: syntax error
>> /usr/sbin/cassandra: 59: [: Illegal number:
>> /usr/sbin/cassandra: 63: [: Illegal number:
>> /usr/sbin/cassandra: 67: [: Illegal number:
>> expr: syntax error
>> /usr/sbin/cassandra: 81: [: Illegal number:
>> Invalid initial heap size: -XmsM
>> Error: Could not create the Java Virtual Machine.
>> Error: A fatal exception has occurred. Program will exit.
>> #
>>
>> On Mon, May 18, 2020 at 8:48 PM Robert Snakard <robert_snak...@rapid7.com>
>> wrote:
>>
>>> Apologies for the hyperlink
>>>
>>> On Mon, May 18, 2020 at 8:47 PM Robert Snakard <
>>> robert_snak...@rapid7.com> wrote:
>>>
>>>> for dir in $(find / -name cassandra -type d); do
>>>>     find $dir -type f
>>>> done
>>>>
>>>>
>>>> =>
>>>>
>>>> /usr/share/doc/cassandra/copyright
>>>>
>>>>
>>>>
>>>> /usr/share/cassandra/cassandra.in.sh
>>>>
>>>>
>>>>
>>>> /usr/share/cassandra/*.jar
>>>>
>>>> /etc/cassandra/triggers/README.txt
>>>> /etc/cassandra/jvm.options
>>>> /etc/cassandra/hotspot_compiler
>>>> /etc/cassandra/cassandra-env.sh
>>>> /etc/cassandra/commitlog_archiving.properties
>>>> /etc/cassandra/logback-tools.xml
>>>> /etc/cassandra/cassandra-rackdc.properties
>>>> /etc/cassandra/cassandra.yaml
>>>> /etc/cassandra/cassandra-topology.properties
>>>> /etc/cassandra/logback.xml
>>>>
>>>> /run/cassandra/cassandra.pid
>>>>
>>>>
>>>> ----
>>>>
>>>>
>>>> When exploring logback.xml the two defined debug logs were
>>>> `${cassandra.logdir}/system.log` and `${cassandra.logdir}/debug.log`.
>>>>
>>>> # find / -name system.log
>>>> # find / -name debug.log
>>>> #
>>>>
>>>> As you can see neither of these files exist anywhere on the system.
>>>> output.log yields the same results.
>>>>
>>>>
>>>>
>>>> On Mon, May 18, 2020 at 8:19 PM James Shaw <jxys...@gmail.com> wrote:
>>>>
>>>>> go to configure directory, i.e. /var/lib/cassandra/conf,  look
>>>>> logback.xml, whether configured logs in other directory? Also,  do you see
>>>>> output.log, debug.log in /var/log/cassandra/?
>>>>>
>>>>> or you may use linux find command to search.
>>>>>
>>>>>
>>>>> On Mon, May 18, 2020 at 10:51 PM Robert Snakard
>>>>> <robert_snak...@rapid7.com.invalid> wrote:
>>>>>
>>>>>> docker logs just outputs stderr and stdout. It doesn't show anything
>>>>>> more than what I put in top email
>>>>>>
>>>>>> On Mon, May 18, 2020 at 7:42 PM James Shaw <jxys...@gmail.com> wrote:
>>>>>>
>>>>>>> docker logs ... see any error in docker/container logs ?
>>>>>>>
>>>>>>> On Mon, May 18, 2020 at 10:27 PM Robert Snakard
>>>>>>> <robert_snak...@rapid7.com.invalid> wrote:
>>>>>>>
>>>>>>>> # cat /var/log/cassandra/system.log
>>>>>>>> =>  cat: system.log: No such file or directory
>>>>>>>>
>>>>>>>> I've also checked other possible locations. Since this is
>>>>>>>> occurring before startup no logs are created
>>>>>>>>
>>>>>>>> On Mon, May 18, 2020 at 7:03 PM Erick Ramirez <
>>>>>>>> erick.rami...@datastax.com> wrote:
>>>>>>>>
>>>>>>>>> Can you inspect the C* system.log? It might give clues for the
>>>>>>>>> startup or it might point to another problem. Cheers!
>>>>>>>>>
>>>>>>>>
>>>>>>>> NOTICE OF CONFIDENTIALITY: At Rapid7, the privacy of our customers,
>>>>>>>> partners, and employees is paramount. If you received this email in 
>>>>>>>> error,
>>>>>>>> please notify the sender and delete it from your inbox right away. 
>>>>>>>> Learn
>>>>>>>> how Rapid7 handles privacy at rapid7.com/privacy-policy
>>>>>>>> <https://rapid7.samanage.com/incidents/54726448-update-link-in-footer-of-external-emails>.
>>>>>>>> To opt-out of Rapid7 marketing emails, please click here
>>>>>>>> <https://information.rapid7.com/communication-preferences.html> or
>>>>>>>> email priv...@rapid7.com.
>>>>>>>
>>>>>>>
>>>>>> NOTICE OF CONFIDENTIALITY: At Rapid7, the privacy of our customers,
>>>>>> partners, and employees is paramount. If you received this email in 
>>>>>> error,
>>>>>> please notify the sender and delete it from your inbox right away. Learn
>>>>>> how Rapid7 handles privacy at rapid7.com/privacy-policy
>>>>>> <https://rapid7.samanage.com/incidents/54726448-update-link-in-footer-of-external-emails>.
>>>>>> To opt-out of Rapid7 marketing emails, please click here
>>>>>> <https://information.rapid7.com/communication-preferences.html> or
>>>>>> email priv...@rapid7.com.
>>>>>
>>>>>

-- 
NOTICE OF CONFIDENTIALITY: At Rapid7, the privacy of our customers, 
partners, and employees is paramount. If you received this email in error, 
please notify the sender and delete it from your inbox right away. Learn 
how Rapid7 handles privacy at rapid7.com/privacy-policy 
<https://rapid7.samanage.com/incidents/54726448-update-link-in-footer-of-external-emails>.
 
To opt-out of Rapid7 marketing emails, please click here 
<https://information.rapid7.com/communication-preferences.html> or email 
priv...@rapid7.com <mailto:priv...@rapid7.com>.

Reply via email to