PostgreSQL La base de donnees la plus sophistiquee au monde.

Forums PostgreSQL.fr

Le forum officiel de la communauté francophone de PostgreSQL

Vous n'êtes pas identifié(e).

#1 15/03/2010 01:23:18

unisol
Membre

probleme démarrage d'Apache avec postres

Bonjour,

cela fait plusieurs jours que je galère.
Ma config est lié à windows server 2003 sp2.
à partir du moment que je dé-commente la ligne d'extension postgres dans php.ini
le serveur apache refuse de démarrer.
à noter que j'ai testé cela avec Wamp et easyphp = pareille plante toujours
à noter que sur windows xp normal >> aucun probleme
seule W2003 server pose probleme.

merci pour votre aide.

Hors ligne

#2 15/03/2010 10:37:04

gleu
Administrateur

Re : probleme démarrage d'Apache avec postres

Je suppose qu'Apache doit mettre un message d'erreur dans les logs, ça devrait aider à comprendre ce qu'il se passe.

L'une des raisons probables (mais c'est plutôt de la devinette de ma part), c'est que la bibliothèque PostgreSQL n'est pas installée.


Guillaume.

Hors ligne

#3 15/03/2010 10:47:26

unisol
Membre

Re : probleme démarrage d'Apache avec postres

Bonjour,

voici les logs d'apache.
à noter que si je commente l'extension le serveur apache marche à nouveau.
la dll semble en effet être la cause. faut faire un regsvr32 ?

merci.

*********************

