0

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.

  • 1
    have you checked the logs ? – topdog Jul 17 '10 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 Jul 17 '10 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 Jul 17 '10 at 12:07
  • 1
    check /var/log/postgresql/postgresql-8.4-main.log – topdog Jul 17 '10 at 12:17
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.