Re: Dynamically Linked Library Problem (maybe)

From: Igor Pokrovsky (ip_at_doom.homeunix.org)
Date: 03/01/05

  • Next message: Lars Erik Gullerud: "Re: ng_fec and cisco 2931"
    Date: Tue, 1 Mar 2005 22:46:29 +0300
    To: Cole <cole@opteqint.net>
    
    

    On Mon, Feb 28, 2005 at 11:48:14PM +0200, Cole wrote:
    > Hey.
    >
    > I have a Freebsd server running freebsd-4.9-stable.
    > I cvsupped the ntop src last week for 3.1.1.
    >
    > I then had no problems what so ever building ntop, except for the xml plugin saying it was not built, cause it cannot find
    > xmlversion.h, even though I have libxml installed, and specified the right paths to the .h. But that is not the problem.
    > Ntop runs and works fine on this box, not a single problem that I can see.
    >
    > The problem is that, I have a few other servers, that I want to copy ntop too, but dont want to build it on all those boxes. I
    > created a tar with all the ntop binaries, as well as all the libraries that its linked too, as well as all the plugins that ntop
    > uses from both the /usr/local/lib directory as well as the plugins from the /usr/local/lib/ntop/plugins directory. I rebuilt all the
    > symbolic links for all the libraries and plugins and all the files that ntop was linked too. I have also checked all the permissions
    > on all the files and they are all the same.
    >
    > One other thing, the boxes that I am copying ntop to, are almost exact duplicates of the first box that I built ntop on, and where
    > it works fine.
    >
    > The problem is, when running ntop on the boxes that I copied it to, after checking all the permissions and links and everything, I
    > get these errors with regards to the plugins.
    >
    > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/icmpPlugin.so' entry function [Invalid
    > shared object handle 0x29a14000]
    > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/snmpPlugin.so' entry function [Invalid
    > shared object handle 0x29a16400]
    > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/sflowPlugin.so' entry function [Invalid
    > shared object handle 0x29a19800]
    > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/rrdPlugin.so' entry function [Invalid
    > shared object handle 0x29a1bc00]
    > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/pdaPlugin.so' entry function [Invalid
    > shared object handle 0x2bcae400]
    > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/netflowPlugin.so' entry function [Invalid
    > shared object handle 0x2d862800]
    > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/lastSeenPlugin.so' entry function
    > [Invalid shared object handle 0x2d866c00]
    > Tue Mar 1 05:37:16 2005 **WARNING** Unable to locate plugin '/usr/local/lib/ntop/plugins/xmldumpPlugin.so' entry function [Invalid
    > shared object handle 0x2f697000]
    >
    > I have absolutely no idea how this has happened, and I have had this problem before, and not a single other person was able to help
    > me in any regards what so ever. I was hoping maybe someone would at least know what this error even means, so that I have some idea
    > of what I am meant to be doing to fix this.
    >
    > If anyone has any idea, I would gladly apprecaite any suggestions.

    It seems to me error messages mean one thing - those plugins were corrupted
    in some way. It is also not clear from your message - are you using net/ntop
    from ports tree or you are building it from sources manually?
    In case of problems when building from a port you'd better ping port maintainer.

    -ip

    -- 
    You are never given enough time or money.
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
    

  • Next message: Lars Erik Gullerud: "Re: ng_fec and cisco 2931"

    Relevant Pages

    • Re: Dynamically Linked Library Problem (maybe)
      ... > I cvsupped the ntop src last week for 3.1.1. ... > symbolic links for all the libraries and plugins and all the files that ntop was linked too. ... > shared object handle 0x29a14000] ... In case of problems when building from a port you'd better ping port maintainer. ...
      (freebsd-hackers)
    • Dynamically Linked Library Problem (maybe)
      ... I have a Freebsd server running freebsd-4.9-stable. ... I cvsupped the ntop src last week for 3.1.1. ... symbolic links for all the libraries and plugins and all the files that ntop was linked too. ... shared object handle 0x29a14000] ...
      (freebsd-hackers)
    • Dynamically Linked Library Problem (maybe)
      ... I have a Freebsd server running freebsd-4.9-stable. ... I cvsupped the ntop src last week for 3.1.1. ... symbolic links for all the libraries and plugins and all the files that ntop was linked too. ... shared object handle 0x29a14000] ...
      (freebsd-net)
    • Re: monitoring IP traffic
      ... I use a second netword card in that machine which has no ip address ... It is cabled to a port on my main network ... Using ntop running in ... Sun Aug 21 09:23:27 2005 Initializing gdbm databases ...
      (Fedora)
    • ntop question
      ... I installed ntop 3.0 from the ports. ... does not create a daemon, ... ntop starts a connection to 131.114.21.22 on port 80. ... making a connection to that ip it appears its the website of Luca Deri ...
      (freebsd-questions)