Discussion:
Installation issue "Requires: /opt/zenoss/bin/python2.7"
jacob hurley
2013-11-26 18:36:37 UTC
Permalink
jacob hurley [http://community.zenoss.org/people/wpczenoss] created the discussion

"Installation issue "Requires: /opt/zenoss/bin/python2.7""

To view the discussion, visit: http://community.zenoss.org/message/75338#75338

--------------------------------------------------------------
Hi, I am trying to install zenoss on one of our Amazon cloud servers, following the manual instructions.  I was originally running into an issue with rpm dependencies for 'Requires libgcj', but was able to resolve that by following a link and removing the require with rpmrebuild (installing ecj manually).  However, I still can't complete the rpm install of zenoss.  Currently, I am getting this at the end of the dependency check.  Has anyone had this issue or know of a fix?  It's strange to me that it is not complaining about a specific package, but that /opt/zenoss/bin/python does not exist - should this directory already be there?  Another admin has already installed Ansible on this server, which I believe, is the reason python is already on this server -but I see python26.  Is this my issue?  Can these two be installed on the same server?

Thanks for any help or input.  Let me know if I can provide any further details to help get this resolved.
-Jacob

---> Package zenoss.x86_64 0:4.2.4-1897.el6 will be installed
--> Processing Dependency: /opt/zenoss/bin/python for package: zenoss-4.2.4-1897.el6.x86_64
--> Processing Dependency: /opt/zenoss/bin/python2.7 for package: zenoss-4.2.4-1897.el6.x86_64
--> Processing Dependency: /opt/zenoss/bin/python2.7 for package: zenoss-4.2.4-1897.el6.x86_64
--> Processing Dependency: /opt/zenoss/bin/python for package: zenoss-4.2.4-1897.el6.x86_64
--> Finished Dependency Resolution
Error: Package: zenoss-4.2.4-1897.el6.x86_64 (/zenoss-4.2.4-1897.el6.x86_64)
           Requires: /opt/zenoss/bin/python2.7
Error: Package: zenoss-4.2.4-1897.el6.x86_64 (/zenoss-4.2.4-1897.el6.x86_64)
           Requires: /opt/zenoss/bin/python
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75338#75338]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jacob h
2013-11-27 20:20:26 UTC
Permalink
jacob h [http://community.zenoss.org/people/wpczenoss] created the discussion

"Re: Installation issue "Requires: /opt/zenoss/bin/python2.7""

To view the discussion, visit: http://community.zenoss.org/message/75340#75340

--------------------------------------------------------------
Did I somehow corrupt the rpm when I edited it?  I followed this note to remove the "Requires: libgcj", the system would not let me install libgcj because it was obsoleted by 'ecj'.  Here is the note I followed to modify the RPM.. but it has now left me with the error above.. What exactly is the dependency asking for in this case?

http://sysadminandnetworking.blogspot.com/2013/11/zenoss-on-amazon-linux.html


TIA
Jacob
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75340#75340]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Sandeep_Krishnan
2013-11-28 03:04:46 UTC
Permalink
Sandeep_Krishnan [http://community.zenoss.org/people/Sandeep_Krishnan] created the discussion

"Re: Installation issue "Requires: /opt/zenoss/bin/python2.7""

To view the discussion, visit: http://community.zenoss.org/message/75355#75355

--------------------------------------------------------------
Hi jacob,
           You can check you have libgcj installed on your box as a first step.
            rpm -qa | grep libgcj
            I too had faced libgcj dependency issue in amaozon cloud servers. i had used centos repo inside amazon and used to resolved libgcj

   create a file /etc/yum.repos.d/centos.repo

   Paste following contents.

[centos]
name=CentOS $releasever - $basearch
baseurl=http://ftp.heanet.ie/pub/centos/*5*/os/$basearch/
enabled=1
gpgcheck=0

Do yum search libgcj it will list the package, after that you can procced with zenoss installation.

Thanks
Sandeep
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75355#75355]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jacob h
2013-12-02 17:13:31 UTC
Permalink
jacob h [http://community.zenoss.org/people/wpczenoss] created the discussion

"Re: Installation issue "Requires: /opt/zenoss/bin/python2.7""

To view the discussion, visit: http://community.zenoss.org/message/75374#75374

--------------------------------------------------------------
Thanks Sandeep.  I was able to get the rest of the install after I was able to provide the package.  Much appreciation, Jacob
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75374#75374]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Sandeep_Krishnan
2013-12-03 06:31:22 UTC
Permalink
Sandeep_Krishnan [http://community.zenoss.org/people/Sandeep_Krishnan] created the discussion

"Re: Installation issue "Requires: /opt/zenoss/bin/python2.7""

To view the discussion, visit: http://community.zenoss.org/message/75379#75379

--------------------------------------------------------------
Gald that it had solved the issue. :)

Thanks
Sandeep
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75379#75379]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...