[Sun Mar 14 23:20:26 2010] [notice] Apache/2.2.14 (Win32) PHP/5.3.2 configured -- resuming normal operations
[Sun Mar 14 23:20:26 2010] [notice] Server built: Sep 28 2009 22:41:08
[Sun Mar 14 23:20:26 2010] [notice] Parent: Created child process 6100
[Sun Mar 14 23:20:26 2010] [notice] Child 6100: Child process is running
[Sun Mar 14 23:20:26 2010] [notice] Child 6100: Acquired the start mutex.
[Sun Mar 14 23:20:26 2010] [notice] Child 6100: Starting 64 worker threads.
[Sun Mar 14 23:20:26 2010] [notice] Child 6100: Starting thread to listen on port 80.
The Apache2.2 service is restarting.
The Apache2.2 service has restarted.
arent: Received restart signal -- Restarting the server.
[Sun Mar 14 23:20:43 2010] [notice] Child 6100: Exit event signaled. Child process is ending.
[Sun Mar 14 23:20:43 2010] [notice] Apache/2.2.14 (Win32) PHP/5.3.2 configured -- resuming normal operations
[Sun Mar 14 23:20:43 2010] [notice] Server built: Sep 28 2009 22:41:08
[Sun Mar 14 23:20:43 2010] [notice] Parent: Created child process 4936
[Sun Mar 14 23:20:43 2010] [notice] Child 4936: Child process is running
[Sun Mar 14 23:20:44 2010] [notice] Child 6100: Released the start mutex
[Sun Mar 14 23:20:44 2010] [notice] Child 4936: Acquired the start mutex.
[Sun Mar 14 23:20:44 2010] [notice] Child 4936: Starting 64 worker threads.
[Sun Mar 14 23:20:44 2010] [notice] Child 4936: Starting thread to listen on port 80.
[Sun Mar 14 23:20:45 2010] [notice] Child 6100: All worker threads have exited.
[Sun Mar 14 23:20:45 2010] [notice] Child 6100: Child process is exiting
The Apache2.2 service is restarting.
[Sun Mar 14 23:26:44 2010] [notice] Parent: Received restart signal -- Restarting the server.
[Sun Mar 14 23:26:44 2010] [notice] Child 4936: Exit event signaled. Child process is ending.
[Sun Mar 14 23:26:45 2010] [notice] Child 4936: Released the start mutex
[Sun Mar 14 23:26:46 2010] [notice] Child 4936: All worker threads have exited.
[Sun Mar 14 23:26:46 2010] [notice] Child 4936: Child process is exiting
[Sun Mar 14 23:44:23 2010] [warn] pid file D:/EasyPHP-5.3.2/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Mar 14 23:44:23 2010] [notice] Apache/2.2.14 (Win32) PHP/5.3.2 configured -- resuming normal operations
[Sun Mar 14 23:44:23 2010] [notice] Server built: Sep 28 2009 22:41:08
[Sun Mar 14 23:44:23 2010] [notice] Parent: Created child process 5576
[Sun Mar 14 23:44:23 2010] [notice] Child 5576: Child process is running
[Sun Mar 14 23:44:23 2010] [notice] Child 5576: Acquired the start mutex.
[Sun Mar 14 23:44:23 2010] [notice] Child 5576: Starting 64 worker threads.
[Sun Mar 14 23:44:23 2010] [notice] Child 5576: Starting thread to listen on port 80.
[Sun Mar 14 23:44:56 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Mar 14 23:44:56 2010] [notice] Child 5576: Exit event signaled. Child process is ending.
[Sun Mar 14 23:44:57 2010] [notice] Child 5576: Released the start mutex
[Sun Mar 14 23:44:58 2010] [notice] Child 5576: All worker threads have exited.
[Sun Mar 14 23:44:58 2010] [notice] Child 5576: Child process is exiting
[Sun Mar 14 23:44:58 2010] [notice] Parent: Child process exited successfully.
[Sun Mar 14 23:47:28 2010] [notice] Apache/2.2.14 (Win32) PHP/5.3.2 configured -- resuming normal operations
[Sun Mar 14 23:47:28 2010] [notice] Server built: Sep 28 2009 22:41:08
[Sun Mar 14 23:47:28 2010] [notice] Parent: Created child process 880
[Sun Mar 14 23:47:28 2010] [notice] Child 880: Child process is running
[Sun Mar 14 23:47:28 2010] [notice] Child 880: Acquired the start mutex.
[Sun Mar 14 23:47:28 2010] [notice] Child 880: Starting 64 worker threads.
[Sun Mar 14 23:47:28 2010] [notice] Child 880: Starting thread to listen on port 80.
[Sun Mar 14 23:47:31 2010] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: loginFormAction in D:\\EasyPHP-5.3.2\\www\\index.php on line 94
[Sun Mar 14 23:47:35 2010] [error] [client 127.0.0.1] File does not exist: D:/EasyPHP-5.3.2/www/favicon.ico
[Sun Mar 14 23:48:07 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Mar 14 23:48:07 2010] [notice] Child 880: Exit event signaled. Child process is ending.
[Sun Mar 14 23:48:08 2010] [notice] Child 880: Released the start mutex
[Sun Mar 14 23:48:09 2010] [notice] Child 880: All worker threads have exited.
[Sun Mar 14 23:48:09 2010] [notice] Child 880: Child process is exiting
[Sun Mar 14 23:48:09 2010] [notice] Parent: Child process exited successfully.
[Sun Mar 14 23:49:25 2010] [warn] pid file D:/EasyPHP-5.3.2/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Mar 14 23:51:04 2010] [warn] pid file D:/EasyPHP-5.3.2/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Mar 14 23:51:04 2010] [notice] Apache/2.2.14 (Win32) PHP/5.3.2 configured -- resuming normal operations
[Sun Mar 14 23:51:04 2010] [notice] Server built: Sep 28 2009 22:41:08
[Sun Mar 14 23:51:04 2010] [notice] Parent: Created child process 2788
[Sun Mar 14 23:51:04 2010] [notice] Child 2788: Child process is running
[Sun Mar 14 23:51:04 2010] [notice] Child 2788: Acquired the start mutex.
[Sun Mar 14 23:51:04 2010] [notice] Child 2788: Starting 64 worker threads.
[Sun Mar 14 23:51:04 2010] [notice] Child 2788: Starting thread to listen on port 80.
[Sun Mar 14 23:52:24 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Mar 14 23:52:24 2010] [notice] Child 2788: Exit event signaled. Child process is ending.
[Sun Mar 14 23:52:25 2010] [notice] Child 2788: Released the start mutex
[Sun Mar 14 23:52:26 2010] [notice] Child 2788: All worker threads have exited.
[Sun Mar 14 23:52:26 2010] [notice] Child 2788: Child process is exiting
[Sun Mar 14 23:52:27 2010] [notice] Parent: Child process exited successfully.
[Mon Mar 15 00:03:56 2010] [warn] pid file D:/EasyPHP-5.3.2/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Mar 15 00:04:53 2010] [warn] pid file D:/EasyPHP-5.3.2/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Mar 15 00:05:42 2010] [warn] pid file D:/EasyPHP-5.3.2/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Mar 15 00:05:42 2010] [notice] Apache/2.2.14 (Win32) PHP/5.3.2 configured -- resuming normal operations
[Mon Mar 15 00:05:42 2010] [notice] Server built: Sep 28 2009 22:41:08
[Mon Mar 15 00:05:42 2010] [notice] Parent: Created child process 244
[Mon Mar 15 00:05:42 2010] [notice] Child 244: Child process is running
[Mon Mar 15 00:05:42 2010] [notice] Child 244: Acquired the start mutex.
[Mon Mar 15 00:05:42 2010] [notice] Child 244: Starting 64 worker threads.
[Mon Mar 15 00:05:42 2010] [notice] Child 244: Starting thread to listen on port 80.
[Mon Mar 15 09:33:20 2010] [warn] pid file D:/EasyPHP-5.3.2/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Mon Mar 15 09:33:21 2010] [notice] Apache/2.2.14 (Win32) PHP/5.3.2 configured -- resuming normal operations
[Mon Mar 15 09:33:21 2010] [notice] Server built: Sep 28 2009 22:41:08
[Mon Mar 15 09:33:21 2010] [notice] Parent: Created child process 2004
[Mon Mar 15 09:33:21 2010] [notice] Child 2004: Child process is running
[Mon Mar 15 09:33:21 2010] [notice] Child 2004: Acquired the start mutex.
[Mon Mar 15 09:33:21 2010] [notice] Child 2004: Starting 64 worker threads.
[Mon Mar 15 09:33:21 2010] [notice] Child 2004: Starting thread to listen on port 80.

Hors ligne

#4 15/03/2010 10:57:19

gleu
Administrateur

Re : probleme démarrage d'Apache avec postres

Autant dire que ça ne dit pas grand-chose. À priori, il doit y avoir une bibliothèque pgsql et une bibliothèque libpq. Je ne peux pas tester pour l'instant vu que je n'ai pas de Windows actuellement sous la main.


Guillaume.

Hors ligne

Pied de page des forums