I have following issue.
When I'm trying to enable module in filebeat by running command:
filebeat modules enable elasticsearch
and when I see /modules.d and see that file elastcsearch.yml.disabled is changed to elasticsearch.yml - so everything fine, but when I will restart filebeat I'm getting errors like below.
ERROR instance/beat.go:1015 Exiting: Failed to start crawler:
creating module reloader failed: could not create module registry for
filesets: error getting config for fileset elasticsearch/audit: Error
interpreting the template of the input: template: text:3:22: executing
"text" at <.paths>: range can't iterate over
/opt/aaa-cluster_audit.json Exiting: Failed to start crawler: creating
module reloader failed: could not create module registry for filesets:
error getting config for fileset elasticsearch/audit: Error
interpreting the template of the input: template: text:3:22: executing
"text" at <.paths>: range can't iterate over
/opt/aaa-cluster_audit.json
Can someone help me with that because I don't understand what I'm doing wrongly.
paths is supposed to be an array, like so:
var.paths: ["/opt/aaa-cluster_audit.json"]
Related
I'm trying to get Modules working on a MediaWiki site.
When I try {{#invoke:Test|hello}} I get an error, 'Script error: No such module "Test".'. The Test module has been created, it is the example "Hello World" script from the https://www.mediawiki.org/wiki/Lua/Scripting page.
I have tried with $wgCapitalLinks set to both true/false and also without the variable included at all.
Any ideas of what the problem is would be much appreciated.
While executing Jest Test in PHPStorm I receive the following error in the console.
Debugger listening on ws://127.0.0.1:58148/15341a94-78d6-4475-94d6-c89c7e9e3c39
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
● Validation Error:
Preset #vue/cli-plugin-unit-jest not found.
Configuration Documentation:
https://facebook.github.io/jest/docs/configuration.html
Waiting for the debugger to disconnect...
I tried to $ vue add #vue/cli-plugin-unit-jest in order to add plugin but error still persists.
In my case Jest Run/Debug Configuration 'Jest Package' path had to be changed to /your-project-path/node_modules/#vue/cli-service
I'm trying to upgrade the sensu-puppet module and im getting an error when i run puppet now: the error is:
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Invalid parameter prefetch on Sensurabbitmqconfig[<(hostname
is here, removed for this post on ask puppet)>] at
/etc/puppet/environments/staging/modules/sensu/manifests/rabbitmq/config.pp:123
Warning: Not using cache on failed catalog Error: Could not retrieve
catalog; skipping run
I have no idea what's going wrong or how to fix it. I looked in the pathway at the rabbitmq config and found this:
prefetch => $sensu::rabbitmq_prefetch
But I'm not sure what the issue is. Anyone know what might be causing this?
Where did you get the puppet module and what way?
Did you use puppet module install or a git pull?
Make sure sure that the parameter you want to use is in
modules/sensu/lib/puppet/provider/sensu_rabbitmq_config/json.rb
and also
modules/sensu/lib/puppet/type/sensu_rabbitmq_config.rb
I am getting an error while trying to return a receipt message from server to acknowledge message received at server for which I am using a non official module (mod_stanza_ack) and ejabberd 15.07.
I have compiled and configured it successfully too, but it's giving the following error during ejabberd hook execution:
#ejabberd_hooks:run_fold1:371 {undef,[{mod_send_receipt,on_user_send_packet,[{xmlel,<<"message">>,[{<<"id">>,<<"6uAAO-218">>}.....
undef means the function mod_send_receipt:on_user_send_packet.
I see possible reason for this:
source file is not compiled (due to syntax error for example)
or the resulting .beam file is not in your Erlang VM code path
or the function is actually not defined in your module
You need to fix your module accordingly or put the .beam file in the right place.
I want to create a cartridge for OpenERP, i create one for Python 2.6.6, it's work, and i try to modifie the setup to execute "openerp-server" but i dont know where i can put the openERP code ? Where i puting him in the "Template" folder it gives my this error :
Unable to complete the requested operation due to: The server
ex-std-node295.prod.rhcloud.com that your application is running on
failed to respond in time. This may be due to a system restart..
Reference ID: 377355d1a4f3f9cc0d1914cca77dace9
Also I modified the /bin/setup like this :
Call openerp-server
exec $OPENSHIFT_PYTHON_DIR/cdk/Template/openerp-server
Also when I connect in SSH I don't find my template folder.
How do I fix this?
Openshift Origin has annoying timeout hardcoded in one gem of itself.
Find line 1006 in the following file:
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-console-1.26.3.1/app/models/rest_api/base.rb
The default timeout is set in the following line (line 1006):
self.read_timeout = 240
Other timeouts can be setuped due to documentation.
I have a working quickstart here: https://github.com/caruccio/openshift-openerp-quickstart/blob/master/README_en.md
You could use this code to your template dir. Please not it is "template", not "Template".