Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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
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?

      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?

      tellblom:

      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.

      ...roboticus

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (13)
As of 2014-09-18 20:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (124 votes), past polls