Thread: the problem plz solve

the problem plz solve

From
vijay nikam
Date:
i install the postgresql with service and create data base after that i uninstall it and install without service when i run it with pg_ctl its work fine
 
but when i copy structure of  8.1 folder and overwrite it on other m/c or install postgresql folder and try to run the pg_ctl command then it gives the following error
 
could not create lock file "postmaster.pid" permission denied
 
plz told me the my way to overwrite the folder 8.1 folder to achive the database is valid way or not and if i want to do that so what way i achive it
 
plz send me ur advise i need that very urgent
 
 
vijay


    Vijay J. Nikam  
        


Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.

Re: the problem plz solve

From
Ivo Rossacher
Date:
What exactly are you trying to do (coping data, program, ...)?
On what platform (most probably some sort of windows)?
What filesystem are you using?
With which version and package of postgresql are you working?
What directory are you talking about by 8.1 folder?

The error message says it clearly, something with the directory where the lock
file should be created is not correctly setup (probably permission).

Best regards
Ivo

Am Mittwoch, 24. Mai 2006 08.55 schrieb vijay nikam:
> i install the postgresql with service and create data base after that i
> uninstall it and install without service when i run it with pg_ctl its work
> fine
>
>   but when i copy structure of  8.1 folder and overwrite it on other m/c or
> install postgresql folder and try to run the pg_ctl command then it gives
> the following error
>
>   could not create lock file "postmaster.pid" permission denied
>
>   plz told me the my way to overwrite the folder 8.1 folder to achive the
> database is valid way or not and if i want to do that so what way i achive
> it
>
>   plz send me ur advise i need that very urgent
>
>
>   vijay
>
>
>     Vijay J. Nikam
>
>
>
> ---------------------------------
> Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo!
> Messenger with Voice.