Thread: Silent install 8.3 diiffers from 8.2

Silent install 8.3 diiffers from 8.2

From
Syra.Didelez@agfa.com
Date:

"You should probably send those logs to the list, rather than straight to me.

However, this line sticks out at me:


2008-04-07 07:43:14 GMT FATAL:  lock file "postmaster.pid" already exists
2008-04-07 07:43:14 GMT HINT:  Is another postmaster (PID 3724) running
in data directory "F:/B"?


Is it possible that the old server wasn't shut down cleanly on remove?
Is there really a postmaster.pid file present?

--
Craig Ringer"



Hi,

Crais, sorry to bother you directly !

The previous server was shut down (killed 6 postgres.exe processes) and then removed completely,
both directories basedir & datadir are empty when starting the install.

And yes, there is a postmaster.pid file created during install.
It might not be important, but 'usually' there are 4 postgres.exe processes showing up.
Here there are 6 .. it might look like the server is trying to be started up twice ...
-also regardig the error in the application log about the lock file...

thus, here the log files:


the system event log shows the following:
Type        Date        Time        Source        Category        Event        User        Computer
Information        4/7/2008        9:44:18 AM        Service Control Manager        None        7036        N/A        GS2479
--> The PostgreSQL Database Server 8.3 service entered the stopped state.
Information        4/7/2008        9:43:14 AM        Service Control Manager        None        7035        SYSTEM        GS2479
--> The PostgreSQL Database Server 8.3 service was successfully sent a start control.
Information        4/7/2008        9:43:09 AM        Service Control Manager        None        7036        N/A        GS2479
--> The PostgreSQL Database Server 8.3 service entered the stopped state.
Information        4/7/2008        9:42:05 AM        Service Control Manager        None        7035        SYSTEM        GS2479
--> The PostgreSQL Database Server 8.3 service was successfully sent a start contro
Information        4/7/2008        9:41:59 AM        Service Control Manager        None        7036        N/A        GS2479
--> The PostgreSQL Database Server 8.3 service entered the stopped state.
Information        4/7/2008        9:40:55 AM        Service Control Manager        None        7035        SYSTEM        GS2479
--> The PostgreSQL Database Server 8.3 service was successfully sent a start control.
Information        4/7/2008        9:40:49 AM        Service Control Manager        None        7036        N/A        GS2479
-->The PostgreSQL Database Server 8.3 service entered the stopped state.
Information        4/7/2008        9:39:43 AM        Service Control Manager        None        7035        SYSTEM        GS2479
--> The PostgreSQL Database Server 8.3 service was successfully sent a start control.
Information        4/7/2008        9:38:13 AM        Service Control Manager        None        7036        N/A        GS2479
--> The Windows Installer service entered the running state.
Information        4/7/2008        9:38:13 AM        Service Control Manager        None        7035        SYSTEM        GS2479
--> The Windows Installer service was successfully sent a start control.

the application event log:
Type        Date        Time        Source        Category        Event        User        Computer
Error        4/7/2008        9:43:14 AM        PostgreSQL        None        0        N/A        GS2479
--> 2008-04-07 07:43:14 GMT FATAL:  lock file "postmaster.pid" already exists
      2008-04-07 07:43:14 GMT HINT:  Is another postmaster (PID 3724) running in data directory "F:/B"?

Information        4/7/2008        9:43:14 AM        PostgreSQL        None        0        N/A        GS2479
 --> Waiting for server startup...

Information        4/7/2008        9:43:09 AM        PostgreSQL        None        0        N/A        GS2479
 --> Timed out waiting for server startup

Error        4/7/2008        9:42:05 AM        PostgreSQL        None        0        N/A        GS2479
-->2008-04-07 07:42:05 GMT FATAL:  lock file "postmaster.pid" already exists
2008-04-07 07:42:05 GMT HINT:  Is another postmaster (PID 3724) running in data directory "F:/B"?

Information        4/7/2008        9:42:05 AM        PostgreSQL        None        0        N/A        GS2479
--> Waiting for server startup...

Information        4/7/2008        9:41:59 AM        PostgreSQL        None        0        N/A        GS2479
 --> Timed out waiting for server startup

Error        4/7/2008        9:40:55 AM        PostgreSQL        None        0        N/A        GS2479
--> 2008-04-07 07:40:55 GMT FATAL:  lock file "postmaster.pid" already exists

2008-04-07 07:40:55 GMT HINT:  Is another postmaster (PID 3724) running in data directory "F:/B"?
Information        4/7/2008        9:40:55 AM        PostgreSQL        None        0        N/A        GS2479
--> Waiting for server startup...

Warning        4/7/2008        9:40:49 AM        Userenv        None        1517        SYSTEM        GS2479
--> Windows saved user GS2479\postgres registry while an application or service was still using the registry during log off. The memory used by the user's registry has not been freed. The registry will be unloaded when it is no longer in use.
 This is often caused by services running as a user account, try configuring the services to run in either the LocalService or NetworkService account.

Information        4/7/2008        9:40:48 AM        PostgreSQL        None        0        N/A        GS2479
 --> Timed out waiting for server startup

and after clicking the cancel button on the error message, following is reported to the
system log:
Information        4/7/2008        10:00:58 AM        Service Control Manager        None        7036        N/A        GS2479
--> The Windows Installer service entered the stopped state.
Information        4/7/2008        9:44:18 AM        Service Control Manager        None        7036        N/A        GS2479
--> The PostgreSQL Database Server 8.3 service entered the stopped state.


and the application log:
in the application log, following appear :

