[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] My GUI is buggered -- further researches



> meta-verify-raq3 -u -a give mes:
>
>  checking system+database coherency...
>  Can't call method "exec" on an undefined value at
>  /usr/lib/perl5/site_perl/5.005
>  /Cobalt/Meta.pm line 1056.
>
> A quick read of Meta.pm reveals:
>
> The database handle $dbc is opened on line 386
> It fails to return a value on line 1056
>
> Ironically, there appears to be all sorts of checking to find out whether
> the handle is valid, such as:
>
>     unless ($dbc->status eq PGRES_CONNECTION_OK)
>     {
>  warn "META connect - FAIL: " . $dbc->errorMessage . "\n" if ($METABUG);
>  return;
>     }
>
>
> starting at line 391, but nothing is reported until line 1056
>
> ps aef | grep postgres returns nothing. This tells me the postgres daemon
is
> dead.
>
> I know no postgres. Does anyone here know a command to try and start the
> thang?


_______________________________________
further researches reveal:

When I try to:

/etc/rc.d/init.d/postgresql start

I get:

Setting up PostgreSQL: FATAL: StreamServerPort: bind() failed: No such file
or d
irectory
        Is another postmaster already running on that port?
        If not, remove socket node (/tmp/.s.PGSQL.5583) and retry.
/usr/bin/postmaster: cannot create UNIX stream port


And when I remove /home/tmp/.s.PGSQL.5583 and try again, I get the same
message again