why on ubuntu 14.10 every time that i try to start the postgres on:
sudo -p 'sudo password: ' -u postgres /usr/lib/postgresql/9.4/bin/initdb -D /mnt/postgresql/9.4/data
could not change directory to "/root": Permission denied The files belonging to this database system will be owned by user "postgres". This user must also own the server process.
initdb: invalid locale settings; check LANG and LC_* environment variables