[PLUG] Postgresql problem.

pankaj patil ipankajpatil at gmail.com
Fri Jan 11 20:10:07 IST 2008


On Jan 11, 2008 12:31 PM, Vivek Khurana <hiddenharmony at gmail.com> wrote:
>
> On Jan 11, 2008 6:49 AM, pankaj patil <ipankajpatil at gmail.com> wrote:
> > Hi,
> > I am trying to start service for postgresql on fedora 8. But isn't
> > starting and giving following msg.
> >
> > postgresql failed. The error was:
> > /var/lib/pgsql/data is missing. Use "service postgresql initdb" to
> > initialize the cluster first.
> > [FAILED]
> >
> > Fedora 8 installation was smooth. what is the problem?
>
> Well looks like another goof up by packing guy. As per error reported
> you need to initialize PG by running "service postgresql initdb' once
> before the database is usable. Ideally this shoul dhad been run by the
> installer. I would recommend that you edit then postresql initi script
> and comment the lines for initdb *after you are done with
> initialization*. If you run this command again by mistake, it can
> potentially wipe out all the databases.
>
> regards
> VK
> --
> The hidden harmony is better than the obvious!!
>
> --

hello,
problem solved!
I login as superuser. Then su postgres. Then I tried command 'initdb
/var/lib/pgsql/data/'.
And everything is done.

But my internet connection problem is unresolved. Please tell me how to proceed?

Thanks for help.

> ______________________________________________________________________
> Pune GNU/Linux Users Group Mailing List:      (plug-mail at plug.org.in)
> List Information:  http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
> Send 'help' to plug-mail-request at plug.org.in for mailing instructions.
>




More information about the Plug-mail mailing list