LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2010, 10:00 PM   #1
ducloiag
LQ Newbie
 
Registered: Nov 2009
Posts: 20

Rep: Reputation: 0
Lightbulb 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.
 
Old 10-22-2010, 12:11 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
The best place to start looking should be THE DOCS ONLINE
 
Old 10-22-2010, 12:15 AM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Have you referred the Zabbix manual...?
http://www.zabbix.com/documentation.php
 
Old 10-22-2010, 12:31 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,621

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
and you might want to install the current CentOS version
CentOS 5.5
 
Old 10-22-2010, 12:40 AM   #5
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Please read the forum rules. Its in poor nettiquette taste to post in big bold fonts.
 
Old 10-25-2010, 02:28 AM   #6
ducloiag
LQ Newbie
 
Registered: Nov 2009
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 10-25-2010, 11:06 AM   #7
contactfornitish
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Smile 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_*
 
Old 10-29-2010, 01:48 AM   #8
ducloiag
LQ Newbie
 
Registered: Nov 2009
Posts: 20

Original Poster
Rep: Reputation: 0
Arrow

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.
 
Old 10-29-2010, 02:57 AM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,621

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
have you tried not using the " -y "
centos dose not get along well with that option
 
Old 10-29-2010, 02:59 AM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,621

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 10-29-2010, 03:25 AM   #11
ducloiag
LQ Newbie
 
Registered: Nov 2009
Posts: 20

Original Poster
Rep: Reputation: 0
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.
 
Old 10-29-2010, 05:20 AM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,621

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Installing RPM package... FAILED!

were you running the install part as a normal user ????
you need to be root to install anything
 
Old 10-29-2010, 09:18 PM   #13
ducloiag
LQ Newbie
 
Registered: Nov 2009
Posts: 20

Original Poster
Rep: Reputation: 0
Sure, i had installed with permit root user.
 
Old 11-03-2010, 12:11 AM   #14
ducloiag
LQ Newbie
 
Registered: Nov 2009
Posts: 20

Original Poster
Rep: Reputation: 0
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 !!!
 
Old 11-03-2010, 12:50 AM   #15
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,621

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 ?????
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom CentOS 5 Install with ks.cfg file and centOS all in one linux_newb Linux - Server 1 01-14-2010 06:13 PM
Zabbix mahmoud Linux - Software 3 03-17-2008 05:37 PM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 03:41 AM
[SOLVED] which one to install centOS 4 or centOS 5 ? Pls HELP !!! vikas027 Linux - Newbie 2 05-13-2007 06:04 AM
mysql.h error in Ubuntu (zabbix install) khilari Linux - Networking 2 07-06-2006 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration