WAMP Apache not starting up - apache

I've trawled through the boards but cant find a solution to my problem.
I've run a netstat, and nothing else is using port 80. I have disabled every bit of security on my system, just to be doubly sure nothing is stopping it.
MySQL boots up just fine, but Apache does not start up. Using the built in port 80 tester also says that port 80 is clear, but when I click the start service button on Apache in WAMP nothing happens.
Any help is appreciated.

Run cmd.exe as administrator. Then execute:
httpd -t
httpd -k start
Are there any error messages displayed?
If not, temporarily disable any firewall and anti-virus software you have. Try again.
If you're still not getting any error messages, uninstall your WAMP and try one of the other distributions - http://en.wikipedia.org/wiki/Comparison_of_WAMPs

I have had the same problem but I have resolved it by logging out of Skpe, stopping Skype's service called Skype C2C Service and started wampapache Service. After I started wampserver, I then logged in Skype After. Both Skype and amperver work well after this process

Ok just do one thing. If you are running skype then close it. restart all services, It might work as it worked for me.

Some times this occurs when Windows Event log Service is disabled.
I recently faced the same problem,and browsed various answers around web in vain.
But later I remembered that I disabled Windows Event Log Service in Oder to run a game smoothly.So I Enabled that service again and now every thing is working fine.

Download and install vcredist_x86.exe from http://www.microsoft.com/en-us/download/details.aspx?id=8328

I opened up services.msc from the command prompt and disabled SQL Server reporting services
& SQL Server analysis services. These services were using port 80.
Then I restarted WAMP Server and it started working properly as before.

Check DocumentRoot directory location if it exists.
DocumentRoot "C:/wamp/www/"

I have solved my problem just following the below steps. Hope this will help to you.
Go to Wamp/Apach/httpd.conf
Under httpd.conf search for Listen in my case its Listen 0.0.0.0:80
Just change the last digit that means your Listen will be Listen 0.0.0.0:81
Save the file, after that start Apache
Thanks,
Amzad

From time to time, with the updates, Microsoft set the 'World Wide Web Publishing Service' startup type to 'Auto'. Try to see if that is your case.
Right-click on your Start button to open the WinX Menu. Select Run. This opens the Run box. Now type services.msc in it and hit Enter to open the Services Manager.
Locate that service and edit with double-clik then set the startup type to 'Disable' to avoid it comes into conflict.

hi the solution is simple.
all you have to do is to right click on wampserver icon on the taskbar and select exit.
after doing that right click on the wampserver.exe icon and select run as administrator option from the context menu.
that's it.
it will solve your problem

Related

Apache won't start in Windows 10

I got a new Windows 10 PC and installed XAMPP, but Apache won't start. There is no "World Wide Web Publishing Service" in the "Services" tab - that's not the problem. How do I get Apache to start?
Skype has taken over port 80.
In Skype, go to: Tools > Options > Advanced tab > Connections, uncheck "Use port 80 and 443...", and restart.
Very Simple. When you start your XAMPP, you will get an error message in the log box below your control buttons. It will tell you that another process is using that port with a given PID.
So, what you can do is, open Task Manager and go to Details and then sort the order by PID, then find the given PID and end the task.
Comment here if you need more details. I shall share it with screenshots!

Apache Server (xampp) doesn't run on Windows 10 (Port 80)

