OpenDir & Cacti

Apache, Lighttpd, nginx, Cherokee
Post Reply
benedelux
Posts: 36
Joined: 2005-03-05 15:35
Location: im Allgäu...
 

OpenDir & Cacti

Post by benedelux »

Hallo Zusammen,

ich habe auf meiner Debian Sarge 3.1 Kiste per apt-get cacti installiert. Das einzige wo ich jetzt hängen bleibe ist das Cacti die einzelnen Programme nicht ansprechen kann:

Code: Select all

/usr/bin/snmpwalk
/usr/bin/snmpget
/usr/bin/rrdtool

Weil sich diese net in den OpenDir´s von PHP4 befinden.
Aber ich will auf keinem Fall diese Verzeichnisse freigeben!!!!

Was bleibt mich noch für eine Lösung das mir Cacti mal was ausgibt?
Danke schon mal!

cya BeNe
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: OpenDir & Cacti

Post by Joe User »

cacti statisch linken und in den include_path kopieren.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
benedelux
Posts: 36
Joined: 2005-03-05 15:35
Location: im Allgäu...
 

Re: OpenDir & Cacti

Post by benedelux »

Daran habe ich auch schon gedacht, aber von den Rechten her war mir jetzt nicht klar das PHP trotzdem darauf zugreifen darf!

Ich danke dir für deine schnelle antwort! :-D

cya BeNe
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: OpenDir & Cacti

Post by Joe User »

Sorry, richtig ist natürlich s/include_path/safe_mode_exec_dir/ :roll:
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
benedelux
Posts: 36
Joined: 2005-03-05 15:35
Location: im Allgäu...
 

Re: OpenDir & Cacti

Post by benedelux »

Ja da bin ich auch nochmal!
SafeMode habe ich garnet an bei mir...momentan mal net.
Es greift nur das OpenDir, kein SAFE MODE!

Schreibe ich das jetzt direkt in die File die cacti mir in den Apache eingebunden hat oder in die confixx_vhost?

Sorry nochmal :oops:
cya BeNe
Post Reply