Skip site navigation (1) Skip section navigation (2)

More Solaris Woes

From: ocie(at)paracel(dot)com
To: hackers(at)postgresql(dot)org
Subject: More Solaris Woes
Date: 1998-03-25 23:29:57
Message-ID: 9803252329.AA16962@dolomite.paracel.com (view raw or flat)
Thread:
Lists: pgsql-hackers
I have been able to build postgres under Solaris, and even run the
initdb program, but when I try to start the postmaster, I get the
following:

FATAL: StreamServerPort: setsockopt (SO_REUSEADDR) failed: errno=71
postmaster: cannot create UNIX stream port

Errno 71 is EPROTO (Protocol error).  This is coming from the
StreamServerPort function in src/backend/libpq/pqcomm.c:

        if ((setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (char *) &one,
                                        sizeof(one))) == -1)
        {
                sprintf(PQerrormsg,
                                "FATAL: StreamServerPort: setsockopt (SO_REUSEAD
DR) failed: errno=%d\n",
                                errno);
                fputs(PQerrormsg, stderr);
                pqdebug("%s", PQerrormsg);
                return (STATUS_ERROR);
        }


Any ideas what might be going on?

Ocie

pgsql-hackers by date

Next:From: Stephane LajeunesseDate: 1998-03-26 01:25:00
Subject: Re: [HACKERS] Re: PostgreSQL reference manual (groups)
Previous:From: ocieDate: 1998-03-25 23:02:55
Subject: string.h and strings.h in ecpg

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group