Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: PER DBI gives selectrow_array error

by Anonymous Monk
on Jan 11, 2013 at 09:56 UTC ( #1012851=note: print w/ replies, xml ) Need Help??

in reply to PER DBI gives selectrow_array error

I'm guessing you are failing to connect to the server, and as such the DBI object stays undef. You did remember to die when connecting, didn't you?

Comment on Re: PER DBI gives selectrow_array error
Replies are listed 'Best First'.
Re^2: PER DBI gives selectrow_array error
by tellblom (Initiate) on Jan 11, 2013 at 11:54 UTC
    Its a nagios check from the beginning and it seems like it works all over the World. Its just with this server. Could it be a timeout error?


      It could be a timeout error, a firewall error, database driver configuration error, or many other things. If you check your opens and prepare statements for errors and print the error message(s), you'll narrow things down a good bit.


      When your only tool is a hammer, all problems look like your thumb.

      Can you connect to the service on this problematic target server using another tool on the server on which the script is failing? Have you enabled error checking/debugging/tracing to find out what's failing?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012851]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2015-11-26 00:12 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (693 votes), past polls