LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] ldirectord and oracle

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] ldirectord and oracle
From: Tim Pretlove <T.Pretlove@xxxxxxxxxxxxxxx>
Date: Mon, 07 Jun 2010 11:53:56 +0100
I seem to be having a few problems with ldirectord and oracle.

The string that is sent to check_sql function seems to be unpopulated

3067 --- return check_sql(@_, "Oracle", "");
3067 +++ return check_sql(@_, "Oracle", "sid");

Oracle seems to return a zero value from rows unless a fetchrow 
statement is called first, causing the test to fail.

3107     unless ($sth->rows) {


Regards

Tim




-- 
  ____________________________________
(                                    )
( Tim Pretlove                       )
( Computing Services                 )
( The University of Liverpool        )
( Computer Laboratory, Brownlow Hill )
( Liverpool, L69 3BX                 )
( Email: t.pretlove@xxxxxxxxxxxxxxx  )
(                                    )
  ------------------------------------
        o   ,__,
         o  (00)____
            (__)    )\
               ||--|| *

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>