Postgress user permissions

Forum with tips, support, etc, on using the PostgreSQL database with Poker Tracker. Please post any PostgreSQL questions here.

Postgress user permissions

Postby Random1002 » Sun Jan 11, 2009 10:32 am

Had a power supply problem on XP-home lappy and on reboot it did a check disc and ran through some sort of user permissions thing. PC then started ok, except PT2 will not run as it could not connect to postgress database. Looking at running tasks and can see postgress has not loaded.

Opened a dos window and tried running the executable manually :-

C:\>"C:\Program Files\PostgreSQL\8.2\bin\postgres.exe"

and got the following result :-

Execution of PostgreSQL by a user with administrative permissions is not
permitted.
The server must be started under an unprivileged user ID to prevent
possible system security compromises. See the documentation for
more information on how to properly start the server.

Arrgghhh I am the only user and it used to work prior to the disc check - anyone got any ideas ?
Thanks in advance - Pete
Random1002
 
Posts: 16
Joined: Sun Jan 11, 2009 10:19 am

Re: Postgress user permissions

Postby ptrack pat » Sun Jan 11, 2009 1:06 pm

What email was used to purchase PT2? I have no record of this email used for the site/forum.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: Postgress user permissions

Postby Random1002 » Sun Jan 11, 2009 8:32 pm

pm with details sent pat
Random1002
 
Posts: 16
Joined: Sun Jan 11, 2009 10:19 am

Re: Postgress user permissions

Postby ptrack pat » Sun Jan 11, 2009 8:41 pm

Go to the Start > Settings > Control Panel > Administrative Tools > Services window.
Find PostgreSQL in the list.
Right-click on it and select "Start" from the popup menu.
What happens when you do this?
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: Postgress user permissions

Postby Random1002 » Sun Jan 11, 2009 9:25 pm

Thanks pat, a progress bar ran for a minute or so and at the end there waqs a dialog saying

The postgresql database server 8,2 service on local computer started and then stopped. Some services stop automatically if they have no work to do for example the performance logs and alerts sevice ---- Okay ----


In the services page (prior to hitting start), the postgresql database has startup type set as "automatic" and logon is set as ./postgres

After closing the dialog postgress is not running (checked with task manager) and PT does not run .....
Random1002
 
Posts: 16
Joined: Sun Jan 11, 2009 10:19 am

Re: Postgress user permissions

Postby ptrack pat » Sun Jan 11, 2009 10:53 pm

Go to the c:\program files\postgresql\8.2\data folder. Is there a file called postmaster.pid there? If so, delete it and then try to start the service again.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: Postgress user permissions

Postby Random1002 » Mon Jan 12, 2009 3:53 pm

Thanks Pat,
Laptop is in for repair to power connector at the moment, will try this asap.
Regards - Pete
Random1002
 
Posts: 16
Joined: Sun Jan 11, 2009 10:19 am

Re: Postgress user permissions

Postby Random1002 » Wed Jan 14, 2009 3:33 pm

Pat your are an absolute star - that worked perfectly :D
Thank you very much - Pete
Random1002
 
Posts: 16
Joined: Sun Jan 11, 2009 10:19 am


Return to PostgreSQL Forum

Who is online

Users browsing this forum: No registered users and 18 guests

cron