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

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!

Related

Windows 10 XAMPP Apache shutdown unexpectedly

I have some projects running with XAMPP on my computer and its running on Windows 10. I have been using XAMPP for the past 3 to 4 months with no problem at all, but yesterday suddenly after a windows update, it won't open the Apache server saying :
Error: Apache shutdown unexpectedly.
This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums
I have not been able to find a solution and i tryed many things I could find online, so please if anyone could help me?
EDIT**
I have rebooted my PC a couple of times since this happend and nothing changed! However i forgot to say while posting that the MySQL server is running like it used to! Apache server don't however.
EDIT 2**
I tried many things, such as uninstalling XAMPP and installing it back again, running Apache directly from CMD to check any errors (none were displayed), changed port configurations for Apache even tho port 80 seems to be listening and I also tried installing other XAMPP-like programs (such as MAMP, WAMP) but nothing really came out and no XAMPP-like programs worked! Does anyone have any suggestions?
Also, weird thing, XAMPP runs perfectly on my second PC (Windows 7), like it used to, but I want it in this PC, since here I do my development (The other is old and slow).
Also, now XAMPP seems not to throw the "red-line errors" in it's console, it is just saying:
[Apache] Attempting to start Apache service...
And it does not seems to change.
THIS ONLY HAPPENS WHEN I RUN AS ADMIN XAMPP!
I found the solution after diging to my log/error files and this is what is was displayed;
www.example.com:443:0 server certificate does NOT include an ID which matches the server name
pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: 'C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll' 14.0 is not compatible with this PHP build linked with 14.28 in Unknown on line 0
So i found a solution from anoher article at SO which you can find here

Windows could not start the Apache CouchDB service on Local Computer

I have installed CouchDB on my Windows machine but while starting the CouchDB service, I am getting a message like:
Windows could not start the Apache CouchDB service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the problem persists, please contact your system administrator.
As the service is not running, I am unable to access Fauxton too.
I am using Windows 7. CouchDB is 2.0.0. Port 5984 is not in use.
I don't think your question is a duplicate of https://stackoverflow.com/a/44107335/219187 because you are on Windows 7, and the problem described there is for Windows 10 with the creators update.
But maybe the solution fixes your problem as well? Here is the procedure:
Download the prelease build 2.2.4-101 from https://nssm.cc/download
Stop the CouchDB service through the Windows Services dialog (paused is not enough)
Overwrite nssm.exe in <CouchDbInstallDir>\bin with the one from the downloaded ZIP file (make sure you pick the right version 32 bit / 64 bit)
Start the CouchDB service
Issue it's happening since the last updates released by Microsoft. I'm not completely aware of what's causing it, but I think it's something related to CouchDB service not been able to start using Local Administrator rights.
However I've managed to start the service manually, by doing so:
Open Command Prompt - in the Search from the Start Menu or Task Bar type "cmd"
Run it as an Administrator - right click on the Command Prompt application and choose "Run as administrator" option /this is really IMPORTANT as it will allow the service to have administrator access/
Navigate to the folder where CouchDB is install - default path is "D:/CouchDB", but could be anywhere else; you have to find it
Go to the "bin" folder in there
Type "couchdb" as a command to start the service
You will see a message showing after this - "kernel-poll not supported; "K" parameter ignored"
If it adds some error messages after it or closes the whole terminal, you're making some things bad from this guide, so follow it strictly.
You can now open up the Fauxton application in the browser like normal from here - http://localhost:5984/_utils/
Keep in mind that you have to leave the cmd opened in order the service to be working as expected. As far as I saw no information was lost, so it's all good.
This is a temporary solution though, as we are waiting a relase from either Microsoft or Apache to solve the issue, or at least give us more explanation about it.
i just met the same problem.
the cause is space, you have to install CouchDB in a path without any space, even Program Files folder, because there is a space between Program and Files...

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.

WAMP Apache not starting up

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

Configuring WCF in IIS7 & Windows 7

I am having a problem when I try to browse WCF service (.svc file) which is hosted in IIS7 & Windows7. It throws following error.
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
I tried to run ServiceModelReg, but it say I should have admin rights in order to run this, although I am admin on this machine.
Does any one know how to resolve this issue.
FInally....
I am able to resolve this issue.
I ran following two command and it solved the problem.
aspnet_regiis -i & ServiceModelReg -i
Even though I am admin on the machine, I need to run this 2 commands by right click and select 'Run as Admin'.
Your issued is answered here. Trying to be short:
When you start the command prompt, can
you right-click on the icon to open it
and select "Run as Administrator"? I
don't know exactly what's the logic
behind that, but on Vista there are
two kinds of administrative users, one
"normal" administrator and one
"elevated" administrator. I'd guess
the tool needs the second kind.
and second
Also, Why do you need to run
Servicemodelreg.exe on VIsta?
Officially this is not supported on
Vista. Instead you can go to WIndows
features menu throught Add remove
programs and enabled Http Activation
under .Net framework 3.0 feature.
This will enable everything you might
want to do via Servicemodelreg.exe.
Edit
And also here.
If you go into IIS Manager and double click on Handler Mappings do you have *.svc paths listed?
If they are missing this link may help http://msdn.microsoft.com/en-us/library/ms752252(v=vs.90).aspx