Installation Issues

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Slade Edmonds

Installation Issues

Post by Slade Edmonds »

Hello, I have followed the directions closely. When I point my browser to cacti, I get the installation screen. When I click next it does not engage the next step. I've double checked my sql permissions etc.

Also, I do not have a 'php' binary to run against cmd.php. Not sure why, as I have compiled from source and have php / mysql doing a lot of stuff with no problems (like snort and acid).

Any ideas are appreciated.

Thanks
Guest

Post by Guest »

register_globals is set to On btw :(
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Even though you probably checked this, is register_argc_argv set to 'on' as well?

If you don't have a php binary, you can easily compile one using a configure command similar to:

Code: Select all

./configure --with-mysql
make
(on the latest php source)

If everything goes correctly, you'll end up with a php binary file in that same directory.

-Ian
Manty
Posts: 5
Joined: Mon Sep 23, 2002 11:45 am

Post by Manty »

I'm also having the exact same issue. I followed the instructions exactly. The database is configured, the files are there, my username and passwords are valid, and I have both register_globals and register_argv_argc set to ON.

Running apache 1.3.23 and php 4.1.2.

I might try and update to the latest PHP to see if that resolves it.
Manty
Posts: 5
Joined: Mon Sep 23, 2002 11:45 am

Post by Manty »

Update on the above. I removed apache and compiled the latest apache 1.3.26 and php 4.2.3, and I am now able to progress beyond the first installation (disclaimer) screen.

Here goes nothing!

:D
Manty
Posts: 5
Joined: Mon Sep 23, 2002 11:45 am

Post by Manty »

Okay, I'm beyond the installation, I can get into Cacti with my own username, and it all looks great so far.

My only issue now is that it seems I've compiled PHP as a module rather than a binary.

Oh dear. :)

I assume this is why there are no default data sources, because these are normally generated by the command line PHP script?

I may be wrong on that one... ??
sedmonds
Posts: 2
Joined: Mon Sep 23, 2002 6:46 pm

Post by sedmonds »

I had to add the additional flags --enable-cli against the configure script to get the php binary to come out of the 4.2.3 distribution.
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Hmm... is '--enable-cli' a new configure option for 4.2.3? Makes sense, but I haven't seen that one yet.

-Ian
Manty
Posts: 5
Joined: Mon Sep 23, 2002 11:45 am

Post by Manty »

Yeah, it's new to me as well, but I saw a post elsewhere in this board where someone used it.

Before I found that switch out, I managed to get the binary by removing the config.cache and reconfigure PHP with just '--with-mysql' , the default config is for a CGI (ala command line) build, so i have the best of both worlds.

/me makes mental note, next time do "--with-apxs --enable-cli" to get both shared module and binary versions.
Guest

Post by Guest »

I did all of the above but I still can't get pass step 1. I have done that before and it worked, but now I am running into problems. What have I done wrong with the apache+php install? I have RH8 and the lastest version of php+apache recompiled.
Thansk.
BSDeality
Posts: 35
Joined: Tue Oct 08, 2002 7:56 am
Location: Connecticut
Contact:

Problems Installing Here as Well.

Post by BSDeality »

I too seem to have be having problems installing cacti.

here is what i've got:
FreeBSD 4.7-RC
apache 1.3.27
php 4.2.3 --with-mysql --enable-cli (register_globals = ON)
mysql 3.23.52

Before i wasn't even getting to the install.php page, i was gettin errors, but quickly stomped that by changing register_globals to ON. Now that i get to the install page, i click the next graphic and it just sits there. register_argc_argv is also set to ON

Is there anyway to by-pass this screen? i've tried a auth_login.php but it rejects me with admin/admin

I've also tried chmod'ing 777 (temp) to see if it was a r/w issue, but i don't think thats it either.


Could this be an issue with php 4.2.3 ?

-- EDIT --

i just cd'd to the cacti dir and ran php cmd.php and got a big bunch of errors complaing about log/* and script/* being non existant, but they are there. Should this be happening?
BSDeality
Posts: 35
Joined: Tue Oct 08, 2002 7:56 am
Location: Connecticut
Contact:

Post by BSDeality »

If you're having problems and are on FreeBSD check out my other post here.

http://www.raxnet.net/board/viewtopic.php?p=2896#2896
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests