Hi Thomas,
tgs wrote:this is not working:
ROCLASI wrote:sudo - su postgres /opt/PostgreSQL/9.2/bin/initdb --username=yourUserName -W --encoding=UTF8 -D /opt/PostgreSQL/9.2/data/
I have set the PostgreSQL username as "yourUserName". Is it right?]
No, that was actually a placeholder for your real username. Usually it's
postgres although Servoy uses
dba as superuser in the bundled version. But you can pick your own when you create the cluster.
tgs wrote:That is the output:
- Code: Select all
/opt/PostgreSQL/9.3/bin/postgres: error while loading shared libraries: libsasl2.so.2: cannot open shared object file: No such file or directory
no data was returned by command ""/opt/PostgreSQL/9.3/bin/postgres" -V"
The program "postgres" is needed by initdb but was not found in the
same directory as "/opt/PostgreSQL/9.3/bin/initdb".
Check your installation.
Looks like not all dependencies are installed.
I guess for Debian you better use the debian packages. See
http://www.postgresql.org/download/linux/debian/. Or install the required dependencies yourself.
Hope this helps.