Précédent   Forum des professionnels en informatique > Bases de données > Oracle > Administration
Administration Forum d'entraide sur l'administration du serveur Oracle
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 07/01/2008, 15h15   #1
Membre habitué
 
Avatar de ilalaina
 
Homme Ilalaina Rasoloarison
Inscription : mai 2007
Messages : 330
Détails du profil
Informations personnelles :
Nom : Homme Ilalaina Rasoloarison
Localisation : Madagascar

Informations forums :
Inscription : mai 2007
Messages : 330
Points : 129
Points : 129
Envoyer un message via Yahoo à ilalaina Envoyer un message via Skype™ à ilalaina
Par défaut Apache.exe a généré des erreurs et sera fermé par Windows

Bonjour à tous et bonne année.
Je ne sais plus dans quel forum poster ce message. Ca fait maintenant 6 mois que je cherche une solution à mon problème mais je n'y arrive pas.
Voilà je travaille sur Win 2000 SP4. J'ai un serveur Apache installé avec Oracle 8 et j'obtient fréquemment ce message d'erreur :
Citation:
Apache.exe has generated errors and will be closed by Windows
et je dois ensuite redémarrer manuellement le service Windows associé à Apache.
L'erreur dans le fichiert error.log d'Apache est :
Citation:
[Mon Jan 07 14:19:16 2008] [crit] (10038)Une opération a été tentée sur autre chose qu'un socket: Parent: WSADuplicateSocket failed for socket 192.
[Mon Jan 07 14:19:16 2008] [error] (2)No such file or directory: master_main: create child process failed. Exiting.
et dans jserv.log :
Citation:
[07/01/2008 14:19:12:113 GMT+03:00] AJP Protocol Error: java.io.IOException: Stream closed prematurely
Personne aurait-t-il une petite idée de ce que je dois faire pour résoudre ce problème?
Merci d'avance.
__________________
" ... On naît, on vit, on meurt, mais exister est un honneur ... "
ilalaina est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 07/01/2008, 21h44   #2
Expert Confirmé
 
Inscription : février 2006
Messages : 3 433
Détails du profil
Informations forums :
Inscription : février 2006
Messages : 3 433
Points : 3 462
Points : 3 462
Peut-être un problème de cohabitation avec un autre logiciel de type client VPN d'après IBM ?
__________________
P. Forstmann

AskTom Forums OTN doc 8, 9, 10 et 11
pifor est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 07h28   #3
Membre habitué
 
Avatar de ilalaina
 
Homme Ilalaina Rasoloarison
Inscription : mai 2007
Messages : 330
Détails du profil
Informations personnelles :
Nom : Homme Ilalaina Rasoloarison
Localisation : Madagascar

Informations forums :
Inscription : mai 2007
Messages : 330
Points : 129
Points : 129
Envoyer un message via Yahoo à ilalaina Envoyer un message via Skype™ à ilalaina
Bonjour, et merci pour vos réponses.
J'ai déjà lu ce post d'IBM suspectant les VPN, alors j'ai tout désinstallé, même l'antivirus, et j'ai redemarré le serveur mais cela n'a pas résolu le problème.
J'ai aussi lu le post de Microsoft qui suggère de réinitialiser Winsock et réinstaller le protocole TCP/IP mais cela n'a pas marché non plus.
J'ai essayé d'utiliser le serveur web d'Oracle 9 (même version que celui d'Oracle 8 : 1.3) et l'erreur n'est plus réapparue. Mon problème c'est que je ne peux pas upgrader Oracle comme ça question license, et puis mes supérieurs veulent une explication avant d'entreprendre quoi que ce soit.
Je tiens à rappeler que le jre d'Oracle 8 a un bug avec les processeurs PIV, et dès qu'on installe Apache une erreur java se produit, pour le contourner on remplace un fichier dll symcjit.dll.
Serait-t-il possible que ce soit lié? Je suis vraiment perdu dans tout ça, je ne sais plus quoi faire, alors vos réponses me seront d'une aide très très précieuse.
Merci d'avance.
__________________
" ... On naît, on vit, on meurt, mais exister est un honneur ... "
ilalaina est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 09h12   #4
Rédacteur/Modérateur
 
