PostgreSQL fail to install
FLasH3r opened this issue · 2 comments
unable to create symlinks
Fresh install of CentOS 7 minimal
ln -s /usr/pgsql-9.3/bin/pg_dump /usr/bin/pg_dump
ln -s /usr/pgsql-9.3/bin/pg_restore /usr/bin/pg_restore
ln -s /usr/pgsql-9.3/bin/psql /usr/bin/psql
Error:
ln: failed to create symbolic link ‘/usr/bin/pg_dump’: File exists
ln: failed to create symbolic link ‘/usr/bin/pg_restore’: File exists
ln: failed to create symbolic link ‘/usr/bin/psql’: File exists
Then this won't work:
mv /etc/init.d/{postgresql-9.3,postgresql}
Error:
mv: cannot stat ‘/etc/init.d/postgresql-9.3’: No such file or directory
Am I missing something ?
removing and re-installing works without a problem.
Seems you are following the CentOS 6 guide. There is a pending request for CentOS 7 though.
Oh, I didn't think on looking @ the pending request, will try it instead of the CentOS 6 guide.