Jasperserver on Ubuntu, postgres will not start
Posted on December 6, 2013 at 2:34am
I've installed jasperserver on a Linux system with Ubuntu 12.04(64 bits on the root account). Jasperserver is installed with bundled Tomcat and Postgres.
When starting the jasperserver ./ctlscript.sh start the following message/error apears(Postgres will not start):
[: Illegal number: UID=0
"root" execution of the PostgreSQL server is not permitted.
The server must be started under an unprivileged user ID to prevent
possible system security compromise. See the documentation for
more information on how to properly start the server.
/opt/jasperreports-server-cp-5.5.0/postgresql/scripts/ctl.sh : postgresql could not be started