Avatar de orafrance
 
Inscription : janvier 2004
Messages : 15 861
Détails du profil
Informations personnelles :
Âge : 35

Informations forums :
Inscription : janvier 2004
Messages : 15 861
Points : 16 212
Points : 16 212
c'est quoi le rapport avec Oracle ?

T'as pas le serveur HTTP d'Oracle installé par hasard ?

Edit : http://www.developpez.net/forums/sho...d.php?t=428058

ça aurait été nettement plus intelligent de commencer par ça
orafrance est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 09h17   #5
Rédacteur/Modérateur
 
Avatar de orafrance
 
Inscription : janvier 2004
Messages : 15 861
Détails du profil
Informations personnelles :
Âge : 35

Informations forums :
Inscription : janvier 2004
Messages : 15 861
Points : 16 212
Points : 16 212
Quelle version d'Oracle (version compléte) as-tu et as-tu contacté le support ?

Oracle propose la même réponse que IBM :
Citation:
Fact(s)
~~~~~~~~
The Oracle HTTP Server fails to start on Windows NT/2000.
Oracle HTTP Server (OHS) installed with Oracle9i Application Server (9iAS)
Release 1 (1.0.2 and above)


Symptom(s)
~~~~~~~~~~
OHS error_log reports the following error:

[crit] (10045)The attempted operation is not supported for the type of object referenced:
Parent: WSADuplicateSocket failed for socket 1068.
[error] (2)No such file or directory: master_main: create child process failed. Exiting.
[error] forcing termination of child #0 (handle 1280)


Change(s)
~~~~~~~~~~
You have recently installed and used some VPN clients like Aventail Connect.


Cause
~~~~~~~
Aventail Connect is a Layered Service Provider (LSP) that inserts itself,as a "shim"
between the Winsock 2 API and Window's native Winsock 2 implementation.
The shim is not unloaded when Aventail Connect is shut down.
The Aventail Connect shim does not implement WSADuplicateSocket,which is the cause of the apache startup failure.


Fix
~~~~
Unload the Aventail Connect shim explicitly after Aventail Connect is shut down
or,
Reboot the Server for the shim to be unloaded.


Instructions for temporarily removing the Aventail Connect V3.x shim can be
found here: http://support.aventail.com/akb/article00386.html
t'as pas dû désinstaller Aventail comme il faut

J'ai aussi trouvé :
Citation:
There is an env variable called wv_gateway_cfg which is used for Portal and Apache listener seems to be not reading this as the path for the file could be incorrect. Make sure that the path you have given for this file is correct..
By default this is in 9ias_home/apache/modplsql/cfg folder.
T'as pas d'accés à Metalink ?
orafrance est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 09h23   #6
Rédacteur/Modérateur
 
Avatar de orafrance
 
Inscription : janvier 2004
Messages : 15 861
Détails du profil
Informations personnelles :
Âge : 35

Informations forums :
Inscription : janvier 2004
Messages : 15 861
Points : 16 212
Points : 16 212
et aussi :

Citation:
1.5.3.1.3 HTTP Server Fails After Startup With WSADuplicateSocket Error

The Oracle HTTP Server in the Enterprise Edition fails shortly after
it is started. The following errors are logged:

[Wed Feb 07 10:44:17 2001] [crit] (10038)(FormatMessage failed with code 317):
Parent: WSADuplicateSocket failed for socket 352. [Wed Feb 07 10:44:17 2001]
[error] (2)No such file or directory: master_main: create child process failed.

Exiting. [Wed Feb 07 10:45:17 2001] [error] forcing termination of child #0
(handle 592)

To resolve this error, go to the configuration screens entitled Apache
Listener Configuration for Oracle Portal:
1. Erase the default entries in two of the three the fields.

2. Do not complete any of the fields in other screens.
ou peut-être : Change 'ThreadsPerChild' from 50 to 25 in httpd.conf file.
orafrance est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 09h25   #7
Rédacteur/Modérateur
 
Avatar de orafrance
 
Inscription : janvier 2004
Messages : 15 861
Détails du profil
Informations personnelles :
Âge : 35

