LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-14-2015, 04:06 PM   #1
akamel
Member
 
Registered: Dec 2012
Posts: 100

Rep: Reputation: 1
Zabbix Agent installation issue over OpenSusue


Dear all,

I'm trying to get Zabbix agent over OpenSuse, but as I'm coming from CentOS environment, I failed to solve my Zypper issues.
I have done the following:

1- zypper addrepo http://download.opensuse.org/reposit...ng/SLE_11_SP3/ server_monitoring

2- zypper update
Retrieving repository 'openSUSE-11.1-Oss' metadata [error]
Repository 'openSUSE-11.1-Oss' is invalid.
File /var/tmp/TmpFile.J76j4s doesn't contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'openSUSE-11.1-Oss' because of the above error.
Retrieving repository 'openSUSE-11.1-Update' metadata [error]
Repository 'openSUSE-11.1-Update' is invalid.
File /var/tmp/TmpFile.WoECxy doesn't contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'openSUSE-11.1-Update' because of the above error.
Loading repository data...
Reading installed packages...
Nothing to do.

Any way solve this or another way to get Zabbix Agent installed over OpenSuse without Zypper.

Awaiting your usual support.

Thanks.
 
Old 02-15-2015, 10:46 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by akamel View Post
Dear all,
I'm trying to get Zabbix agent over OpenSuse, but as I'm coming from CentOS environment, I failed to solve my Zypper issues. I have done the following:

1- zypper addrepo http://download.opensuse.org/reposit...ng/SLE_11_SP3/ server_monitoring
2- zypper update

Any way solve this or another way to get Zabbix Agent installed over OpenSuse without Zypper. Awaiting your usual support.Thanks.
Did you read/understand what you posted??? You say you're using openSUSE....so why did you add a repository for SuSE ENTERPRISE, which you have to PAY FOR??? That is why you can't read it...because you don't have the key loaded that gives you access to it.

If you tried going to Google and putting in "zabbix agent opensuse", the VERY FIRST HIT is from the Zabbix website, that TELLS YOU what to do:
https://www.zabbix.org/wiki/Install_on_openSUSE_/_SLES

...with EXAMPLES on what to put in for SLES vs openSUSE. You don't say what VERSION of openSUSE either, but you can read their instructions and determine the right repository from there. Maybe even go to the openSUSE website and search for what you're after???
http://software.opensuse.org/package/zabbix-agent
 
Old 02-15-2015, 11:00 AM   #3
akamel
Member
 
Registered: Dec 2012
Posts: 100

Original Poster
Rep: Reputation: 1
Thanks for your help. But as I mentioned I came from CentOS environment. So that is why I can't use zypper to install zabbix agent. I tried this link and got the above error when doing zypper update.

Appreciate your help.
 
Old 02-15-2015, 11:18 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by akamel View Post
Thanks for your help. But as I mentioned I came from CentOS environment. So that is why I can't use zypper to install zabbix agent. I tried this link and got the above error when doing zypper update.
..and CentOS has absolutely NOTHING to do with this...you got the error, because you are apparently STILL not reading or understanding that link, or what you're told. AGAIN, as you were told before, you are trying to install the package from a COMMERCIAL, PAY FOR REPOSITORY, onto the FREE OPENSUSE. That WILL NOT WORK. AGAIN, you need to use the CORRECT LINK, which you could not only figure out from the Zabbix website, but also from the openSUSE site which you were handed. The openSUSE search page even has a ONE CLICK INSTALL...doesn't get more simple than that.

To make it even MORE SIMPLE FOR YOU:
  • Remove the SLES repository
  • Put the openSUSE repository in
  • Perform the installation
This is like saying "I tried to install a package into my CentOS system by adding a repository for Red Hat Enterprise (which I'm not paying for), and it doesn't work." No surprise there...this is the same thing. SLES is a pay for product, openSUSE isn't. And zypper is no harder to use than yum...it's one command, with man pages...did you try to read THEM???

Last edited by TB0ne; 02-15-2015 at 11:21 AM.
 
Old 02-15-2015, 11:24 AM   #5
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
As mentioned before, you're getting the error you posted because you added a SUSE Enterprise repository instead of the openSUSE one. (Be aware that SUSE Enterprise and openSUSE are two different OSs). Try removing the repository you added before with the following command:

Code:
zypper removerepo http://download.opensuse.org/repositories/server:/monitoring/SLE_11_SP3/
Then repeat the zypper commands adding your version of openSUSE from this list of repositories: http://download.opensuse.org/reposit...r:/monitoring/. By the way, I would execute zypper refresh after adding the right repo, so zypper is aware of the new packages.

edit: TB0ne beat me to it.

Last edited by Hungry ghost; 02-15-2015 at 11:25 AM.
 
Old 02-15-2015, 02:03 PM   #6
akamel
Member
 
Registered: Dec 2012
Posts: 100

Original Poster
Rep: Reputation: 1
Thanks. But still having issues.

