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:
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.