[SOLVED] Zabbix Agent installation issue over OpenSusue
Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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.
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:
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.
...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
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.
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???
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:
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.
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.
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.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.