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

Re: DBI error ... forty-eight

by Cody Fendant (Friar)
on Jul 29, 2011 at 22:51 UTC ( #917565=note: print w/replies, xml ) Need Help??

in reply to DBI error ... forty-eight

UPDATE: I'm now being told by an administrator that the code is really a TCP/socket type error: "Address already in use" (EADDRINUSE) and not a MySQL error at all.

Replies are listed 'Best First'.
Re^2: DBI error ... forty-eight
by Khen1950fx (Canon) on Jul 30, 2011 at 21:46 UTC
    EADDRINUSE on Linux is 98, but, on Windows Winsock, it's 10048---WSAEADDRINUSE. I still think that 48 is ELNRNG--link number out of range.
      So, what does "link number out of range" mean then?
        In a nutshell: Sparse file.

        After you read that, try this script to check whether a file is sparse or is not sparse:

        #!/usr/bin/perl use strict; use warnings; my $file = shift @ARGV; my(@status) = stat $file; print "\n"; if ( $status[7] > ($status[12] * 512) ) { print "$file is sparse\n\n"; } else { print "$file does not appear to be sparse\n"; } system("du -hS --apparent-size $file"); system("du -hS $file"); print "\n";
        The apparent-size file will usually be lt than the actual-size. If the apparent-size is gt the actual-size, that might be a sign that something's wrong.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://917565]
[LanX]: Maße and Masse are two very different words.
LanX (measures/mass)
[Tanktalus]: choroba: thanks, not sure why it wasn't doing that for me, but will try to figure it out. :)
[LanX]: can I copy a authotification cookie from mozilla and reuse it in LWP::Useragent?
[LanX]: nevermind
Tanktalus is at work, ssh'd home, using his cbstats bridge to talk on perlmonks CB. :)
[Tanktalus]: anyway, next is to figure out how to get postgres to agree that these are the same :)

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2018-03-21 15:53 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (269 votes). Check out past polls.