On Mon, 25 Aug 2003, Steve Santacroce wrote:
Sorry, forgot to write that. It was in the line. The wierd thing is that I
can type:
/usr/local/bin/pg_ctl -D /pgdata -l /var/log/pgsql start
and it will start, but if I use:
su -l pgsql -c exec /usr/local/bin/pg_ctl -D /pgdata -l /var/log/pgsql
Steve Santacroce [EMAIL PROTECTED] writes:
/usr/local/bin/pg_ctl -D /pgdata -l /var/log/pgsql
and nothing, postmaster still doesn't start!
You forgot the start keyword. I'm surprised pg_ctl fails to complain...
regards, tom lane
---(end of
Steve Santacroce writes:
chmod 600 ${logfile}
chown pgsql:pgsql ${logfile}
[ -x ${PGBIN}/pg_ctl ] {
su -l pgsql -c \
[ -d \${PGDATA} ] exec ${PREFIX}/bin/pg_ctl start -s -w -l
${logfile}
echo -n ' pgsql'
No errors, no messages, nothing. Then I
chmod 600 ${logfile}
chown pgsql:pgsql ${logfile}
[ -x ${PGBIN}/pg_ctl ] {
su -l pgsql -c \
[ -d \${PGDATA} ] exec ${PREFIX}/bin/pg_ctl
start -s -w -l
${logfile}
echo -n ' pgsql'
No errors, no messages, nothing. Then I tried to start
I have had a lot of problems trying to install the postgres on a second
FreeBSD box. I installed it using the ports install, so that part of the
process went painlessly. however, when I tried to run the .sh script file
that was installed, I get nothing. The script's commands are:
chmod 600