Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon May 20, 2019 2:27 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Install cacti on redhat enterprise v4 update 2
PostPosted: Sat Feb 18, 2006 5:08 pm 
Offline

Joined: Tue Feb 07, 2006 10:29 pm
Posts: 8
I have tried follow lee carters intructions to the letter except I am installing on redhat enterprise v4.. I am now trying to install it with separate modules. I am also using rpm's instead of tar ball's.
the first part is aready giving me problems...

I am installing
RHEL3 (x86) - Server
RHEL3 (x86) - Client
RHEL3 (x86) - Headers and libraries
RHEL3 (x86) - Shared libraries

I am doing straight out of the mysql intructions and I am get the following error with the following command

rpm -i MySQL-server-standard-5.0.18-0.rhel3.i386.rpm
warning: MySQL-server-standard-5.0.18-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
MySQL conflicts with mysql-4.1.12-3.RHEL4.1.i386


I have been fighting this for 3 weeks. So yes I am new to linux. But i so want to get away from microcrap. I am even an mcse. Put I know some one could answer this very easily.
My plan of attack is to install the individual programs- then configure them to work with cacti. If this Is wrong I will take advice.....

I will pay for a set of instruction similar to lee carters but with the latest cacti and other latest required modules. And istall on redhat v4 enterprise.... I am very serious......


PLEASE HELP.

You only keep what you have by giving it away........
Thanks In advance Dennis
javascript:emoticon(':P')

_________________
Trying to make a living cause I have 3 kids!!!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 18, 2006 8:19 pm 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 6016
Location: Michigan, USA
Well, you can run mysql 4.1.x, mysql 5.x is not a requirement. If that makes things easier.

FYI, there are more then one mysql package and you need to install both the client and server at the sametime to properly upgrade. To do that, just specify both packages on the same command line with the rpm command.

Also, since it is an upgrade, you should use the upgrade switch. Now, I'm not going to tell you that switch for rpm, because you should read the man page on it. Simply type "man rpm" and you will get the manual. Btw, "man man" will help you understand how man works.

More questions, let me know. ;)

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 18, 2006 8:55 pm 
Offline

Joined: Tue Feb 07, 2006 10:29 pm
Posts: 8
Thanks I will start reading now.

_________________
Trying to make a living cause I have 3 kids!!!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 18, 2006 9:28 pm 
Offline

Joined: Tue Feb 07, 2006 10:29 pm
Posts: 8
If I go with the 4.1x should i go with ....


1.) MySQL-standard-4.1.18-0.rhel4.src.rpm
2.) MySQL-server-standard-4.1.18-0.rhel4.i386.rpm
3.) MySQL-client-standard-4.1.18-0.rhel4.i386.rpm.

I can see from the man page how to do the upgrade but not run both commands on the same line..

Thanks

_________________
Trying to make a living cause I have 3 kids!!!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 18, 2006 9:36 pm 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 6016
Location: Michigan, USA
excursion wrote:
MySQL-standard-4.1.18-0.rhel4.src.rpm


No, don't install this... :) The ".src." lets you know it's a source package.

excursion wrote:
MySQL-server-standard-4.1.18-0.rhel4.i386.rpm MySQL-client-standard-4.1.18-0.rhel4.i386.rpm.


Yes, install these....

Don't forget, for cacti, you are going to need the following in addtion to mysql:

php - 4.3 or 5.1 or higher.
apache - 1.3.x or 2.x or higher
rrdtool - 1.0.49 or 1.2.x or higher
net-snmp - 5.1.2 or higher

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: new problem...
PostPosted: Tue Feb 21, 2006 6:28 pm 
Offline

Joined: Tue Feb 07, 2006 10:29 pm
Posts: 8
I got through MYsql and httpd Now php is giving me H&8L.
Not sure it is actually a problem with php or a library issue.
If some one can help please....

Here is what action I took and what results I got..

4-18 php-5.1.2]# make install Installing PHP SAPI module: apache2handler /www/build/instdso.sh SH_LIBTOOL='/www/build/libtool' libphp5.la /www/modules
/www/build/libtool --mode=install cp libphp5.la /www/modules/
cp .libs/libphp5.lai /www/modules/libphp5.la
cp .libs/libphp5.a /www/modules/libphp5.a
ranlib /www/modules/libphp5.a
chmod 644 /www/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /cacti-install/php-5.1.2/libs'
Warning! dlname not found in /www/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /www/modules/libphp5.so
chmod: cannot access `/www/modules/libphp5.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1

Thanks In advance.....


Dennis
:cry: :cry:

_________________
Trying to make a living cause I have 3 kids!!!


Top
 Profile  
 
 Post subject: Re: new problem...
PostPosted: Tue Mar 07, 2006 11:22 am 
Offline

Joined: Tue Mar 07, 2006 11:12 am
Posts: 3
excursion wrote:
I got through MYsql and httpd Now php is giving me H&8L.
Not sure it is actually a problem with php or a library issue.
If some one can help please....

Here is what action I took and what results I got..

4-18 php-5.1.2]# make install Installing PHP SAPI module: apache2handler /www/build/instdso.sh SH_LIBTOOL='/www/build/libtool' libphp5.la /www/modules
/www/build/libtool --mode=install cp libphp5.la /www/modules/
cp .libs/libphp5.lai /www/modules/libphp5.la
cp .libs/libphp5.a /www/modules/libphp5.a
ranlib /www/modules/libphp5.a
chmod 644 /www/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /cacti-install/php-5.1.2/libs'
Warning! dlname not found in /www/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /www/modules/libphp5.so
chmod: cannot access `/www/modules/libphp5.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1

Thanks In advance.....


Dennis
:cry: :cry:


Are you trying to compile PHP? Why? Is there any reason for this?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 08, 2006 2:10 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Hi

I've setup a Cacti server for one of my customers, on a RedHat AS 4 Update 2.
The only package that was not on one of the 4 CD was rrdtool, which I downloaded here : http://dag.wieers.com/packages/rrdtool/

_________________

HOWTOs :
Templates :


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group