Re: Eliminating start error message: "unary operator

From: Hubert Lubaczewski <hubert(dot)lubaczewski(at)eo(dot)pl>
To: Carlos <Carlos(at)pbsinet(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Eliminating start error message: "unary operator
Date: 2003-06-24 06:50:38
Message-ID: 20030624085038.6825f467.hubert.lubaczewski@eo.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 23 Jun 2003 15:16:28 -0400
Carlos <Carlos(at)pbsinet(dot)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

--

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Reuven M. Lerner 2003-06-24 06:56:19 Re: Many Pl/PgSQL parameters -> AllocSetAlloc(128)?
Previous Message Richard Huxton 2003-06-24 06:43:57 Re: different datatypes in index scan join