I have installed the Windows 10 Insider Program. Everything works, except Apache. When I try to start it, it says that port 80 is blocked. Is there a way to unblock it or tell Apache to use another port instead?
I was using Windows 7 before. I had trouble with port 80 with skype, but i have disabled it.
I had the same problem on windows 10, IIS/10.0 was using port 80
To solve that:
find service "W3SVC"
disable it, or set it to "manual"
French name is: "Service de publication World Wide Web"
English name is: "World Wide Web Publishing Service"
german name is: "WWW-Publishingdienst" – thanks #fiffy
Polish name is: "Usługa publikowania w sieci WWW" - thanks #KrzysDan
Russian name is "Служба веб-публикаций" – thanks #Kreozot
Italian name is "Servizio Pubblicazione sul Web" – thanks #Claudio-Venturini
Español name is "Servicio de publicación World Wide Web" - thanks #Daniel-Santarriaga
Portuguese (Brazil) name is "Serviço de publicação da World Wide Web" - thanks #thiago-born
Alternatives :
Another solution is to shutodwn the service via an admin console with command sc stop W3SVC
see community wiki from Tobias Hochgürtel Apache Server (xampp) doesn't run on Windows 10 (Port 80)
Edit 07 oct 2015: For more details, see Matthew Stumphy's answer Apache Server (xampp) doesn't run on Windows 10 (Port 80)
This answer is intended as an addendum to the highest rated answer on this thread by paaacman. I just wanted to add some helpful detail for users like myself who don't know their way around Windows 10 as well.
Windows 10 runs IIS (Internet Information Services, Microsoft's web server software) automatically during Startup on Port 80. In order to use Apache Server on that port, IIS must be stopped.
paaacman's response refers to the IIS server as "W3SVC", or the "World Wide Web Publishing Service". I suppose that's because Windows 10 runs IIS as a service. In order to disable it or modify how the service runs, you need to know where to find "Services" in your system.
I found the easiest way there was to click on the search button next to the start menu button in the Windows 10 taskbar and type "Administrative Tools". You can either hit return or click on the "Administrative Tools" link that Windows finds for you.
A control panel window will open with a list of tools. The one you want is "Services." Double-click it.
Another window will open called "Services." Locate the one named "World Wide Web Publishing Service." Some other users in this thread have listed what it is called in other languages, if your list is not in English.
If you only want to turn off the IIS server for this Windows session, but want it to run automatically again the next time you start up Windows, right-click "World Wide Web Publishing Service" and choose "Stop." The server will stop, and Port 80 will be freed up for Apache (or whatever else you want to use it for).
If you want to prevent the IIS server from running automatically when you start up Windows in the future, right-click "World Wide Web Publishing Serivce" and select "Properties." In the window that appears, locate the "Startup type" dropdown, and set it "Manual." Click "Apply" or "OK" to save your changes. You should be all set.
With Windows 10 IIS runs on Port 80 by default which can be changed:
Run appwiz.cpl use Turn Windows features on or off and install the IIS Manager Console.
Run InetMgr.exe and go to "Connections -> Sites" and open with right-mouse click the context menu on the default entry "Default Website". In Context Menu select "Bindings" to open the Server address and port configuration.
https://technet.microsoft.com/library/hh831681.aspx#Site_Bingings
I had the exact same problem and solved it running the folowing command from the command line as an admin :
1) first stop the service with the following
net stop http /y
2) then disable the startup (optional)
sc config http start= disabled
Type in command line
netstat -aon | findstr :80
You'll see PID of process which uses port 80.
Then try to configure this app to use another port, or just kill it
UPDATE:
I'll write my comment here to be more clear: according to this link, in Windows 10, it is the MsDepSvc service which occupies port 80. It's for IIS or Web Matrix 2. If you will not use IIS or Web Matrix 2 for any web development, you can try shutting down the service
And for the second part of your question, you can tell Apache to use another port by editing [Apache folder]/conf/httpd.conf. It has "Listen 80" string. Change 80 to whatever free port you want and reload Apache
You may need to terminate SQL Server Reporting Services as well.
In my case I need both XAMPP for Apache development & IIS Express for .Net 2013 development; so I do the following:
In Command Prompt typed services.msc, this loads "Windows Services" where I located "World Wide Web Publishing Service" and stop it.
World Wide Web Publishing Service STOP
The I start XAMPP Control Panel click on "Config", then choose "Apache httpd.conf". Search for "80" then change that to "8080" in both "Listen 80" and "ServerName localhost:80". Save the file from "Save As" & choose "All files" to not save it as text from "Save As Type" & the "Encoding" should be "UTF-8".
Apache httpd.conf
Quit XAMPP Control Panel, then start it again and from "Action" start Apache & MySQL. Now you will see the port changed. As you know now you have to get to your Apache server by using "localhost:8080" instead of "localhost". Also you have both Apache & IIS Express running in the same Windows 10 PC.
I read a post some where were the writer suggested to use port "9080" but it did not work for me.
The problem happens whenever a process uses port 80.
You can run Netstat which is available in XAMPP Control Panel and check which process uses port 80 in your system.
For me it wasn't IIS, but Skype.
Turn off that process/application and then start the Apache services.
I know that maybe this problem was resolved but I had the same problem with different solution. For that, I am going to explain another possible solution. In my case, the port 80 was occupied by Skype (pid: 25252) and I did not know what programme was.
To see the program's pid which is using the port 80 you can use the command that other people said before:
netstat -aon | findstr 0.0:80
To kill the process using the pid (in the case that you do not know the programme) you have to open the CMD with administrator permission and use the next command:
taskkill /pid 25252
Other options with this command are here.
I think it simple to change your Apache server port
Go to C:\xampplite\apache\conf
Open httpd.conf files
Search for Listen 80
Change 80 to any other like 9080
Now XAMPP restart try to start server
NB I am using Server version: 5.1.41 with windows 10
I know this MIGHT not be the cause of your issue, but I've spent a few hours hitting my head against the wall to solve this issue and this is my solution.
(running Windows 10 x32)
So I had installed XAMPP in a deeply nested directory and all the conf files make reference to root\xampp\apache, whereas my files were some_dir\another_dir\whatthehelliswrongwithme\finally\xampp\apache
so my options were to either go through and edit all \xampp\apache references and point them at the right place, OR, the much simpler option... reinstall XAMPP at the root, so the references all point to the right place.
A little annoying, but I guess that's what we get when Mac and Windows try to be friends..
Hope it helps a few of you.
In case you need to run IIS on port 80/443 but on different IP address, you may use netsh http add iplisten xxx.xxx.xxx.xxx as described here:
https://support.microsoft.com/en-us/help/954874/iis-binds-to-all-ip-addresses-on-a-server-when-you-install-iis-7-0-on
More details about netsh http add iplisten can be found here:
https://msdn.microsoft.com/en-us/library/windows/desktop/cc307219.aspx
Shutting down "some system process" may be tricky... you should rather edit the [Apache folder]/conf/httpd.conf as mentioned by #Sergey Maksimenko and if you want to configure virtual host, use the new port in [Apache folder]/conf/extra/httpd-vhosts.conf (I used 4900 instead of 80 and 4901 instead of 443 in [Apache folder]/conf/httpd-ssl.conf). And remember to use the port when accessing page on localhost (or your virtualhost), for example: localhost:4900/index.html
This fixed node.js not running on port 80 under Windows 10 as well, I was getting a listen eacces error. Start > Services, find "World Wide Web Publish Service" and disable it, exactly as paaacman described.
I had the same issue and none of the above solutions worked for me.
Apache uses both ports 80 and 443 (for HTTPS) and both must be ready to be used for Apache to start successfully. Only port 80 might not be enough.
I found in my case that when running VMWare Workstation I had the port 443 used by the VMware sharing.
You have to disable sharing in the VMware main Preferences or change the port in this section.
After that as long as you have no other server hooked to the port 80 (see above solutions) then you should be able to start Apache or NGinx on XAMPP or any other Windows stack application.
I hope this will help other users.
While many are taking the approach to stop/disable IIS, it may be helpful to know that you can simply modify the XAMPP port, which has been answered here. This is the route I had to take as I need both running.
Beside the quite obvious reason (IIS), there is another reason that is common enough for this problem. It is worth to quote this question and its answer here:
http://stackoverflow.com/questions/22994888/why-skype-using-http-or-https-ports-80-and-443
So, if you have Skype installed in the computer, be sure to check this as well. The solution is quoted here:
To turn off and disable Skype usage of and listening on port 80 and port 443, open the Skype window, then click on Tools menu and select Options. Click on Advanced tab, and go to Connection sub-tab. Untick or uncheck the check box for Use port 80 and 443 as an alternatives for incoming connections option. Click on Save button and then restart Skype to make the change effective.
First, open regedit run as administrator
see image
open HKEY_LOCAL_MACHINE\SYSTEM\CurrentCurrentControlSet\Services\HTTP
open Start, change value from 3 to 4
see image
then restart your computer

when start apache service wamp could not execute menu item access is deined

Environment:
Windows 8
WAMP 2.4 x86
Installed all those C++ lib packages saw in other posts
Troubleshooting done:
No error logged in either SQL / Apache error logs
Did not see any WAMP related service report in the windows event viewer
port 80 is NOT in use
Re-installed WAMP after install the packages
Error:
Received no error when try to click start serivice for mySQL,
but it will not start anyway,
since after I clicked it, the stop icon for mySQL is still grayed out.
and the main problem will be error message popup
when start apache service wamp could not execute menu item access is deined
I am pretty confused at this point as all the others nly have error message of service not starts, but I have error of access is denied as well when start Apache.
I don't know how to troubleshoot further to find the core issue....
Thanks
Silly Me.... forgot to copy the files INSIDE the www and data folders into the new location lololololol
The only step I missed..... Now it works perfectly :)
SO yea, whoever follow about steps and done above + copying those files in the original folder, the setup definitely will work!

ZendServer 6 enable to open administration Console

I work on MacOS X.8 and since a couple of days each time I try to open administration console, this message display
Unable to connect to
http://localhost:10081
I can access the websites at 10088 just fine.. and all local test sites are working.
Do you know why?
Thanks for helping
There are few possible reasons to have that error:
You turned on your firewall on your mac? - Just disable and try again if this is the case...
Zend admin console's web server process is down/ not starting up. - In this case just open your terminal and type cd /usr/local/zend/bin/ and sudo ./zendctl.sh restart and watch for any errors if you get any.
Good luck.

