Anmelden

Archiv verlassen und diese Seite im Standarddesign anzeigen : Munin-Cron



cra
26.09.07, 15:56
Hallo zusammen

Heute stellte ich auf einmal fest, dass mein Munin seine Dienste verweigert.

Bei genauerem Betrachtet erscheint beim Ausführen des munin-cron folgende Meldung:
You are running this program as root, which is neither smart nor necessary.
If you really want to run it as root, use the --force-root option. Else, run
it as the user "munin". Aborting.

Interessant an der Geschichte ist, dass dieser Cron-Job sogar als User munin ausgeführt wird.

Dem User munin habe ich anschliessend erlaubt, sich via SSH einzuloggen um den Befehl direkt aus User Munin auszuführen ... selbes Ergebnis:

munin@srv05:/$ /usr/bin/munin-cron
You are running this program as root, which is neither smart nor necessary.
If you really want to run it as root, use the --force-root option. Else, run
it as the user "munin". Aborting.

You are running this program as root, which is neither smart nor necessary.
If you really want to run it as root, use the --force-root option. Else, run
it as the user "munin". Aborting.

You are running this program as root, which is neither smart nor necessary.
If you really want to run it as root, use the --force-root option. Else, run
it as the user "munin". Aborting.

You are running this program as root, which is neither smart nor necessary.
If you really want to run it as root, use the --force-root option. Else, run
it as the user "munin". Aborting.

munin@srv05:/$

Ich hoffe, es kann mir jemand einen Tipp geben, wie ich da zu einer Lösung kommen kann. Denn einfach so --force-root anhängen gefällt mir dann doch nicht (obwohl es funktionieren würde)

Paar Rechner-Infos:
- Linux version 2.6.8-12-amd64-k8 (buildd@bester) (gcc version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13))
- Wer mehr braucht ... anfragen ^^


Warum meint munin, dass der Benutzer munin root sei?
Danke schonmal im Voraus
Gruss cra

baumgartner
26.09.07, 16:08
Was sagt denn echo $UID und $USER als user munin?

cra
26.09.07, 16:14
munin@srv05:/$ echo $UID
1001
munin@srv05:/$ echo $USER
munin

Gruss cra

cra
29.09.07, 17:32
Keiner mehr ne Idee? :((