Archived community.zenoss.org | full text search
Skip navigation
8458 Views 5 Replies Latest reply: Aug 20, 2008 11:29 AM by jim8 RSS
jim8 Newbie 3 posts since
Aug 18, 2008
Currently Being Moderated

Aug 18, 2008 6:54 AM

Zenoss is not running on FreeBSD?

Hi all!
I installed Zenoss on FreeBSD 6.3 from scratch according to INSTALL_FreeBSD63.txt
I applied modification of $ZENOSS/bin/zenfunctions too
export LD_PRELOAD=/lib/libcrypto.so.4
(It solve problem with starting of several daemons, but not with zentrap).
When I start zenoss, all daemons starts with exeption zentrap. I get an error:
[zenoss@d4 /usr/local/zenoss/bin]$ ./zentrap  run -v10
Traceback (most recent call last):
  File "/usr/local/zenoss/Products/ZenEvents/zentrap.py", line 28, in ?
    from pynetsnmp import netsnmp, twistedsnmp
  File "usr/local/zenoss/lib/python/pynetsnmp/netsnmp.py", line 30, in ?
  File "/usr/local/zenoss/Products/ZenEvents/__init__.py", line 312, in __init__
OSError: /usr/local/lib/libnetsnmp.so: Undefined symbol "EVP_DigestInit"

In Forums I found, the problem is uncovered from February.
It’s pity. Zenoss is nice software.

Can anyone help?
Kind regards,

Jiri
  • Matt Ray Rank: Zen Master 2,484 posts since
    Apr 5, 2008
    Currently Being Moderated
    1. Aug 18, 2008 4:30 PM (in response to jim8)
    Zenoss is not running on FreeBSD?
    Did you see this thread? http://community.zenoss.com/forums/viewtopic.php?p=22103#22103
    That's the only reference I found to the "OSError: /usr/local/lib/
    libnetsnmp.so: Undefined symbol "EVP_DigestInit""

    Thanks,
    Matt Ray
    Zenoss Community Manager
    community.zenoss.com
    mray@zenoss.com



    On Aug 18, 2008, at 5:54 AM, jim8 wrote:

     

     

    Hi all!
    I installed Zenoss on FreeBSD 6.3 from scratch according to
    INSTALL_FreeBSD63.txt
    I applied modification of ZENOSS/bin/zenfunctions too
    export LD_PRELOAD=/lib/libcrypto.so.4
    (It solve problem with starting of several daemons, but not with
    zentrap).
    When I start zenoss, all daemons starts with exeption zentrap. I get
    an error:

    Code:
    [zenoss@d4 /usr/local/zenoss/bin] ./zentrap run -v10
    Traceback (most recent call last):
    File "/usr/local/zenoss/Products/ZenEvents/zentrap.py", line 28, in ?
    from pynetsnmp import netsnmp, twistedsnmp
    File "usr/local/zenoss/lib/python/pynetsnmp/netsnmp.py", line 30,
    in ?
    File "/usr/local/zenoss/Products/ZenEvents/__init__.py", line 312,
    in __init__
    OSError: /usr/local/lib/libnetsnmp.so: Undefined symbol
    "EVP_DigestInit"


    In Forums I found, the problem is uncovered from February.
    It’s pity. Zenoss is nice software.

    Can anyone help?
    Kind regards,

    Jiri







    _______________________________________________
    zenoss-users mailing list
    zenoss-users@zenoss.org
    http://lists.zenoss.org/mailman/listinfo/zenoss-users


    _______________________________________________
    zenoss-users mailing list
    zenoss-users@zenoss.org
    http://lists.zenoss.org/mailman/listinfo/zenoss-users
  • ecn Rank: Green Belt 306 posts since
    Feb 7, 2007
    Currently Being Moderated
    2. Aug 19, 2008 8:29 AM (in response to Matt Ray)
    RE: Zenoss is not running on FreeBSD?
    The problem you are still having with zentrap is probably due to the use of zensocket to open a privileged socket. The setuid nature of zensocket may be clearing the LD_PRELOAD setting, as it does clear the LD_LIBRARY_PATH on some platforms.

    pynetsnmp should be loading libcrypto for you and so the LD_PRELOAD should not be necessary. Take a look there to really fix the problem. If you get it working, send me patches and I'll get it into pynetsnmp.

    Thanks!

    -Eric
  • ecn Rank: Green Belt 306 posts since
    Feb 7, 2007
    Currently Being Moderated
    4. Aug 20, 2008 9:24 AM (in response to jim8)
    RE: Zenoss is not running on FreeBSD?
    in $ZENHOME/lib/python/pynetsnmp you will find netsnmp.py

    Neat the top of that file:

    
    try:
        # needed by newer netsnmp's
        crypto = CDLL(find_library('crypto'), RTLD_GLOBAL)
    except Exception:
        import warnings
        warnings.warn("Unable to load crypto library")
    


    Unset your LD_PRELOAD variable. Run python on this file. Verify you don't get a warning. If you get a warning, fix the find_library function above this code. If you don't get a warning, something else is going on. Perhaps there's a stray version of the crypto library installed.

    -Eric

More Like This

  • Retrieving data ...