I installed postgresql through Ubuntu software center, but ps -e|grep post
giving nothing. and sudo /etc/init.d/postgresql-8.4 start
gives nothing. What may be wrong with me? I am using 64 bit 10.4.
- 1have you checked the logs ?topdog– topdog2010-07-17 10:43:07 +00:00Commented Jul 17, 2010 at 10:43
- grep postg syslog GIVES>> Jul 17 15:54:57 ofcnam-desktop AptDaemon: INFO: InstallPackages() was called: dbus.Array([dbus.String(u'postgresql')], signature=dbus.Signature('s'))Kumar– Kumar2010-07-17 11:44:51 +00:00Commented Jul 17, 2010 at 11:44
- checked all /var/log files nothing at the sudo /etc/init.d/postgresql-8.4 start time.no files at /var/log/postgresql/Kumar– Kumar2010-07-17 12:07:39 +00:00Commented Jul 17, 2010 at 12:07
- 1check /var/log/postgresql/postgresql-8.4-main.logtopdog– topdog2010-07-17 12:17:38 +00:00Commented Jul 17, 2010 at 12:17
Add a comment |
1 Answer
we have to run initdb -D /usr/local/pgsql/data
for the first time. oh my God... I wasted one full day to find this!!! what a shame.