install problem

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
cactilover
Posts: 5
Joined: Fri Nov 08, 2002 7:01 pm

install problem

Post by cactilover »

got apache/mysql/php up & working per the install guide.

However, two weird things:

1. when the install guide says this:
*/5 * * * * cactiuser php /var/www/html/cacti/cmd.php > /dev/null 2>&1
that would imply that there's a php binary. Where does it come from? My php install gives me only my apache module...

2. Don't think this is related to 1. above, but, having double checked all the install steps, I get to the box that says "cacti Installation Guide (Step 1)". When I click 'next', I get the same page over & over.

Any idea what this could be? php.ini looks o.k., my phpinfo page looks o.k., mysql steps executed great...just wondering what I'm missing here.

thanks!
BSDeality
Posts: 35
Joined: Tue Oct 08, 2002 7:56 am
Location: Connecticut
Contact:

Post by BSDeality »

you have to compile php with the executable binary

as for the cycling of the first page. make sure you have register_globals ON
[url=http://geekfort.com/cacti/graph_view.php?action=tree]Geekfort.com/cacti[/url]
dbenders
Posts: 28
Joined: Mon Oct 14, 2002 2:02 pm
Location: Santiago, CHILE

Hre is how to dot it manualy, i.e. compiling it:

Post by dbenders »

To build the mod_php for Apache.

Code: Select all

# ./configure --with-mysql --with-apxs --with-snmp --with-openssl --with-db --with-ldap --with-gd --with-zlib --with-gettext --with-png-dir=/usr/lib
# make clean
# make
# make install
To build the php standalone for Apache.

Code: Select all

# ./configure --with-mysql --with-snmp --with-openssl --with-db --with-ldap --with-gd --with-zlib --with-gettext --with-png-dir=/usr/lib
# make clean
# make
# make install
You has to do both steps.

Any ways, I guess that in RH 7.3 it comes already build, not sure, long time I installed the servers.

Jus one more thing, you MUST to replace in the line:

Code: Select all

*/5 * * * * cactiuser php /var/www/html/cacti/cmd.php > /dev/null 2>&1 
The "cactiuser" for the "User" that apears in your apache configuration. In old verions it was nobody and in the last versions it is apache

I hope it help you.
cactilover
Posts: 5
Joined: Fri Nov 08, 2002 7:01 pm

Post by cactilover »

thanks, guys. I'll give this a try & let you know how it goes.

--Rob
cactilover
Posts: 5
Joined: Fri Nov 08, 2002 7:01 pm

all set now

Post by cactilover »

dbenders' steps did the trick. I'm not using ldap, so I left that part out. Everything else is on the money, double-checked the php.ini parameters, and I'm up & running with cacti! We're having a cacti-vs.-cricket showdown right now, so I'm trying to get it configured. I like what i see!

thanks for the help--it's good to see a large community using cacti.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests