Thanks Jesse.

I saw that some RPMs existed, but they where for 3.0.7, and was hoping  
to use the latest stable, to be as current as possible.  If you have a  
link for the most current RPMs I will try them.

here is the output of the two commands from below:
[jmartyn...@solr1 ~]$ ldd `which gmond`
        linux-gate.so.1 =>  (0x00850000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x008c6000)
        libganglia-3.1.2.so.0 => /usr/lib/libganglia-3.1.2.so.0 (0x0038d000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00704000)
        libexpat.so.0 => /lib/libexpat.so.0 (0x00d22000)
        libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0x00152000)
        libdl.so.2 => /lib/libdl.so.2 (0x00ad8000)
        libpthread.so.0 => /lib/i686/nosegneg/libpthread.so.0 (0x00ade000)
        libc.so.6 => /lib/i686/nosegneg/libc.so.6 (0x00965000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x06d59000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x06fce000)
        /lib/ld-linux.so.2 (0x00947000)
[jmartyn...@solr1 ~]$ ls -l /usr/lib/libganglia*
lrwxrwxrwx 1 root root     25 Nov 11 22:19 /usr/lib/ 
libganglia-3.1.2.so.0 -> libganglia-3.1.2.so.0.0.0
-rwxr-xr-x 1 root root 284757 Nov 11 22:19 /usr/lib/ 
libganglia-3.1.2.so.0.0.0
-rw-r--r-- 1 root root 248718 Nov 11 22:19 /usr/lib/libganglia.a
-rwxr-xr-x 1 root root    898 Nov 11 22:19 /usr/lib/libganglia.la
lrwxrwxrwx 1 root root     25 Nov 11 22:19 /usr/lib/libganglia.so ->  
libganglia-3.1.2.so.0.0.0


-John



On Nov 12, 2009, at 10:21 AM, Jesse Becker wrote:

> On Thu, Nov 12, 2009 at 08:12, John Martyniak
> <[email protected]> wrote:
>> Hi,
>>
>> Extremely new user, just trying to get Ganglia running on a CentOS 5
>> install.
>
> For CentOS systems, the best way is probably using the released RPMs.
>
>>
>> Followed the install procedures at 
>> (http://www.ibm.com/developerworks/linux/library/l-ganglia-nagios-1/index.html
>> ), and receive the following error:
>> gmond: error while loading shared libraries: /usr/lib/
>> libganglia-3.1.2.so.0: cannot restore segment prot after reloc:
>> Permission denied
>>
>> when I try and run gmond -t part.
>
> What is the output of these two commands:
>    ldd `which gmond`
>    ls -l /usr/lib/libganglia*
>
>
>
>>
>> First off is that the best way to install Ganglia?  Is there a better
>> way? Better instructions?  I checked the documentation on ganglia.org
>> and the wiki links are broken, so couldn't get any install
>> instructions there.
>
> I believe that is being worked on.  A recent change by the sf.net
> admins screwed up a bunch of our documentation.
>
> That said, and as I mentioned above, the RPM packages should work just
> fine on CentOS.  If they don't, we'd like to hear about it so we can
> fix them.
>
>> Second what does the error mean, I googled it and no results, I ran  
>> it
>> as root, but also tried with other users and the same result.
>
> The error means that gmond is trying to load a shared library
> (libganglia-3.1.2.so.0), and is failing for some reason.
>
> -- 
> Jesse Becker


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to