/usr/share/logstash/bin/system-install: line 88: #: command not found

Hi,

On upgrading from 7.5.0 to 7.5.1 I receive the error:

Using provided startup.options file: /etc/logstash/startup.options
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x000000075f330000, 2697789440, 0) failed; error='Not enough space' (errno=12)
/usr/share/logstash/bin/system-install: line 88: #: command not found.
Unable to install system startup script for Logstash.

The command in question is ruby_exec, which doesn't exist on my CentOS 7 machine.

How do I solve this?

Robert

ruby_exec is a function defined in /usr/share/logstash/bin/logstash.lib.sh

If you are doing the upgrade on a server where logstash uses more than half of the memory (a world I live in) you will need to stop logstash before doing the upgrade.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.