initdb missing in /usr/bin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-8.4 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: postgresql-8.4
I wanted to initiate a new database using
<b>initdb -D /newdir</b>
The prompt would always tell me it could not find the command. After a while (a day or two; I'm not an expert) I realised that most probably the reason would be that the initdb was just missing from my /usr/bin folder. I just added a
<b>ln -s /usr/bin/initdb /usr/lib/
This may sound dumb, but I guess it could happen to anyone. I just wonder why the command wasn't available from the beginning. May be there is a "for the greater good" explanation. Hopes this helps.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: postgresql-8.4 8.4.5-0ubuntu10.04
ProcVersionSign
Uname: Linux 2.6.32-25-generic i686
Architecture: i386
Date: Sat Oct 9 23:05:33 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
ProcEnviron:
LANG=es_MX.utf8
SHELL=/bin/bash
SourcePackage: postgresql-8.4
sorry, this is a edit: postgresql/ 8.4/bin/ initdb /usr/bin/initdb
ln -s /usr/lib/
instead of the above