Rabu, 14 Maret 2012

memperbaiki error postgresql di fedora 15

waktu mau install metasploit dan armitage di fedora15 eh error pas nyalain postgresql … [root@zee init.d]# /etc/init.d/postgresql
Usage: /etc/init.d/postgresql {start|stop|status|restart|condrestart|try-restart|reload|force-reload|initdb|upgrade}
[root@zee init.d]# /etc/init.d/postgresql start
Starting postgresql (via systemctl): Job failed. See system logs and ‘systemctl status’ for details.
[FAILED]
nah sebagai catatan saja nih .. untuk fixednya

[root@zee init.d]# restorecon -R /var
[root@zee init.d]# service postgresql initdb
Initializing database: [ OK ]
[root@zee init.d]# systemctl start postgresql.service
[root@zee init.d]# /etc/init.d/postgresql status
postgresql.service – LSB: start and stop PostgreSQL server
Loaded: loaded (/etc/rc.d/init.d/postgresql)
Active: active (running) since Fri, 20 Jan 2012 08:07:36 +0700; 19s ago
Process: 13803 ExecStart=/etc/rc.d/init.d/postgresql start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/postgresql.service
├ 13823 /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data…
├ 13825 postgres: logger process
├ 13827 postgres: writer process
├ 13828 postgres: wal writer process
├ 13829 postgres: autovacuum launcher process
└ 13830 postgres: stats collector process
semoga berguna ya hehehehe

Tidak ada komentar:

Posting Komentar