-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
Description
When running the logstash-1.5.0.rc2.tar.gz release candidate obtained from: wget http://download.elastic.co/logstash/logstash/logstash-1.5.0.rc2.tar.gz on an x86 linux machine we get the following error when we ctrl-c out of the test program to end the program:
This test works on logstash version 1.4.2/
^CSIGINT received. Shutting down the pipeline. {:level=>:warn}
Logstash shutdown completed
_sincedb_write rename/sync failed: /gsa/yktgsa-h1/00/ralphbel/logstash-test/sincedb.new -> /gsa/yktgsa-h1/00/ralphbel/logstash-test/sincedb: Permission denied - /gsa/yktgsa-h1/00/ralphbel/logstash-test/sincedb.new or /gsa/yktgsa-h1/00/ralphbel/logstash-test/sincedb {:level=>:warn}
The script that produced follows:
#!/bin/bash
# simple log stash test wrapper...
thisdir=`dirname $0`
thisdir=`readlink -f $thisdir`
set -e
#logstashdir=$HOME/logstash-1.5.0.rc2/bin/
logstashdir=$HOME/logstash-1.4.2/bin/
logstash_scr=/tmp/logstash_test.scr
logstash_data=/tmp/logstash_test.data
# NOTE: sincedb has to have a / the end so the jruby stuff works correctly...
#
sincedb=$thisdir/sincedb
touch $sincedb
cat >$logstash_scr <<EOF
input {
file {
path => "$logstash_data"
start_position => beginning
sincedb_path => "$sincedb"
}
}
output {
stdout { codec => rubydebug }
}
EOF
cat >$logstash_data <<"EOF"
Mar 15 03:35:02 dccxcat run-parts(/etc/cron.daily)[89799]: finished logrotate
EOF
cat $logstash_scr
set -x
$logstashdir/logstash -f $logstash_scr
set +x
rm $logstash_scr
rm $logstash_data
Java version information follows:
java version "1.7.0_45"
OpenJDK Runtime Environment (rhel-2.4.3.3.el6-x86_64 u45-b15)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
[ralphbel@gasmaster logstash-test]$