The description for Event ID ( 0 ) in Source ( PostgreSQL ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Waiting for server startup...

Windows saved user GS2479\postgres registry while an application or service was still using the registry during log off. The memory used by the user's registry has not been freed. The registry will be unloaded when it is no longer in use.

 This is often caused by services running as a user account, try configuring the services to run in either the LocalService or NetworkService account.

.Product: PostgreSQL 8.3 -- Error 1920. Service 'PostgreSQL Database Server 8.3' (pgsql-8.3) failed to start.  Verify that you have sufficient privileges to start system services.






- Syra Didelez -
Apogee Portal Deployment Manager
Apogee Portal Hotfix Manager
Agfa-Gevaert N.V.

Tel.: +32 3 444 4237
http://www.agfa.com

Re: Silent install 8.3 diiffers from 8.2

From
Syra.Didelez@agfa.com
Date:

<bump>

anyone ?

- Syra Didelez -
Apogee Portal Deployment Manager
Apogee Portal Hotfix Manager
Agfa-Gevaert N.V.

Tel.: +32 3 444 4237
http://www.agfa.com

Re: Silent install 8.3 diiffers from 8.2

From
"Blakely, Jerel (Mission Systems)"
Date:

Has this issue been resolved by anyone?

I can install over and over manually but any attempt at silent install fails with the same.
> "Service 'PostgreSQL Database Server 8.3' (pgsql-8.3) failed to start.
> Verify that you have sufficient privileges to start system services."

It works fine with 8.3.0 but not 8.3.3, what changes were made to the installer?

I can verify that the previous version is un-installed, make sure the postgres\8.3 directory is clear, and reboot the machine to verify that no leftover processes remain? It still fails every time on silent install, however a manual install blasts right through with no problems.

I would like to hand my sa a script and say just run this rather than hand him a script caviated with "Oh and by the way you have to do manual install on all 30 machines."

Re: Silent install 8.3 diiffers from 8.2

From
Martin Gainty
Date:
Jerel-
any chance of running the postgres start script under god rights e.g.
runas /noprofile /user:mymachine\GOD net start PostsgreSQL
?
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.



Subject: Re: [GENERAL] Silent install 8.3 diiffers from 8.2
Date: Wed, 20 Aug 2008 12:43:44 -0500
From: Jerel.Blakely@ngc.com
To: pgsql-general@postgresql.org

Has this issue been resolved by anyone?
I can install over and over manually but any attempt at silent install fails with the same.
> "Service 'PostgreSQL Database Server 8.3' (pgsql-8.3) failed to start.
> Verify that you have sufficient privileges to start system services."

It works fine with 8.3.0 but not 8.3.3, what changes were made to the installer?
I can verify that the previous version is un-installed, make sure the postgres\8.3 directory is clear, and reboot the machine to verify that no leftover processes remain? It still fails every time on silent install, however a manual install blasts right through with no problems.
I would like to hand my sa a script and say just run this rather than hand him a script caviated with "Oh and by the way you have to do manual install on all 30 machines."



Get thousands of games on your PC, your mobile phone, and the web with Windows®. Game with Windows

Re: Silent install 8.3 diiffers from 8.2

From
"Blakely, Jerel (Mission Systems)"
Date:
Well it is the administrator account running the install, don't think I could get any more privileged than that.
Near as I can tell even though the message says check privileges, the installer really thinks there is another postgres running, however there is not. Even with previous installs wiped clean, and processes cleared out, even server reboot to make sure nothing is left over and restarted.
 
If it is ran in interactive mode everything works fine. I can install interactive but I would prefer to script it.
 
The original post in April "Silent install 8.3 diiffers from 8.2" appeared to have the same problem. I was hoping someone had figured out what was wrong. I have had no problems silent installing 8.2 versions and I am able to get silent install to work with 8.3.0 however with same options 8.3.3 does not work.
Basic options with just:
INTERNALLAUNCH=1 SERVICEDOMAIN="MYDOMAIN" SERVICEPASSWORD="MYSERVICEPW" SUPERPASSWORD="MYPGPW" PERMITTREMOTE=1 /qr
 
Once it fails and unwinds I can still run silent 8.2.x, or silent 8.3.0, or interactive 8.3.3, but never works for silent 8.3.3!

From: Martin Gainty [mailto:mgainty@hotmail.com]
Sent: Wednesday, August 20, 2008 3:39 PM
To: Blakely, Jerel (Mission Systems); pgsql-general@postgresql.org
Subject: RE: [GENERAL] Silent install 8.3 diiffers from 8.2

Jerel-
any chance of running the postgres start script under god rights e.g.
runas /noprofile /user:mymachine\GOD net start PostsgreSQL
?
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission.



Subject: Re: [GENERAL] Silent install 8.3 diiffers from 8.2
Date: Wed, 20 Aug 2008 12:43:44 -0500
From: Jerel.Blakely@ngc.com
To: pgsql-general@postgresql.org

Has this issue been resolved by anyone?
I can install over and over manually but any attempt at silent install fails with the same.
> "Service 'PostgreSQL Database Server 8.3' (pgsql-8.3) failed to start.
> Verify that you have sufficient privileges to start system services."

It works fine with 8.3.0 but not 8.3.3, what changes were made to the installer?
I can verify that the previous version is un-installed, make sure the postgres\8.3 directory is clear, and reboot the machine to verify that no leftover processes remain? It still fails every time on silent install, however a manual install blasts right through with no problems.
I would like to hand my sa a script and say just run this rather than hand him a script caviated with "Oh and by the way you have to do manual install on all 30 machines."



Get thousands of games on your PC, your mobile phone, and the web with Windows®. Game with Windows