if you get this error while you were trying to start postgresql after its installation
/var/lib/pgsql/data is missing. Use “service postgresql initdb” to initialize the cluster first.

You need to just run

service postgresql initdb
[/cc[

after that if you received this on starting postgre service
<strong>Initializing database: mkdir: cannot create directory `/var/lib/pgsql/data/pg_log': File exists</strong>

you then just need to remove that log file
[cc]
rm -rf Initializing database: mkdir: cannot create directory `/var/lib/pgsql/data/pg_log': File exists

then start postgresql service

# service postgresql start
Starting postgresql service:                               [  OK  ]

thanks

4 COMMENTS

  1. Oi Zeh,Em primeiro lugar gariosta de parabenizar pelo excelente trabalho que vocea desenvolve, desde MC Tween ate9 ao recente Menu para FlashLite!Tambe9m tenho o 6681, pore9m ne3o consigo instalar o FlashLite 2.1 diz que a verse3o e9 incompatedvel com o aparelho mesmo que eu tenha conferido no site da Adobe e baixado a verse3o correta, que e9 a S60 V2 FP3 Sei que o seu propf3sito aqui ne3o e9 prestar suporte sobre isso, mesmo assim gariosta de saber se no seu caso tambe9m houve algum contratempo sobre essa instalae7e3o. Eu encaminhei um e-mail ao suporte da Adobe mas ainda ne3o obtive nenhuma resposta.Desculpe a amolae7e3o, mas e9 que estou muito ansioso para comee7ar a desenvolver minhas prf3prias aplicae7f5es para celular e preciso que o aparelho esteja devidamente configurado para teste1-las.[] sDede9 VillelaPosted by on b7

  2. As I sit here with a major-giant headache, I’m thinking the Monday icks have captured me. And I realize it’s hard to think of good stuff when you’re feeling so icky. So I’m slightly challenged. It took me a moment to recount the good things from a week I spent recovering from a cold. In rethinking – I recall feeling completely giddy after teaching an Art Journaling class (while in the recovery stages of my cold). I made it through the class (while feeling ick) and it was a beautiful class (regardless of how I felt). And for that giddiness I am so grateful, grateful for sharing my passion and for students to fill up classes.

  3. grasias por sus consejos los tomare en cuenta porque la verdad es mi caso cuando llego de travajar llego cansadisimo.yo travajo en instalacion de pisos y paso todos los dias de rodillas y cuando llego a la casa llego con fuerte dolor de cintura y de piernas y ahora que lei este articulo lo voy a poner en practica grasias y espero publiquen mas articulos como estos asta pronto

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.