probably problems with windows variables...

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
cocoonclubber
Posts: 5
Joined: Wed Nov 02, 2005 8:30 am

probably problems with windows variables...

Post by cocoonclubber »

Hallo,

I now finished the installation with the dosumentation linked on the webpage. som things i did not like written, e.g. mysql configuration: the statements always gave me errors, so i did it my way, but i do not think that I did something wrong.

But i think, that something with my variables is wrong: I´m not able to enter "php -m", it says, that the command is incorrect..
did I something wrong with the variables?

i add an attachment with the variables i entered, all three marked blue. Probably i have somthing wrong there.

another, or the same problem: when i go to cacti webpage i get this error message from apache:
"Fatal error: Call to undefined function mysql_connect() in C:\Apache2\htdocs\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 338"

thanx for support
Attachments
Pic of my windows variables
Pic of my windows variables
variables.JPG (28.54 KiB) Viewed 2778 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Try following the guide in my signature.
cocoonclubber
Posts: 5
Joined: Wed Nov 02, 2005 8:30 am

Post by cocoonclubber »

I did the installation with your guide :-)

But not sure if I added the Windows Variables right...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

To check what you've set: start menu | run | cmd | set. Paste the output.
cocoonclubber
Posts: 5
Joined: Wed Nov 02, 2005 8:30 am

Post by cocoonclubber »

Hi Bsod2600

here´s the output:

ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users
APPDATA=C:\Dokumente und Einstellungen\dbadmin\Anwendungsdaten
CommonProgramFiles=C:\Programme\Gemeinsame Dateien
COMPUTERNAME=C253
ComSpec=C:\WINDOWS\system32\cmd.exe
EXCHICONS=C:\Programme\Exchsrvr\bin\maildsmx.dll
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Dokumente und Einstellungen\dbadmin
LOGONSERVER=\\AMAFFMDC002
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\oracle\ora92\bin;C:\Programme\Oracle\jre\1.3.1\bin;C:\Programme\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Intel\DMIX
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PHPRC=PHPRC=c:\php
php\mibs=MIBDIRS=c:\php\mibs
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 4, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0204
ProgramFiles=C:\Programme
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOKUME~1\dbadmin\LOKALE~1\Temp
TMP=C:\DOKUME~1\dbadmin\LOKALE~1\Temp
USERDNSDOMAIN=XXX.LOCAL
USERDOMAIN=XXX
USERNAME=dbadmin
USERPROFILE=C:\Dokumente und Einstellungen\dbadmin
WF_RESOURCES=C:\oracle\ora92\WF\RES\WFus.RES
windir=C:\WINDOWS
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You did not set up the variables correctly.

1) c:\php must be in your system path
2) The following two variables you need to reset to:
PHPRC=c:\php
MIBDIRS=c:\php\mibs
cocoonclubber
Posts: 5
Joined: Wed Nov 02, 2005 8:30 am

Post by cocoonclubber »

Many many thanks, BSOD2600.

I´m not really very familiar with windows variables... but now it´s all right! :-)

thanks very much!
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

IMHO, that was the wierest post I've seen in a while. Like de-ja-vous.

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests