Thread: Re: Eliminating start error message: "unary operator

Re: Eliminating start error message: "unary operator

From
"Carlos Oliva"
Date:
Postgresql was installed from RPMS, downloaded from the following url:
ftp://ftp5.us.postgresql.org/pub/PostgreSQL/binary/v7.3.2/RPMS/redhat-7.
3/
The startup script was created when the rpms were installed.


-----Original Message-----
From: pgsql-general-owner@postgresql.org
[mailto:pgsql-general-owner@postgresql.org] On Behalf Of scott.marlowe
Sent: Monday, June 23, 2003 3:35 PM
To: Carlos
Cc: 'pgsql-general@postgresql.org'
Subject: Re: [GENERAL] Eliminating start error message: "unary operator


On Mon, 23 Jun 2003, Carlos wrote:

> Hi Forum,
> What should I correct in order to eliminate the following error
> message on
> start:
> Executing /etc/rc.d/init.d/postgresql start ..
> Starting postgresql service: -sh: [: ==: unary operator expected
> [  OK  ]
>
> We installed a v7.3.2 and PostgreSQL seems to be running very well but

> we want to get rid of this message.

How did you install postgresql (rpms, source code) and where did the
startup script come from?


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html


Re: Eliminating start error message: "unary operator

From
"scott.marlowe"
Date:
Could you post a copy of the /etc/rc.d/init.d/postgresql file here?  It
may have gotten corrupted or have a simple syntax error in it.

On Mon, 23 Jun 2003, Carlos Oliva wrote:

> Postgresql was installed from RPMS, downloaded from the following url:
> ftp://ftp5.us.postgresql.org/pub/PostgreSQL/binary/v7.3.2/RPMS/redhat-7.
> 3/
> The startup script was created when the rpms were installed.
>
>
> -----Original Message-----
> From: pgsql-general-owner@postgresql.org
> [mailto:pgsql-general-owner@postgresql.org] On Behalf Of scott.marlowe
> Sent: Monday, June 23, 2003 3:35 PM
> To: Carlos
> Cc: 'pgsql-general@postgresql.org'
> Subject: Re: [GENERAL] Eliminating start error message: "unary operator
>
>
> On Mon, 23 Jun 2003, Carlos wrote:
>
> > Hi Forum,
> > What should I correct in order to eliminate the following error
> > message on
> > start:
> > Executing /etc/rc.d/init.d/postgresql start ..
> > Starting postgresql service: -sh: [: ==: unary operator expected
> > [  OK  ]
> >
> > We installed a v7.3.2 and PostgreSQL seems to be running very well but
>
> > we want to get rid of this message.
>
> How did you install postgresql (rpms, source code) and where did the
> startup script come from?
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>