Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2018-06-20 15:53 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (116 votes). Check out past polls.