Archive
Highlighted

Splunk-optimize returns error "no such file or direcotry"

Explorer

Hi,
if i run the command ./splunk-optimze manually, i get the errno 2 ("no such file or directory"):

./splunk-optimize -v -d [pathtodb]/defaultdb/db/hotv11/
tm=1339945039 splunk-optimize start: dir=[pathtodb]/defaultdb/db/hotv11/ mode=0 verbose=true isfinal=false maxiteration=2147483647 minsrccount=8 lextpb=64
tm=1339945039 optimize finished: failed, see rc for more details, (rc=-29 errno=2)
tm=1339945039 exiting splunk-optimize process with rc=-29

My database is located on a zfs file system. Might this be a problem? Is there a check about the file system included in splunk-optimze? Can i circumvent/fix this?

Kind Regards,
JS

Tags (1)
0 Karma
Highlighted

Re: Splunk-optimize returns error "no such file or direcotry"

Communicator

Did you input the native path to your hot database ? Mine looks like this "./splunk-optimize -d /opt/data/Daily/splunk/cbl/db/hotv194" It does not look like you have the proper directory path in your command.

0 Karma