nohup is not working anymore

Hi,

I have recently installed searchguard and it works perfectly fine.

But nohup is not working anymore.

To run kibana in background on server, normally I run kibana like this :

nohup bin/kibana &

but now, when i close the window, the process is also stopped.

On the log i have this error :

{“type”:“log”,"@timestamp":“2017-07-27T07:23:53Z”,“tags”:[“info”,“config”],“pid”:7519,“message”:“Reloading logging configuration due to SIGHUP.”}
/home/centos/kibana-5.3.0/src/server/config/config.js:137
throw results.error;
^

ValidationError: child “server” fails because [child “ssl” fails because [child “certificate” fails because [“certificate” is required]]]
at Object.exports.process (/home/centos/kibana-5.3.0/node_modules/joi/lib/errors.js:140:17)
at internals.Any._validateWithOptions (/home/centos/kibana-5.3.0/node_modules/joi/lib/any.js:649:25)
at root.validate (/home/centos/kibana-5.3.0/node_modules/joi/lib/index.js:102:23)
at Config._commit (/home/centos/kibana-5.3.0/src/server/config/config.js:134:38)
at Config.set (/home/centos/kibana-5.3.0/src/server/config/config.js:104:12)
at Config.extendSchema (/home/centos/kibana-5.3.0/src/server/config/config.js:74:12)
at /home/centos/kibana-5.3.0/src/server/config/config.js:63:17
at arrayEach (/home/centos/kibana-5.3.0/node_modules/lodash/index.js:1289:13)
at Function. (/home/centos/kibana-5.3.0/node_modules/lodash/index.js:3345:13)
at Config.extendSchema (/home/centos/kibana-5.3.0/src/server/config/config.js:62:36)
at new Config (/home/centos/kibana-5.3.0/src/server/config/config.js:49:10)
at Function.withDefaultSchema (/home/centos/kibana-5.3.0/src/server/config/config.js:39:14)
at KbnServer.applyLoggingConfiguration (/home/centos/kibana-5.3.0/src/server/kbn_server.js:179:46)
at process.reloadConfig (/home/centos/kibana-5.3.0/src/cli/serve/serve.js:142:17)
at emitNone (events.js:86:13)
at process.emit (events.js:185:7)

It is also strange that it is suddently not working and used to work fine for few days.

Does anyone have an idea about this ?

Thanks

Thats very likely not Search Guard related.
Pls try if if nohup is working for you without Search Guard installed.

···

On Thursday, 27 July 2017 09:31:43 UTC+2, Charlotte Dupont wrote:

Hi,

I have recently installed searchguard and it works perfectly fine.

But nohup is not working anymore.

To run kibana in background on server, normally I run kibana like this :

nohup bin/kibana &

but now, when i close the window, the process is also stopped.

On the log i have this error :

{“type”:“log”,"@timestamp":“2017-07-27T07:23:53Z”,“tags”:[“info”,“config”],“pid”:7519,“message”:“Reloading logging configuration due to SIGHUP.”}
/home/centos/kibana-5.3.0/src/server/config/config.js:137
throw results.error;
^