Oracle 10g express home page is not coming up

I installed Oracle 10g express. Installation went well, But the home page is not coming up.
I can connect using sqlplus but not with Sql Developer.
I checked tnsnames.ora and listener.ora everything looks fine.
Listener is also started. I can always reinstall and see. But I thought better inquire the cause.
Regarding the home page. This is the address that comes up in browser. Localhost:8080
http://127.0.0.1:8080/apex
I did a netstat to see whether there is any port conflict for 8080, but that port is not in use.
Have anybody faced this issue?
Yes. It is practically a FAQ on the XE Oracle forum.
Firstly, can you connect to Oracle using
sqlplus user/pass
If so, Oracle is up an running (which appears to be your situation, but may not be for a future reader with a similar problem). If not, you can try
sqlplus / as sysdba
startup
Once Oracle is up, check that the listener can see the Oracle instance by
sqlplus user/pass#xe
If not, then either the listener is not up, or the 'listener does not know of the service'. Make sure the listener is started (lsnrctl, then start). Make sure the database is registered with the listener
sqlplus / as sysdba
alter system register;
Now you should be able to connect using the '#xe' syntax. Worthwhile verifying the embedded PL/SQL gateway is set up to use the 8080 port
select dbms_xdb.GETHTTPPORT from dual;
On Windows you can use netstat -ab to see if tnslsnr.exe is listening on the port.
Then I'd suggest looking at browser settings (specifically any proxy settings that might be forwarding your request to a machine that has no idea what to do with it) and firewalls (which could well be set to ignore or hide any access to the port).
I had the same problem. I tried this and it sorted out my problem...
1. goto start->run
2.type services.msc and hit enter
3.In the applet that opened, scroll down(in right pane) to figure out the option of "OracleServiceXE" and right click on it. 4. In general tab do->>> startup type "Automatic" and click the "start button".
5. Repeat step 4. for the option "OracleXETNSListener".
close the window.
now, i hope, the problem should be solved....
Check your windows firewall,If it is on it blocks the opening of the homepage.Either you shut down the windows firewall or allow these following ports :
1521: Oracle database listener
2030: Oracle Services for Microsoft Transaction Server
8080: HTTP port for Oracle XML DB and the Oracle Database XE graphical user interface
See software requirements in the below URL:
http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm#BABEBCDB
It worked for me!
Try this ( I'm assuming Windows system )
using
netstat
without anyother parameter would tell you if port 8080 is already open.
Also you can try this:
telnet localhost 8080
If the server answers ( the screen goes blank [or black] ) then the server is up and running.
Try using your hostname instead of localhost.
See if you're using a proxy and not skipping the local addresses.
Also you can see what's the executable that starts the home page and see if it could start successfully.
Thanks for the response guys.
I finally figured out how to solve the issue, but not really the root cause.
Problem 1 - Can not login to oracle admin console.
It was the problem with not adding 127.0.0.1 in the IE intranet sites.
Go to tools>internet options>security>local intranet sites>advanced>
add http://127.0.0.1:8080/apex in the list.
It works fine after this.
But if I go back to the same place again and see the sites, I cant find the url I added sometimes back... Dont know why that is happening. May be some company security is messing up.
Anyways the admin console is now coming up.
Problem 2 - Cannot connect using SQL Developer.
After I did the fix for problem 1, this is also magically working.
I still don't know how security settings in IE affects SQL Developer?
Any comments on this?
hey guys one important fact if u r using IE7 (explorer7) then u wd face certain problem in using 10g, such as not displaying home page.
For Windows 8 simply click on Get Started With OracleXE.... When internet explorer opens up, select the View on the desktop option in the Page View icon (icon with a wrench).
You should now be able to view your page.
I had a similar problem, I was able to connect to SQLPLUS using terminal but on access in browser as it was showing error as you have described. So, I went back to terminal and mounted my database using
startup
and it resolved my problem. This might be the case.