G'day All,

 

This was my first attempt at installing the OMD package.it was fairly simple
other than having to connect to multiple repos to get the required
prerequisites.  Now that the package has successfully installed I have
attempted to following the basic configuration steps in creating a new site.
Unfortunately it appears that perhaps commands are not being issued
correctly for Redhat el6.4.

 

Can anyone help me get off the ground with this and perhaps suggest what I
should be looking for to try and correct the tmpfs problem which may solve
the other issues being shown below?

 

Any and all help is greatly appreciated,

Danny

 

Observe that it appears the fstab is edited correctly but the omd doesn't
issue the correct command to mount the tmpfs and therefore other components
are perhaps not being allowed to function.

 

[root@zlpv5368 bin]# omd version

OMD - Open Monitoring Distribution Version 1.00

 

[root@zlpv5368 ~]# omd create nagmaster

Adding /omd/sites/nagmaster/tmp to /etc/fstab.

Restarting Apache...OK

Creating temporary filesystem /omd/sites/nagmaster/tmp...mount: can't find
/omd/sites/nagmaster/tmp in /etc/fstab or /etc/mtab                <-- the
entry is there

ERROR

Created new site nagmaster with version 1.00.

 

  The site can be started with omd start nagmaster.

  The default web UI is available at http://zlpv5368/nagmaster/

  The admin user for the web applications is omdadmin with password omd.

  Please do a su - nagmaster for administration of this site.

 

[root@zlpv5368 ~]# omd stop nagmaster

Removing Crontab...

no crontab for nagmaster

Stopping nagios...not running...OK

npcd was not running... could not stop

Stopping rrdcached...not running.

Stopping dedicated Apache for site nagmaster...(not running)...OK

 

[root@zlpv5368 ~]# omd start nagmaster

Creating temporary filesystem /omd/sites/nagmaster/tmp...mount: can't find
/omd/sites/nagmaster/tmp in /etc/fstab or /etc/mtab

ERROR

Starting dedicated Apache for site nagmaster...OK

Starting rrdcached...OK

Starting npcd...touch: cannot touch
`/omd/sites/nagmaster/tmp/pnp4nagios/run/npcd.pid': No such file or
directory

chown: cannot access `/omd/sites/nagmaster/tmp/pnp4nagios/run/npcd.pid': No
such file or directory

An Error occured while reading your config on line 197

Message was: "Could not open pidfile
'/omd/sites/nagmaster/tmp/pnp4nagios/run/npcd.pid': No such file or
directory"

OK

/omd/sites/nagmaster/etc/rc.d/80-nagios: line 66:
/omd/sites/nagmaster/tmp/nagios/nagios.cfg: No such file or directory

Nagios configuration file /omd/sites/nagmaster/tmp/nagios/nagios.cfg not
found. Terminating...

Initializing Crontab...OK

 

I can go manually mount the tmpfs.observe --> [root@zlpv5368 ~]# mount
/omd/sites/nagmaster/tmp

 

[root@zlpv5368 ~]# omd start nagmaster

Starting dedicated Apache for site nagmaster...OK

Starting rrdcached...OK

Starting npcd...touch: cannot touch
`/omd/sites/nagmaster/tmp/pnp4nagios/run/npcd.pid': No such file or
directory

chown: cannot access `/omd/sites/nagmaster/tmp/pnp4nagios/run/npcd.pid': No
such file or directory

An Error occured while reading your config on line 197

Message was: "Could not open pidfile
'/omd/sites/nagmaster/tmp/pnp4nagios/run/npcd.pid': No such file or
directory"

OK

/omd/sites/nagmaster/etc/rc.d/80-nagios: line 66:
/omd/sites/nagmaster/tmp/nagios/nagios.cfg: No such file or directory

Nagios configuration file /omd/sites/nagmaster/tmp/nagios/nagios.cfg not
found. Terminating...

Initializing Crontab...OK

 

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

Reply via email to