Postgresql won't start after installation because "TCP/IP connections must be enabled for SSL"
Bug #33996 reported by
Johannes Thoma
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Invalid
|
Medium
|
Unassigned | ||
postgresql (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Hello,
I just installed postgresql, when starting up it complains as follows:
johannes@karin:~$ sudo /etc/init.
Password:
* Starting PostgreSQL 7.4 database server: main The PostgreSQL server failed to start. Please check the log output:
/usr/lib/
Is this a known bug? Is there any work-around? (maybe there is a dependency missing?)
I use Ubuntu 5.10 and installed with Synaptic.
Thanks
- Johannes
To post a comment you must log in.
I found how to fix this:
edit the postgres.conf file for the 7.4 version:
sudo vi /etc/postgresql /7.4/main/ postgresql. conf
and change the line 30 which is as follows:
# tcpip_socket = false
to:
tcpip_socket = true
then it works. This should be easy to fix for the next ubuntu release (or update).
best wishes
- Johannes