By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,853 Members | 2,246 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,853 IT Pros & Developers. It's quick & easy.

Postgres8.1 Database Server could not be started

shahjapan
P: 63
Hi,

I have installed postgres 8.1 server on UIBUNTU

/etc/init.d/postgresql-8.1 start

but when I tried to start it, it gives following error.

Starting PostgreSQL 8.1 database server: main* Insecure directory in $ENV {PATH} while running with - T switch At /usr/bin/pg_ctlcluster line 52.
Jul 7 '07 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 534
First make sure that system directories (/usr/local/bin/, /bin, /usr/bin, etc) have safe permissions.

If they look alright then this could be a UIBUNTU overzealous approach to determining what could be considered a tainted (insecure) data.
Try to replace -T with -t in /usr/bin/pg_ctlcluster around line 52
Jul 7 '07 #2

shahjapan
P: 63
Thanks,


My Problem is solved, I have unlink the pgdata folder and created a new databse using initdb command then started the postgres server, solved my problem.

First make sure that system directories (/usr/local/bin/, /bin, /usr/bin, etc) have safe permissions.

If they look alright then this could be a UIBUNTU overzealous approach to determining what could be considered a tainted (insecure) data.
Try to replace -T with -t in /usr/bin/pg_ctlcluster around line 52
Jul 17 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.