rsm16:/etc/zypp # zypper update
Retrieving repository 'openSUSE-11.1-Oss' metadata [error]
Repository 'openSUSE-11.1-Oss' is invalid.
File /var/tmp/TmpFile.0WkaHW doesn't contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'openSUSE-11.1-Oss' because of the above error.
Retrieving repository 'openSUSE-11.1-Update' metadata [error]
Repository 'openSUSE-11.1-Update' is invalid.
File /var/tmp/TmpFile.ZpcoJU doesn't contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'openSUSE-11.1-Update' because of the above error.
Loading repository data...
Reading installed packages...
Nothing to do.
 
Old 02-15-2015, 02:22 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by akamel View Post
Thanks. But still having issues.

rsm16:/etc/zypp # zypper update
Retrieving repository 'openSUSE-11.1-Oss' metadata [error]
Repository 'openSUSE-11.1-Oss' is invalid.
File /var/tmp/TmpFile.0WkaHW doesn't contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'openSUSE-11.1-Oss' because of the above error.
Retrieving repository 'openSUSE-11.1-Update' metadata [error]
Repository 'openSUSE-11.1-Update' is invalid.
File /var/tmp/TmpFile.ZpcoJU doesn't contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository 'openSUSE-11.1-Update' because of the above error.
Loading repository data...
Reading installed packages...
Nothing to do.
And you're still having issues, because you STILL ARE NOT reading or understanding what you're being told. We can only give you the solution...we can't make you do it or understand it.

AGAIN, for at least the third time now...you added an INCORRECT REPOSITORY. You were even spoon-fed the command to REMOVE it. Did you DO THOSE THINGS??? Until you do, you won't get different results, will you??? You were handed links to the openSUSE site, which will let you install these things with ONE MOUSE CLICK...did you do THAT? Did you read/understand the Zabbix web page about how to add the CORRECT repositories???

Doing the same thing over and over, and expecting different results won't get you much. You STILL haven't said what version of openSUSE you're using, either, despite being asked before.
 
Old 02-15-2015, 02:31 PM   #8
akamel
Member
 
Registered: Dec 2012
Posts: 100

Original Poster
Rep: Reputation: 1
Hey man, I disabled all repo, and allowed the one mentioned.
I got this error


rsm16:/etc/zypp/repos.d # zypper update
Error building the cache:
File /var/tmp/TmpFile.LWr5HN doesn't contain public key data
Warning: Disabling repository 'server_monitoring' because of the above error.
Loading repository data...
Reading installed packages...
Nothing to do.

File /var/tmp/TmpFile.LWr5HN doesn't exist. I tried to find it
 
Old 02-15-2015, 03:50 PM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by akamel View Post
Hey man, I disabled all repo, and allowed the one mentioned. I got this error

rsm16:/etc/zypp/repos.d # zypper update
Error building the cache:
File /var/tmp/TmpFile.LWr5HN doesn't contain public key data
Warning: Disabling repository 'server_monitoring' because of the above error.
Loading repository data...
Reading installed packages...
Nothing to do.

File /var/tmp/TmpFile.LWr5HN doesn't exist. I tried to find it
Sorry, but I don't think anyone is going to be able to help you. You are either ignoring what you're being told, or just don't understand it...either way, that doesn't leave anyone here any room to help you.

If you disable ALL the repositories, then how on earth do you think it will be able to update? And AGAIN, as you've been told NUMEROUS TIMES NOW, the repository you mentioned IS THE WRONG ONE. No matter WHAT YOU DO, it WILL NOT WORK, period, do you not understand that?????

AGAIN, as you were told before, you need to REMOVE the one INCORRECT REPOSITORY (which you added because you didn't read or understand the VERY CLEAR INSTRUCTIONS), go to the openSUSE repository page (which we had to look up for you, and hand to you), and click ONE BUTTON. If you can't understand these things, then print them off and get someone else to do it for you. Otherwise, there is NOTHING ELSE we can do to help you.
 
Old 02-15-2015, 03:55 PM   #10
akamel
Member
 
Registered: Dec 2012
Posts: 100

Original Poster
Rep: Reputation: 1
LOL.. I enabled one Rep.
Anyways, thanks for your help, but keep calm next time
 
Old 02-15-2015, 04:41 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by akamel View Post
LOL.. I enabled one Rep.
Yes...the WRONG ONE, as you were told SEVERAL TIMES. Then deleted ALL THE OTHER ONES, and kept asking why it wasn't working.
Quote:
Anyways, thanks for your help, but keep calm next time
Next time, pay attention and read/understand/follow the VERY CLEAR INSTRUCTIONS. Otherwise, there isn't much point posting here, if you're going to ignore everything that you get told, links you get spoon-fed, and very clear instructions from several sources.

Your posting history indicates you don't pay attention to what people tell you, and this thread is further proof. If you're going to do what you want, then don't post questions and ask people for answers.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.deb dependency problem (zabbix-agent) Juc1 Linux - Newbie 2 01-07-2014 03:16 PM
zabbix server and agent configuration yahoosam Linux - Server 3 10-24-2013 08:07 AM
Issue with Agent Controller installation on Linux? your_shadow03 Linux - Newbie 2 01-26-2010 11:42 AM
LXer: Installing Zabbix (Server And Agent) On Debian Etch LXer Syndicated Linux News 0 07-13-2007 05:31 PM
LXer: ZABBIX monitoring System installation with screenshots LXer Syndicated Linux News 0 08-17-2006 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:07 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