probably problems with windows variables...
Moderators: Developers, Moderators
-
- Posts: 5
- Joined: Wed Nov 02, 2005 8:30 am
probably problems with windows variables...
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
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
- variables.JPG (28.54 KiB) Viewed 2778 times
Try following the guide in my signature.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 5
- Joined: Wed Nov 02, 2005 8:30 am
To check what you've set: start menu | run | cmd | set. Paste the output.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 5
- Joined: Wed Nov 02, 2005 8:30 am
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
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
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
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
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 5
- Joined: Wed Nov 02, 2005 8:30 am
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
IMHO, that was the wierest post I've seen in a while. Like de-ja-vous.
Larry
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?
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?
Who is online
Users browsing this forum: No registered users and 2 guests