Hi everybody! First off, thanks for the good work! Love this product...

I got a problem with OMD 1.0.

When I try to activate changes in check_mk (WATO) or via check_mk -R I got
this error:

(WATO)
Error executing hooks: Traceback (most recent call last):
File "/omd/sites/prod1/share/check_mk/web/htdocs/wato.py", line 7306, in
ajax_activation
check_mk_local_automation(config.wato_activation_method)
File "/omd/sites/prod1/share/check_mk/web/htdocs/wato.py", line 4099, in
check_mk_local_automation
(" ".join(cmd), exitcode, hilite_errors(outdata),
outdata.lstrip().startswith('sudo:') and sudo_msg or ''))
MKGeneralException: Error running check_mk --automation restart -- (exit
code 1):

Cannot restart the monitoring core: sh:
/omd/sites/prod1/etc/init.d/core: No such file or directory


Or in console:

OMD[prod1]:~$ check_mk -R
Generating Nagios configuration...OK
Validating Nagios configuration...OK
Precompiling host checks...OK
Restarting Nagios...ERROR: sh: /omd/sites/prod1/etc/init.d/core: No
such file or directory

An error occurred: Cannot restart the monitoring core: sh:
/omd/sites/prod1/etc/init.d/core: No such file or directory

OMD[prod1]:~$



I guess I did something wrong with the installation.. ???

To give some hint

I try to run a new site like this:

root> omd create test

OUTPUT:
-------------
root@vlgs0bigbro01 init.d # omd create test
Adding /omd/sites/test/tmp to /etc/fstab.
sed: can't read /etc/mk-livestatus/xinetd.conf: No such file or directory
MongoDB port 27017 is in use. I've choosen 27019 instead.
/omd/sites/test/lib/omd/hooks/MONGODB_TCP_PORT: line 65:
/etc/mongodb/mongod.d/port.conf: No such file or directory
ln: creating symbolic link `/etc/apache/conf.d/pnp4nagios.conf': No such
file or directory
/omd/sites/test/lib/omd/hooks/APACHE_TCP_ADDR: line 34:
/etc/apache/listen-port.conf: No such file or directory
/omd/sites/test/lib/omd/hooks/APACHE_TCP_ADDR: line 39:
/etc/apache/proxy-port.conf: No such file or directory
/omd/sites/test/lib/omd/hooks/MKEVENTD: line 25: /etc/check_mk/multisite.d/
mkeventd.mk: No such file or directory
ln: creating symbolic link `/etc/apache/mode.conf': No such file or
directory
mkdir: cannot create directory `/etc/mod-gearman': Permission denied
/omd/sites/test/lib/omd/hooks/GEARMAN_WORKER: line 25:
/etc/mod-gearman/secret.key: No such file or directory
mkdir: cannot create directory `/etc/mod-gearman': Permission denied
/omd/sites/test/lib/omd/hooks/GEARMAND_PORT: line 19:
/etc/mod-gearman/port.conf: No such file or directory
sed: can't read /etc/check_mk/defaults: No such file or directory
sed: can't read /etc/check_mk/defaults: No such file or directory
sed: can't read /etc/check_mk/defaults: No such file or directory
sed: can't read /etc/check_mk/defaults: No such file or directory
sed: can't read /etc/nsca/nsca.cfg: No such file or directory
ln: creating symbolic link `/local/share/nagios/htdocs/theme/stylesheets':
No such file or directory
ln: creating symbolic link `/local/share/nagios/htdocs/theme/images': No
such file or directory
WebUI port 57767 is in use. I've choosen 57769 instead.
/omd/sites/test/lib/omd/hooks/SHINKEN_WEBUI_TCP_PORT: line 59:
/etc/shinken/apache.conf: No such file or directory
/omd/sites/test/lib/omd/hooks/APACHE_TCP_PORT: line 59:
/etc/apache/listen-port.conf: No such file or directory
/omd/sites/test/lib/omd/hooks/APACHE_TCP_PORT: line 64:
/etc/apache/proxy-port.conf: No such file or directory
Apache port 5000 is in use. I've choosen 5002 instead.
Restarting Apache...httpd: Syntax error on line 221 of
/etc/httpd/conf/httpd.conf: Syntax error on line 2 of
/etc/httpd/conf.d/zzz_omd.conf: Syntax error on line 1 of
/omd/apache/test.conf: Could not open configuration file
/omd/sites/test/etc/apache/mode.conf: No such file or directory
ERROR
Creating temporary filesystem /omd/sites/test/tmp...OK
Created new site test with version 1.00.

  The site can be started with omd start test.
  The default web UI is available at
http://vlgs0bigbro01.hqp.hydro.qc.ca/test/
  The admin user for the web applications is omdadmin with password omd.
  Please do a su - test for administration of this site.


Thanks for any help!
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to