Changes between Version 13 and Version 14 of Obsolete/Doc/Monitoring/Lemon


Ignore:
Timestamp:
Nov 22, 2007, 4:19:13 PM (18 years ago)
Author:
/C=IE/O=Grid-Ireland/OU=cs.tcd.ie/L=RA-TCD/CN=Stephen O. Childs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Obsolete/Doc/Monitoring/Lemon

    v13 v14  
    265265}}}
    266266
    267 N.B. at this point I got the following error:
     267Make sure that the version of the cx_oracle package you get is compiled against the same version of Oracle you've installed. For Oracle 10g you can use cx_Oracle-4.3-10g-py24-1.i386.rpm available via rpmfind. If you install the wrong version of cx_oracle you may get errors like this:
     268
    268269{{{
    269270unable to import Oracle API:  libclntsh.so.9.0: cannot open shared object file: No such file or directory
    270 }}}
    271 
    272 The client I had installed was too new:
    273 {{{
    274 # rpm -ql oracle-xe-client-10.2.0.1-1.0.i386|grep libclntsh
    275 /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib/libclntsh.so
    276 /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib/libclntsh.so.10.1
    277 }}}
    278 
    279 However when I created an appropriately-named link and reran ldconfig everything was OK.
    280 {{{
    281 # cd /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib/
    282 # ln -s  libclntsh.so.10.1 libclntsh.so.9.0 [root@cagraidsvr23 lib]#
    283 # ldconfig
    284271}}}
    285272
     
    298285/etc/init.d/lemonmrd start
    299286}}}
    300 
    301 The Oracle version problem mentioned above also caused problems for lemonmrd. I had this in /var/log/lemonmrd.log:
    302 {{{
    303 Nov 21 16:42:52 2007: *** START ***
    304 Nov 21 16:42:52 2007: Using /etc/lemon/lemonmrd.conf as a config file.
    305 Nov 21 16:42:52 2007: No callbacks defined.
    306 Nov 21 16:42:52 2007: No information about cluter groups in the config file
    307 Nov 21 16:42:52 2007: Started daemon as pid: 5106
    308 Nov 21 16:42:52 2007: unable to import Oracle API:
    309 Nov 21 16:42:52 2007: 
    310 Nov 21 16:42:52 2007: libclntsh.so.9.0: cannot open shared object file: No such
    311 file or directory
    312 Nov 21 16:42:52 2007:
    313 
    314 Nov 21 16:42:52 2007: Unable to setup Oracle DataSource. Check your Oracle envir
    315 onment setup.
    316 }}}
    317 
    318 I fixed this by changing the setting of ORACLE_HOME in /etc/init.d/lemonmrd.conf:
    319 {{{
    320 ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/client
    321 }}}
    322 
    323287
    324288=== OracleXE + LRF only ===