Link to home
Create AccountLog in
Avatar of dimensionav
dimensionavFlag for Mexico

asked on

Error during installation of PostgreSQL

After installing postgresql in fedora 18 like this:
sudo yum install postgresql

Open in new window

I have tried to initiate the service
service postgresql start

Open in new window

And I got the following error:
Redirecting to /bin/systemctl start  postgresql.service
Failed to issue method call: Unit postgresql.service failed to load: No such file or directory. See system logs and 'systemctl status postgresql.service' for details.
Avatar of deviprasad_s
deviprasad_s
Flag of India image

dear ,
you have only installed posgresql client only ,not teh server hence error,


follow this article


http://www.cyberciti.biz/faq/howto-fedora-linux-install-postgresql-server/

thanks
s.deviprasad
Avatar of dimensionav

ASKER

After trying this command
yum install postgresql postgresql-server

Open in new window

I got the following error:

http://yum.postgresql.org/9.1/redhat/rhel-18-x86_64/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL returned error: 404 Not Found"
Intentando con otro espejo.
Error: failure: repodata/repomd.xml from pgdg91: [Errno 256] No more mirrors to try.
http://yum.postgresql.org/9.1/redhat/rhel-18-x86_64/repodata/repomd.xml: [Errno 14] curl#22 - "The requested URL returned error: 404 Not Found"

I have tried to run this
yum update

Open in new window

and I got the same error above.
ASKER CERTIFIED SOLUTION
Avatar of deviprasad_s
deviprasad_s
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer