Re: Eliminating start error message: "unary operator - Mailing list pgsql-general

From Hubert Lubaczewski
Subject Re: Eliminating start error message: "unary operator
Date
Msg-id 20030624085038.6825f467.hubert.lubaczewski@eo.pl
Whole thread Raw
In response to Eliminating start error message: "unary operator expected"  (Carlos <Carlos@pbsinet.com>)
List pgsql-general
On Mon, 23 Jun 2003 15:16:28 -0400
Carlos <Carlos@pbsinet.com> wrote:

> start:
> Executing /etc/rc.d/init.d/postgresql start ..
> Starting postgresql service: -sh: [: ==: unary operator expected
> [  OK  ]

do:
ls -l /bin/sh

it is supposed to be a symlink pointing fo /bin/bash
if it's not, check if you do have /bin/bash and do:
1. change symlink /bin/sh to point to /bin/bash
or
2. change startup script to use bash instead.

that should help.

depesz

--

pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: Many Pl/PgSQL parameters -> AllocSetAlloc(128)?
Next
From: "Reuven M. Lerner"
Date:
Subject: Re: Many Pl/PgSQL parameters -> AllocSetAlloc(128)?