pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Restoring original perl
2+ messages / 2 participants
[nested] [flat]

* Restoring original perl
@ 2003-03-13 16:15  David <david@classichosting.co.uk>
  0 siblings, 1 reply; 2+ messages in thread

From: David @ 2003-03-13 16:15 UTC (permalink / raw)
  To: pgsql-admin

Hi all,
Can anyone help me here? I installed perl 5.6.1 on a RaQ3 (with cobalt
libs) but GUI fails - PostgreSQL failed. Must have done something wrong.

I have tried to roll back to the original version of perl by doing this

Re-made the hard link in /usr/bin by:
ln -f perl5.00503 perl

The /usr/lib/perl5 now contains
drwxr-xr-x   29 root     root         2048 Mar  7 12:24 5.00503
drwxr-xr-x    3 root     root         1024 Mar  7 12:24 man
drwxr-xr-x    3 root     root         1024 Mar  7 12:24 site_perl

These are the original sub dirs complete with the cobalt bits.

However on a reboot there are still no sites showing and postreSQL is
not running, even on a manual restart. It reports:
# /etc/rc.d/init.d/postgresql start
Setting up PostgreSQL: FATAL: StreamServerPort: bind() failed:
Permission denied
        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

Perl -v reports correctly as does Perl -V, c/w correct @INC paths
  @INC:
    /usr/lib/perl5/5.00503/i386-linux
    /usr/lib/perl5/5.00503
    /usr/lib/perl5/site_perl/5.005/i386-linux
    /usr/lib/perl5/site_perl/5.005

BTW mySQL also doesn't work so I have one db driven site down.

Is there any where else I need to look? Please?

Regards,
_________________

David Craig
_________________




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Restoring original perl
@ 2003-03-13 17:48  Tom Lane <tgl@sss.pgh.pa.us>
  parent: David <david@classichosting.co.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2003-03-13 17:48 UTC (permalink / raw)
  To: david@classichosting.co.uk; +Cc: pgsql-admin

"David" <david@classichosting.co.uk> writes:
> # /etc/rc.d/init.d/postgresql start
> Setting up PostgreSQL: FATAL: StreamServerPort: bind() failed:
> Permission denied
>         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

So why are you getting "permission denied"?  /tmp not world-writable,
perhaps?  Did you follow the error message's advice to check for and
remove a conflicting socket file?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-03-13 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-03-13 16:15 Restoring original perl David <david@classichosting.co.uk>
2003-03-13 17:48 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox