Results 1 to 2 of 2

Thread: Can't start Postgresql

Hybrid View

  1. #1

    Question Can't start Postgresql

    Hey guys,

    How can I fix this:

    I'm trying to start Postgresql on my server for the first time, I'm getting a failed messages, Ichecked status and I get this:

    Code:
    postgresql.service - LSB: Start the PostgreSQL master daemon
              Loaded: loaded (/etc/init.d/postgresql)
              Active: failed (Result: exit-code) since Thu, 2014-02-06 13:58:09 EST; 25min ago
             Process: 8210 ExecStart=/etc/init.d/postgresql start (code=exited, status=1/FAILURE)
              CGroup: name=systemd:/system/postgresql.service
    
    Feb 06 13:58:09 opensuse.localgomain systemd[1]: Starting LSB: Start the P...
    Feb 06 13:58:09 opensuse.localdomain su[8226]: (to postgres) root on none
    Feb 06 13:58:09 opensuse.localdomain su[8226]: pam_unix(su-l:session): ses...
    Feb 06 13:58:09 opensuse.localdomain postgresql[8210]: Initializing Postgr...
    Feb 06 13:58:09 opensuse.localdomain postgresql[8210]: ..failed
    Feb 06 13:58:09 opensuse.localdomain postgresql[8210]: You can find a log ...
    Feb 06 13:58:09 opensuse.localdomain systemd[1]: Failed to start LSB: Star...
    Feb 06 13:58:09 opensuse.localdomain systemd[1]: Unit postgresql.service e...
    opensuse:/home/jorge/Downloads # systemctl status postgresql
    postgresql.service - LSB: Start the PostgreSQL master daemon
              Loaded: loaded (/etc/init.d/postgresql)
              Active: failed (Result: exit-code) since Thu, 2014-02-06 13:58:09 EST; 25min ago
             Process: 8210 ExecStart=/etc/init.d/postgresql start (code=exited, status=1/FAILURE)
              CGroup: name=systemd:/system/postgresql.service
    
    Feb 06 13:58:09 opensuse.localdomain systemd[1]: Starting LSB: Start the PostgreSQL master daemon...
    Feb 06 13:58:09 opensuse.localdomain su[8226]: (to postgres) root on none
    Feb 06 13:58:09 opensuse.localdomain su[8226]: pam_unix(su-l:session): session opened for user postgres by (uid=0)
    Feb 06 13:58:09 opensuse.localdomain postgresql[8210]: Initializing PostgreSQL 9.2.4 at location /home/postgres/data-bash: init...denied
    Feb 06 13:58:09 opensuse.localdomain postgresql[8210]: ..failed
    Feb 06 13:58:09 opensuse.localdomain postgresql[8210]: You can find a log of the initialisation in ~postgres/initlog .
    Feb 06 13:58:09 opensuse.localdomain systemd[1]: Failed to start LSB: Start the PostgreSQL master daemon.
    Feb 06 13:58:09 opensuse.localdomain systemd[1]: Unit postgresql.service entered failed state
    Postgresql version: 9.2
    OpenSUSE version: 12.3

    Any ideas?

    Thanks.

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,240

    Default Re: Can't start Postgresql

    Please tell how you do things. Thus, how did you (try to) start Postgresql.

    Never assume that there is only one single way to do things and that it is obvious that you used that way. Allways think it might be possible that you did something wrong and that. when you ask for help, it might be very usefull to tell exactly what you did so your potential helpers can see and assess it.
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •