![]() |
Server Monitoring With munin And monit
Hello Falko,
I've seen your beautiful howto about the monitoring and decide to implement it on my server. However I'm face to an error when initiating a command to create the certificate of monit. Below you've the error message : ================================================== = marina:/var/certs# openssl req -new -x509 -days 365 -nodes -config /etc/monit.cnf -out /var/certs/monit.pem -keyout /var/certs/monit.pem error on line -1 of /etc/monit.cnf 18752:error:02001002:system library:fopen:No such file or directory:bss_file.c:104:fopen('/etc/monit.cnf','rb') 18752:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:107: 18752:error:0E064072:configuration file routines:CONF_load:no such file:conf_def.c:197: marina:/var/certs# Thanks for your assistance |
/etc/monit.cnf doesn't exist. You must create it before you run the command.
|
How must I create this file ? Must I do it manually ? if yes which are the rights I will put on it 777, 644 ?????
Thank you for your assistance. |
Why don't you just use /var/certs/monit.cnf as shown in the tutorial?
Code:
vi /var/certs/monit.cnfCode:
# create RSA certs - ServerCode:
openssl req -new -x509 -days 365 -nodes -config ./monit.cnf -out /var/certs/monit.pem -keyout /var/certs/monit.pem |
| All times are GMT +2. The time now is 22:21. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.