Install cacti on redhat enterprise v4 update 2
Moderators: Developers, Moderators
Install cacti on redhat enterprise v4 update 2
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')
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!!!
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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.
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.
[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]
[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]
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
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!!!
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
No, don't install this... The ".src." lets you know it's a source package.excursion wrote:MySQL-standard-4.1.18-0.rhel4.src.rpm
Yes, install these....excursion wrote:MySQL-server-standard-4.1.18-0.rhel4.i386.rpm MySQL-client-standard-4.1.18-0.rhel4.i386.rpm.
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
[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]
[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]
new problem...
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
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
Trying to make a living cause I have 3 kids!!!
Re: new problem...
Are you trying to compile PHP? Why? Is there any reason for this?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
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
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/
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/
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Who is online
Users browsing this forum: No registered users and 0 guests