Changes between Version 13 and Version 14 of Obsolete/Doc/Monitoring/Lemon
- Timestamp:
- Nov 22, 2007, 4:19:13 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Obsolete/Doc/Monitoring/Lemon
v13 v14 265 265 }}} 266 266 267 N.B. at this point I got the following error: 267 Make 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 268 269 {{{ 269 270 unable 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 libclntsh275 /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib/libclntsh.so276 /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib/libclntsh.so.10.1277 }}}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 # ldconfig284 271 }}} 285 272 … … 298 285 /etc/init.d/lemonmrd start 299 286 }}} 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 file307 Nov 21 16:42:52 2007: Started daemon as pid: 5106308 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 such311 file or directory312 Nov 21 16:42:52 2007:313 314 Nov 21 16:42:52 2007: Unable to setup Oracle DataSource. Check your Oracle envir315 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/client321 }}}322 323 287 324 288 === OracleXE + LRF only ===