Informations forums :
Inscription : janvier 2004
Messages : 15 861
Points : 16 212
Points : 16 212
une dernière pour la route :
Citation:
* fact: Oracle9i Application Server Enterprise Edition 1.0.2
* fact: MS Windows NT
* fact: MS Windows 2000
* symptom: Apache listener crashes
* symptom: Apache.exe process dies
* symptom: Dr. Watson error
* symptom: error_log reports errors on process failures
* symptom: [crit] (10038)(FormatMessage failed with code 317): Parent: WSADuplicateSocket failed for socket 296.
* symptom: [error] (2)No such file or directory: master_main: create child process failed. Exiting.
* symptom: [error] forcing termination of child #0 (handle 532)
* cause: This is Hidden BUG:1534726 Apache Service Disappears When Child Apache.Exe Dies After Failing To Restart



fix:

Comment out the oracle_apache.conf include line for mod__ose.conf.

EXAMPLE:
# include "d:\oracle\isuites\Apache\Apache\conf\mod__ose.conf"
ça a l'air stable 9iAS
orafrance est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 10h40   #8
Membre habitué
 
Avatar de ilalaina
 
Homme Ilalaina Rasoloarison
Inscription : mai 2007
Messages : 330
Détails du profil
Informations personnelles :
Nom : Homme Ilalaina Rasoloarison
Localisation : Madagascar

Informations forums :
Inscription : mai 2007
Messages : 330
Points : 129
Points : 129
Envoyer un message via Yahoo à ilalaina Envoyer un message via Skype™ à ilalaina
Bonjour.
Tout d'abord un grand merci pour vos réponses.
Citation:
c'est quoi le rapport avec Oracle ?

T'as pas le serveur HTTP d'Oracle installé par hasard ?

Edit : http://www.developpez.net/forums/sho...d.php?t=428058

ça aurait été nettement plus intelligent de commencer par ça
Justement c'est du serveur HTTP Apache d'Oracle que je parle.
Citation:
Quelle version d'Oracle (version compléte) as-tu et as-tu contacté le support ?
J'utilise la version 8.1.7.0.0. Malheureusement je n'ai pas accès à Metalink mais j'y travaille encore.
Mais par contre je n'avais pas Aventail sur mon serveur, j'avais Radmin et Ideal administration. Je les ai déjà désinstallés et rebooté mais cela n'a pas marché.
Ensuite :
Citation:
To resolve this error, go to the configuration screens entitled Apache
Listener Configuration for Oracle Portal:
1. Erase the default entries in two of the three the fields.

2. Do not complete any of the fields in other screens.
Je n'arrive pas à trouver le menu Apache Listener Configuration for Oracle Portal.

Ce que je pourrais faire alors en attendant c'est de commenter la ligne qui inclut mod__ose.conf, comme suggéré par Orafrance, et je voir le résultat.

Je vous remercie encore pour vos réponses.
__________________
" ... On naît, on vit, on meurt, mais exister est un honneur ... "
ilalaina est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 10h42   #9
Rédacteur/Modérateur
 
Avatar de orafrance
 
Inscription : janvier 2004
Messages : 15 861
Détails du profil
Informations personnelles :
Âge : 35

Informations forums :
Inscription : janvier 2004
Messages : 15 861
Points : 16 212
Points : 16 212
Citation:
Envoyé par ilalaina Voir le message
Justement c'est du serveur HTTP Apache d'Oracle que je parle.
Bah oui mais fallait le deviner

Citation:
Envoyé par ilalaina Voir le message
J'utilise la version 8.1.7.0.0.
8.1.7.0.0 ? C'est pas 8.1.7.0.x ? Et la version d'apache ?
orafrance est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 11h18   #10
Membre habitué
 
Avatar de ilalaina
 
Homme Ilalaina Rasoloarison
Inscription : mai 2007
Messages : 330
Détails du profil
Informations personnelles :
Nom : Homme Ilalaina Rasoloarison
Localisation : Madagascar

