monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error when starting Monit.


From: Martin Pala
Subject: Re: Error when starting Monit.
Date: Tue, 9 Oct 2007 22:27:07 +0200

That's because linker cannot find it - it is configured by "crle" or LD_LIBRARY_PATH environment variable - not PATH. See crle or ld manual.

To check the dependencies you can use "file /path/to/monit"

Martin


On Oct 9, 2007, at 11:12 AM, Mia Mota wrote:

 I decided to install the version 4.8.2 and I have a little issue;

address@hidden:/usr/local/ssl$ echo $PATH
/usr/local/ssl/lib:/usr/sbin:/usr/bin:/sbin:/bin:/usr/ucb:/usr/ccs/ bin:/usr/ccs/lib:/usr/include:/usr/sfw/bin:/usr/local/bin:/us in/bin:/opt/VRTS/bin:/opt/VRTSvfxs/sbin:/opt/VRTSob/bin:/opt/ VRTSvcs/bin:/etc/vx/bin
address@hidden:/usr/local/ssl$monit -d 300
ld.so.1: monit: fatal: libssl.so.0.9.7: open failed: No such file or directory
Killed

only thing is, I have the libssl.so.0.9.7 in /usr/local/ssl/lib thus;

address@hidden:/usr/local/ssl/lib$ls -l libss*
-rw-r--r--   1 bin      bin       265594 May  2  2005 libssl.a
lrwxrwxrwx 1 root root 11 Oct 4 15:51 libssl.so -> libssl.so.0 lrwxrwxrwx 1 root root 15 Oct 4 15:51 libssl.so.0 - > libssl.so.0.9.7
-r-xr-xr-x   1 bin      bin       213808 May  2  2005 libssl.so.0.9.7

I am not sure what is going on, because it is there... I am still working on why this is not doing what it should do...

Thanks,

Mia


Martin Pala <address@hidden> wrote:
... or use lex instead of flex (64-bit lex libraries are part of
solaris distribution)

Martin

On Oct 8, 2007, at 9:52 PM, Martin Pala wrote:

> This is because you have 64-bit monit binary but 32-bit shared
> library. You will need to either provide 64-bit libfl or recompile
> monit with 32-bit support only.
>
> For example of setting the linker for 64-bit libraries see http://
> www.tildeslash.com/monit/dist/binary/solaris/INSTALL.
>
> Martin
>
>
>
> On Oct 8, 2007, at 4:47 PM, Mia Mota wrote:
>
>> Hi, I am new to Monit and I get this error when configuring Monit;
>>
>> address@hidden:/usr/sfw/lib/gcc/i386-pc-solaris2.10$monit
>> ld.so.1: monit: fatal: /usr/sfw/lib/libfl-2.5.4.so.0: wrong ELF
>> class: ELFCLASS32
>> Killed
>>
>> Here is my PATH;
>>
>> address@hidden:/usr/sfw/lib/gcc/i386-pc-solaris2.10$echo $PATH
>> /usr/sbin:/usr/bin:/sbin:/bin:/usr/ucb:/usr/ccs/bin:/usr/ccs/lib:/
>> usr/include:/usr/sfw/bin:/usr/local/bin:/usr/openwin
>> n:/opt/VRTSvfxs/sbin:/opt/VRTSob/bin:/opt/VRTSvcs/bin:/etc/vx/bin
>>
>> Here is the location of the file it is moaning about;
>>
>> address@hidden:/usr/sfw/lib$ls -l /usr/sfw/lib/libfl-2.5.4.so.0
>> -r-xr-xr-x 1 root bin 4148 Jan 23 2005 /usr/sfw/lib/
>> libfl-2.5.4.so.0
>>
>> Is there anything i should be looking at?? The command I am
>> issuing is "monit -d 300" and that is when I get the error?? I
>> have a feeling that something is missing but I am not sure what it
>> is??
>>
>> Thanks for your help in advance....
>>
>> Mia
>>
>>
>>
>>
>> Shape Yahoo! in your own image. Join our Network Research Panel
>> today!
>> --
>> To unsubscribe:
>> http://lists.nongnu.org/mailman/listinfo/monit-general
>
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general


Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general





reply via email to

[Prev in Thread] Current Thread [Next in Thread]