TECHZEN Zenoss User Community ARCHIVE  

4.2.5 Install Script Issue/Question - Using Jane's Update

Subject: 4.2.5 Install Script Issue/Question - Using Jane's Update
Author: John Boyle
Posted: 2017-03-10 12:44

From a new community member installing 4.2.5 using Jane Curry's updated script.  

https://github.com/jcurry/Zenoss_4.2.5_core

He ran into the following issue.  Community input appreciated.  Cheers!


Hi Guys,
I found the next bug in the installer script. I haven't had a chance to resolve it manually but it looks like it fails on trying to grab rpms from rpmforge?:

Complete!
Installing optimal /etc/my.cnf settings
Configuring MySQL
Starting MySQL... SUCCESS!
Enabling rpmforge repo...
--2017-03-10 13:14:00--  http://apt.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Resolving apt.sw.be (apt.sw.be)... failed: Name or service not known.
wget: unable to resolve host address ?apt.sw.be?
Command failure: wget http://apt.sw.be/redhat/el7/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm

John Boyle

Zenoss Community Engineer/Manager

jboyle@zenoss.com

Twitter: @BrandFlair



Subject: thank you
Author: [Not Specified]
Posted: 2017-03-10 13:04

I was able to work around the problems with DNS resolution for certain RPMs by going to a clean install and hardcoding RPM urls and re-running the script. Where might I contribute patches?



Subject: rpms
Author: [Not Specified]
Posted: 2017-03-10 14:26

With some manual workarounds I was able to get all RPMS to resolve; however, now it fails on broken dependencies. It may be looking like things need to be repackaged for RHEL7.


error message: http://pastebin.com/ucpmnHRv

 



Subject: last error in installer
Author: [Not Specified]
Posted: 2017-03-10 14:45

Here is where it breaks now:

Zenoss_4.2.5_core-autodeploy-master]# yum whatprovides "*/l     ibgdbm.so.2"

 



Subject: HI!  
Author: Andrew Kirch
Posted: 2017-03-10 17:04

HI!  
Unfortunately that script isn't super robust.  In this case you're using the wrong version of repoforge:

  1. ==> PASV ... done.    ==> RETR rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm ... done.

you should be using RHEL/CentOS 6 not 7.  I have an updated script to help you deploy this on 6 that I last used earlier this week.  Let me know if you need it.

Andrew Kirch

[[{"fid":"1151","view_mode":"default","type":"media","attributes":{"alt":"GoVanguard Logo","title":"THE EVERYTHING IT ECOSYSTEM","height":"50","width":"200","class":"media-element file-default"}}]]

akirch@gvit.com

Need Zenoss support, consulting or custom development? Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5? Coming May 1st from GoVanguard



Subject: Please note the correct url
Author: Jane Curry
Posted: 2017-03-14 05:57

Please note the correct url for the auto-deploy scripts on github is  https://github.com/jcurry/Zenoss_4.2.5_core-autodeploy   , NOT as shown above.

As Andrew said, the installation is for CentOS 6, not CentOS 7.  Very happy to take feedback on the auto-deploy script.  Can you work with CentOs 6???

Cheers,

Jane

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



Subject: RE: Please note the correct url
Author: Sam Urai
Posted: 2018-05-19 23:17

Looks like the url in the script doesn't work. Is there any new version of the script which has a working url for the "rpmforge" ?

Thanks

------------------------------
Sam Urai
------------------------------


Subject: RE: Please note the correct url
Author: Pheripheral Pheripheral
Posted: 2018-05-21 04:32

I was running this script at the end of last week aswell and had trouble with the rpmforge bit.
specifically, the attempt to disable_repo() rmpforge failed as rpmforge was not present and the script bails out.

I 'solved' it by manually downloading rpmforge via:

wget http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
and then installing it:

rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

Then re running the script.

------------------------------
Pheripheral Pheripheral
------------------------------


< Previous
Zenoss 5.2.1 installation using OVA (failed step 2)
  Next
How to put Zenoss Core 5 Graph in static HTML page?
>