ValidationError: child “server” fails because [child “ssl” fails because [child “certificate” fails because [“certificate” is required]]]
at Object.exports.process (/home/centos/kibana-5.3.0/node_modules/joi/lib/errors.js:140:17)
at internals.Any._validateWithOptions (/home/centos/kibana-5.3.0/node_modules/joi/lib/any.js:649:25)
at root.validate (/home/centos/kibana-5.3.0/node_modules/joi/lib/index.js:102:23)
at Config._commit (/home/centos/kibana-5.3.0/src/server/config/config.js:134:38)
at Config.set (/home/centos/kibana-5.3.0/src/server/config/config.js:104:12)
at Config.extendSchema (/home/centos/kibana-5.3.0/src/server/config/config.js:74:12)
at /home/centos/kibana-5.3.0/src/server/config/config.js:63:17
at arrayEach (/home/centos/kibana-5.3.0/node_modules/lodash/index.js:1289:13)
at Function. (/home/centos/kibana-5.3.0/node_modules/lodash/index.js:3345:13)
at Config.extendSchema (/home/centos/kibana-5.3.0/src/server/config/config.js:62:36)
at new Config (/home/centos/kibana-5.3.0/src/server/config/config.js:49:10)
at Function.withDefaultSchema (/home/centos/kibana-5.3.0/src/server/config/config.js:39:14)
at KbnServer.applyLoggingConfiguration (/home/centos/kibana-5.3.0/src/server/kbn_server.js:179:46)
at process.reloadConfig (/home/centos/kibana-5.3.0/src/cli/serve/serve.js:142:17)
at emitNone (events.js:86:13)
at process.emit (events.js:185:7)

It is also strange that it is suddently not working and used to work fine for few days.

Does anyone have an idea about this ?

Thanks

Hello,

Sorry for the late reply, but I was out of office for a while.

Yes it is very strange that it is search guard related. But I was experiencing very slow performance of kibana and it was constantly crashing.
So I deactivated search guard, restarted the cluster and reactivated again (and restart).

Everything works fine now. Nohup is working and Kibana is not crashing.

I couldn’t say what was the problem.

Thanks

···

On Thursday, July 27, 2017 at 9:35:17 PM UTC+2, Search Guard wrote:

Thats very likely not Search Guard related.
Pls try if if nohup is working for you without Search Guard installed.

On Thursday, 27 July 2017 09:31:43 UTC+2, Charlotte Dupont wrote:

Hi,

I have recently installed searchguard and it works perfectly fine.

But nohup is not working anymore.

To run kibana in background on server, normally I run kibana like this :

nohup bin/kibana &

but now, when i close the window, the process is also stopped.

On the log i have this error :

{“type”:“log”,"@timestamp":“2017-07-27T07:23:53Z”,“tags”:[“info”,“config”],“pid”:7519,“message”:“Reloading logging configuration due to SIGHUP.”}
/home/centos/kibana-5.3.0/src/server/config/config.js:137
throw results.error;
^

ValidationError: child “server” fails because [child “ssl” fails because [child “certificate” fails because [“certificate” is required]]]
at Object.exports.process (/home/centos/kibana-5.3.0/node_modules/joi/lib/errors.js:140:17)
at internals.Any._validateWithOptions (/home/centos/kibana-5.3.0/node_modules/joi/lib/any.js:649:25)
at root.validate (/home/centos/kibana-5.3.0/node_modules/joi/lib/index.js:102:23)
at Config._commit (/home/centos/kibana-5.3.0/src/server/config/config.js:134:38)
at Config.set (/home/centos/kibana-5.3.0/src/server/config/config.js:104:12)
at Config.extendSchema (/home/centos/kibana-5.3.0/src/server/config/config.js:74:12)
at /home/centos/kibana-5.3.0/src/server/config/config.js:63:17
at arrayEach (/home/centos/kibana-5.3.0/node_modules/lodash/index.js:1289:13)
at Function. (/home/centos/kibana-5.3.0/node_modules/lodash/index.js:3345:13)
at Config.extendSchema (/home/centos/kibana-5.3.0/src/server/config/config.js:62:36)
at new Config (/home/centos/kibana-5.3.0/src/server/config/config.js:49:10)
at Function.withDefaultSchema (/home/centos/kibana-5.3.0/src/server/config/config.js:39:14)
at KbnServer.applyLoggingConfiguration (/home/centos/kibana-5.3.0/src/server/kbn_server.js:179:46)
at process.reloadConfig (/home/centos/kibana-5.3.0/src/cli/serve/serve.js:142:17)
at emitNone (events.js:86:13)
at process.emit (events.js:185:7)

It is also strange that it is suddently not working and used to work fine for few days.

Does anyone have an idea about this ?

Thanks