Author |
|
Gotcha
Joined: 17 Sep 2006 Posts: 2 Location: Netherlands
|
Posted: Sun 17 Sep '06 1:50 Post subject: "The Requested operation has failed!" event id 329 |
|
|
I'm installing apache for the first time and im not getting verry far.
I installed the latest msi package on a Win XP SP2 machine.
The installation is default, the only thing i changed/filled in was:
Network Domain: localhost
Server Name: localhost
Admin Email: me@webserver.net
After the installation i tryed to start the apache server via the service monitor but it only gave met the error "The Requested operation has failed!".
When i could not find any log files i started to google the error and read i needed to take a look at the windows event log.
The event log only gives me a id :3299 and a time and date.
I did not install anything like MySQL or PHP.
Has anyone ever encountered this or can anyone help me?
Thanks,
Bob |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Mon 18 Sep '06 16:36 Post subject: |
|
|
What do you get when you start Apache in a DOS box by typing:
>httpd.exe -e debug
Steffen |
|
Back to top |
|
Gotcha
Joined: 17 Sep 2006 Posts: 2 Location: Netherlands
|
Posted: Mon 18 Sep '06 18:56 Post subject: |
|
|
It works!!.
when i use the monitor to start apache it gives me the error, when i start it via the dos box it works.
but now the only thing is:
when apache is started and i stop it and the start it again it tells me there are no listening sockets available.
somehow it does not unbind port 80 when stopped.
How can i fix this? |
|
Back to top |
|
kthurai2
Joined: 23 Mar 2007 Posts: 2
|
Posted: Fri 23 Mar '07 1:44 Post subject: Hello guys, I have same problem !!! |
|
|
Hello,
This is what I did
=========
I had Apache tomcat installed. But now I unstalled tomcat and installed appache HTTP 2.2.4(apache_2.2.4-win32-x86-no_ssl.msi).
-My working operating system is "Windows XP Professional"
- I don't have any Firewall or anitvirus program installed.
The following is what I tried
==================
*** Apache http didn't start. Thus, following the steps I did
1) I changed the listening port to 8080( it didn't work)
2) restarted computer and apache(sitll it didn't work)
When I type "httpd.exe -d debug" in command window, this is what I get
===============start here==========
C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd.exe -e debug
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module actions_module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module alias_module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module asis_module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module auth_basic_modul
e
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module authn_default_mo
dule
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module authn_file_modul
e
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module authz_default_mo
dule
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module authz_groupfile_
module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module authz_host_modul
e
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module authz_user_modul
e
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module autoindex_module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module cgi_module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module dir_module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module env_module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module imagemap_module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module include_module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module isapi_module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module log_config_modul
e
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module mime_module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module negotiation_modu
le
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module setenvif_module
[Thu Mar 22 19:22:36 2007] [debug] mod_so.c(246): loaded module userdir_module
Syntax error on line 133 of C:/Program Files/Apache Software Foundation/Apache2.
2/conf/httpd.conf:
ServerAdmin takes one argument, The email address of the server administrator
C:\Program Files\Apache Software Foundation\Apache2.2\bin>
================end here========== |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Fri 23 Mar '07 12:27 Post subject: |
|
|
You have a syntax error!
Quote: |
Syntax error on line 133 of C:/Program Files/Apache Software Foundation/Apache2.
2/conf/httpd.conf:
ServerAdmin takes one argument, The email address of the server administrator
|
Edit your httpd.conf line 133
ServerAdmin you@yourdomain.tld |
|
Back to top |
|
kthurai2
Joined: 23 Mar 2007 Posts: 2
|
Posted: Fri 23 Mar '07 15:56 Post subject: Thank you Steffen |
|
|
This is Regarding "Requested Operation has failed"
Actually, when I unstall the tomcat, the uninstall process didn't work properly. Thus, I had to delete the C:Apache Foundation folder manualy. I also used registry cleaner software to clean the registry. Having done all that, When I reinstall the Apache HTTP. I worked right away !!!
Thank you again !!! |
|
Back to top |
|
stonedparadox
Joined: 25 Oct 2007 Posts: 6
|
Posted: Thu 25 Oct '07 20:21 Post subject: |
|
|
basically im having the same problem
but i cant get a debug error report thing cuz it says
httpd is not a valid win32.exe file |
|
Back to top |
|
akravemaster
Joined: 16 Nov 2007 Posts: 1
|
Posted: Fri 16 Nov '07 3:24 Post subject: this should help you all |
|
|
Hi all, im running win xp x64, and had a ton of trouble with IIS, went apache and had all the issues you all are having, now what you need to do for your http...exe is go to cmd
(start>run> type in cmd)
then type in cd (change Directory) "program Files"
press enter
(if your on x64, its installed under (x86), dont forget the "s as if you dont all cmd will see is
cd program
anyway, continue doing this until you *cd* to your apache bin folder
Hint: use dir to see what directory's to cd to next
anyway, what's going on is because of the new release of apache... .2 ... you need to use the php5apache2_2.dll in order for this to work.
Solved my issue, hope it works for you.
Also, if this still doesn't work, check out your php directory location in your conf file and make sure it doesnt have a / at the end of it.
Gl all
AK |
|
Back to top |
|
shaotian123445
Joined: 06 Dec 2007 Posts: 1
|
Posted: Thu 06 Dec '07 9:33 Post subject: yeh,you can |
|
|
Steffen wrote: | What do you get when you start Apache in a DOS box by typing:
>httpd.exe -e debug
Steffen | |
|
Back to top |
|
jen_d
Joined: 07 Jan 2008 Posts: 2
|
Posted: Mon 07 Jan '08 19:02 Post subject: |
|
|
Hi,
I tried "httpd.exe -e debug" & got the following:
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module actions_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module alias_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module asis_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module auth_basic_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module authn_default_mo
dule
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module authn_file_modul
e
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module authz_default_mo
dule
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module authz_groupfile_
module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module authz_host_modul
e
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module authz_user_modul
e
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module autoindex_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module cgi_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module dir_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module env_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module imagemap_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module include_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module isapi_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module log_config_modul
e
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module mime_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module negotiation_modu
le
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module rewrite_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module setenvif_module
[Mon Jan 07 17:35:41 2008] [debug] mod_so.c(246): loaded module userdir_module
(OS 10048)Une seule utilisation de chaque adresse de socket (protocole/adresse r
Úseau/port) est habituellement autorisÚe. : make_sock: could not bind to addre
ss 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
sorry about the french, the OS is in french. Anyone have any ideas? Im stuck thanks in advance |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 07 Jan '08 20:58 Post subject: |
|
|
jen_d wrote: | OS 10048)Une seule utilisation de chaque adresse de socket (protocole/adresse r
Úseau/port) est habituellement autorisÚe. : make_sock: could not bind to addre
ss 0.0.0.0:80
no listening sockets available, shutting down |
That means there is a programm listen on Port 80.
There is a list of Programs that may causes apache not running.
If you still have a question, please ask again. |
|
Back to top |
|
jen_d
Joined: 07 Jan 2008 Posts: 2
|
Posted: Tue 08 Jan '08 13:24 Post subject: |
|
|
thats what I thought. I changed the apache port & it worked
Thanks! |
|
Back to top |
|
makanasi
Joined: 29 Mar 2008 Posts: 1
|
Posted: Sat 29 Mar '08 21:16 Post subject: cannot load apache with ssl |
|
|
hello n good day
i just install apache 2.2.8 on windows xp, and after some googlings i then try to configure the ssl
the problem is there appear the message 'The requested operation has failed'.
there is no error in 'sslerror log', but it is in the error log, which says:
[Sun Mar 30 03:03:15 2008] [error] Init: Unable to read server certificate from file C:/Program Files/Apache Software Foundation/Apache2.2/conf/ssl.crt/server.crt
[Sun Mar 30 03:03:15 2008] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Sun Mar 30 03:03:15 2008] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
Hopefully somebody can help.
Thanx
makanasi |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Sun 30 Mar '08 18:38 Post subject: Re: cannot load apache with ssl |
|
|
makanasi wrote: | Unable to read server certificate from file C:/Program Files/Apache Software Foundation/Apache2.2/conf/ssl.crt/server.crt
|
does that certificate exist? Does it work? |
|
Back to top |
|