Informations forums :
Inscription : mai 2007
Messages : 330
Points : 129
Points : 129
Envoyer un message via Yahoo à ilalaina Envoyer un message via Skype™ à ilalaina
Citation:
8.1.7.0.0 ? C'est pas 8.1.7.0.x ? Et la version d'apache ?
Oui c'est 8.1.7.0.0. Et la version d'apache c'est 1.3.
__________________
" ... On naît, on vit, on meurt, mais exister est un honneur ... "
ilalaina est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 14h59   #11
Rédacteur/Modérateur
 
Avatar de orafrance
 
Inscription : janvier 2004
Messages : 15 861
Détails du profil
Informations personnelles :
Âge : 35

Informations forums :
Inscription : janvier 2004
Messages : 15 861
Points : 16 212
Points : 16 212
c'est pas la version d'iAS ça si ?
orafrance est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 15h28   #12
Membre habitué
 
Avatar de ilalaina
 
Homme Ilalaina Rasoloarison
Inscription : mai 2007
Messages : 330
Détails du profil
Informations personnelles :
Nom : Homme Ilalaina Rasoloarison
Localisation : Madagascar

Informations forums :
Inscription : mai 2007
Messages : 330
Points : 129
Points : 129
Envoyer un message via Yahoo à ilalaina Envoyer un message via Skype™ à ilalaina
J'ai fait :
Code :
1
2
3
4
5
6
7
8
9
SQL> SELECT * FROM v$version;
 
BANNER
----------------------------------------------------------------
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
PL/SQL Release 8.1.7.0.0 - Production
CORE	8.1.7.0.0	Production
TNS FOR 32-bit Windows: Version 8.1.7.0.0 - Production
NLSRTL Version 3.4.1.0.0 - Production
et dans le menu documentation d'Apache Web Server sous l'arborescence Oracle/Oracle HTTP Server c'est mentionné Apache HTTP Server Version 1.3. Je crois que c'est la version d'Apache mais pas de iAS.
__________________
" ... On naît, on vit, on meurt, mais exister est un honneur ... "
ilalaina est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 16h20   #13
Membre habitué
 
Avatar de ilalaina
 
Homme Ilalaina Rasoloarison
Inscription : mai 2007
Messages : 330
Détails du profil
Informations personnelles :
Nom : Homme Ilalaina Rasoloarison
Localisation : Madagascar

Informations forums :
Inscription : mai 2007
Messages : 330
Points : 129
Points : 129
Envoyer un message via Yahoo à ilalaina Envoyer un message via Skype™ à ilalaina
Selon vous serait-ce un bug ou es-ce un problème materiel?
Merci.
__________________
" ... On naît, on vit, on meurt, mais exister est un honneur ... "
ilalaina est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 16h23   #14
Rédacteur/Modérateur
 
Avatar de orafrance
 
Inscription : janvier 2004
Messages : 15 861
Détails du profil
Informations personnelles :
Âge : 35

Informations forums :
Inscription : janvier 2004
Messages : 15 861
Points : 16 212
Points : 16 212
clairement un bug
orafrance est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/01/2008, 07h03   #15
Membre habitué
 
Avatar de ilalaina
 
Homme Ilalaina Rasoloarison
Inscription : mai 2007
Messages : 330
Détails du profil
Informations personnelles :
Nom : Homme Ilalaina Rasoloarison
Localisation : Madagascar

Informations forums :
Inscription : mai 2007
Messages : 330
Points : 129
Points : 129
Envoyer un message via Yahoo à ilalaina Envoyer un message via Skype™ à ilalaina
Bonjour à tous.
J'ai commenté la ligne qui inclut mod__ose.conf dans oracle_apache.conf et jusqu'à maintenant l'erreur n'est pas réapparue. Je ne peux pas encore affirmer que c'est la solution parce que il y a des fois où l'erreur ne survient pas pendant 2 ou 3 jours et recommence après. Mais je croise les doigts. Si jamais ça recommencait j'essayerai de réduire 'ThreadsPerChild'. Je vous tiendrai au courant du résultat. En tout cas pour vos réponses.
Salutations cordiales.
__________________
" ... On naît, on vit, on meurt, mais exister est un honneur ... "
ilalaina est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 14h07.


 
 
 
 
Partenaires

Hébergement Web