newbie - install problems

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

Moderators: Developers, Moderators

Post Reply
smeagol
Posts: 4
Joined: Fri Aug 26, 2005 4:08 pm
Location: Chicago, IL

newbie - install problems

Post by smeagol »

Hey all, wanted to give Cacti a shot after I had MRTG running for a few months now. Having a few issues with the installation.

WinXP Pro, 2.8ghz, 512mb etc
downloaded the following:
cacti v8.6 - cacti-0.8.6f.zip
MySQL 4.0.25 - mysql-4.0.25-win32.zip
Php 4.4.0 - php-4.4.0-Win32
Apache 2.0.54 - apache_2.0.54-win32-x86-no_ssl.msi
rrdtool 1.2.11 - rrdtool-cygwin-1.2.11.zip (didn't use the newest from rrdtool homepage, per the sticky in the Win32 forum)

Followed the install instructions as close as humanly possible, all looked fine. Had apache up and running after the its install, but once I modded the httpd.conf to add LoadModule php4_module c:\php\sapi\php4apache2.dll I could not start Apache w/o errors.

Did some searching through the forum and found a few tidbits; tried copying php4apache2.dll to c:\php, tried putting it in c:\apache2\modules, tried backslashes, forward slashes, putting double quotes around the entire path. No luck.

Event log shows two errors:
The Apache service named reported the following error:
>>> Invalid LoadModule path \x93c:/php/php4apache2.dll\x94 .

The Apache service named reported the following error:
>>> Syntax error on line 173 of C:/Apache2/conf/httpd.conf: .


If I comment out the LoadModule line (line 173), Apache starts right up, just w/o php obviously.

I'd like to think I missed something simple here. Typically I find my own stupid mistakes after a few minutes, and I'm past that point now ;)

Any help or suggestions are appreciated.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Check line 173.... That "\x93" makes me think there is a invalid char at the beginning of the line.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
smeagol
Posts: 4
Joined: Fri Aug 26, 2005 4:08 pm
Location: Chicago, IL

Post by smeagol »

I thought that it might be an invalid character too, so I retyped everything in, moved it up a few lines even. No luck.

Just tried it again, got the error at line 134, where the LoadModule is now entered:

# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule php4_module “c:/php/php4apache2.dll”
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

I don't think you can put the full path to it in the apache configuration. I thought those configuration variables where relative to the root of the apache configuration directory.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
smeagol
Posts: 4
Joined: Fri Aug 26, 2005 4:08 pm
Location: Chicago, IL

Post by smeagol »

Yea I tried putting it in the modules directory and followed the syntax of the rest of the modules loaded in httpd.conf. Didn't work. I'll have to try some more ideas on monday.
smeagol
Posts: 4
Joined: Fri Aug 26, 2005 4:08 pm
Location: Chicago, IL

Post by smeagol »

I uninstalled Apache 2.0 this morning, installed Apache 1.3. Finally got Cacti running after doing that and changing the LoadModule entry to LoadModule php4_module c:/php/php4apache.dll and moving the file to that path. It didn't want to work in either c:\php\isapi or c:\apache\modules.

Ok, now to sort out how to add hosts and whatnot.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest