LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install Zabbix on CentOS !!! (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-zabbix-on-centos-839673/)

ducloiag 10-21-2010 10:00 PM

How to install Zabbix on CentOS !!!
 
Dear all;
I'm studying Linux.So, i want to build Zabbix on CentOS 5.2 to monitor my system network.
May i know that instruction install with step by step??
I'm from Vietnam, sorry for my bad english.
Thanks a lot.

linuxlover.chaitanya 10-22-2010 12:11 AM

The best place to start looking should be THE DOCS ONLINE

kirukan 10-22-2010 12:15 AM

Have you referred the Zabbix manual...?
http://www.zabbix.com/documentation.php

John VV 10-22-2010 12:31 AM

and you might want to install the current CentOS version
CentOS 5.5

alli_yas 10-22-2010 12:40 AM

Please read the forum rules. Its in poor nettiquette taste to post in big bold fonts.

ducloiag 10-25-2010 02:28 AM

I have been installed "zabbix-1.6.4.tar.gz", make step by step as this link (referenced to http://nitishkumar.net/2010/01/03/za...for-corporate/)
I thought the version zabbix-1.4.5.tar.gz different zabbix-1.6.4.tar.gz at this install step, so i changed the path as follows
# vi /etc/init.d/zabbix_server ----> version 1.4.5
change BASEDIR=/opt/zabbix to BASEDIR=/usr/local/sbin
change FULLPATH=$BASEDIR/bin/$BINARY_NAME to FULLPATH=$BASEDIR/$BINARY_NAME
# vi /etc/init.d/zabbix_server -----> version 1.6.4
-------------------------------------------------------
RETVAL=0
#progdir="/usr/local/zabbix/bin/"
progdir="usr/local/bin"
prog="zabbix_server"
--------------------------------------------------------

And then i continue to do to step start service, i get the message error:
# service zabbix_server start
zabbix_server: unrecognized service

May i know how to debug this error ???
Please advice to me.
To Alli_yas: As you know my skill english not good so i only see short the rule in this forum. I'll try to improve...
Thanks a lot.

contactfornitish 10-25-2010 11:06 AM

Your zabbix issue
 
Mate. I guess you need to check the /etc/rc.d and find that zabbix_server and zabix_agentd is copies there or not. If not then copy to that folder and then chmod +x zabbix_*

ducloiag 10-29-2010 01:48 AM

Dear all,
http://www.zabbix.com/wiki/howto/ins.../centosinstall
I just install zabbix 1.8 on the CentOS 5.5. i had do step by step as link bellow. So, i type the syntax checkinstall and than got message

Quote:

# checkinstall --nodoc --install=yes –y
========================= Installation results ===========================
/var/tmp/rRIonocmgGFUoCjEAekP/installscript.sh: line 4: .y: command not foun d

**** Installation failed. Aborting package creation.

Cleaning up...OK

Bye.
Please kindly help me solve the problem.
thanks a lot.

John VV 10-29-2010 02:57 AM

have you tried not using the " -y "
centos dose not get along well with that option

John VV 10-29-2010 02:59 AM

have you tried not using the " -y "
centos dose not get along well with that option

also how are you saving links ??
some how they do not work
you are NOT saving the whole address
-- your link --
http://www.zabbix.com/wiki/howto/ins.../centosinstall
-- the working link --
http://www.zabbix.com/wiki/howto/ins.../centosinstall

ducloiag 10-29-2010 03:25 AM

To: John
I just type the syntax without -y and than got the error message:

Quote:

======================== Installation successful ==========================

Copying files to the temporary directory...OK

Striping ELF binaries and libraries...OK

Compressing man pages...OK

Building file list...OK

Building RPM package...OK

Installing RPM package... FAILED!

*** Failed to install the package

Do you want to see the log file? [y]:y
Building target platforms: i386
Building for target i386
Processing files: zabbix-1.8.1-1
error: File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/selinux
error: File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/selinux/context
error: File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr
error: File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr/local
error: File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr/local/bin
error: File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr/local/bin/zabbix_get
error: File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr/local/bin/zabbix_sender
error: File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr/local/sbin
error: File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr/local/sbin/zabbix_server
error: File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr/local/sbin/zabbix_agent
RPM build errors:
File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/selinux
File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/selinux/context
File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr
File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr/local
File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr/local/bin
File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr/local/bin/zabbix_get
File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr/local/bin/zabbix_sender
File not found: /var/tmp/bFlJiKjSUOAARKrOChkl/package/usr/local/sbin
Beside, the link that you updated the same my link.
May i know other solution ??
Thanks for your help.

John VV 10-29-2010 05:20 AM

Installing RPM package... FAILED!

were you running the install part as a normal user ????
you need to be root to install anything

ducloiag 10-29-2010 09:18 PM

Sure, i had installed with permit root user.

ducloiag 11-03-2010 12:11 AM

Hi all,
Please be informed that i have just solved that problem with 1 command "yum install rpm*".
But when I the try to login i I get following error message "ERROR: Login name or password is incorrect"
i'm sure type correct username/password, but i try login with user default admin/zabbin then login successful.
pls help me !!!

John VV 11-03-2010 12:50 AM

a question ??
how did you manage to install centOS 5 and NOT install rpm
it is a BASE system program . It is near imposable to do .

if rpm was not installed then WHAT else is not ?????


All times are GMT -5. The time now is 05:28 AM.