Recently I had to wipe my Windows 10 out and re-install it. Now wamp's create virtual host is broken.
I am using latest WAMP server, and while creating virtual host through wamp functionality http://localhost/add_vhost.php?lang=english I am getting following error.
Warning: fopen(C:\WINDOWS/system32/drivers/etc/hosts): failed to open
stream: Resource temporarily unavailable in C:\wamp\www\add_vhost.php
on line 442
Seems like I can't edit hosts file. I tried manually editing it in notepad++ with administrative privileges but it didn't work.
Anyway to make the hosts file accessible and editable by wamp ?
Related
When I am trying to add a new Network Interface for Host only network, Virtual Box version :Version 5.0.22 r108108.
I am getting a following error:
Could not find Host Interface Networking driver! Please reinstall.
Result Code:
E_FAIL (0x80004005)
Component:
HostNetworkInterfaceWrap
Interface:
IHostNetworkInterface {455f8c45-44a0-a470-ba20-27890b96dba9}
Reinstall the Virtual Box and restart your system.
open virtual box -> select the default virtual machine-> setting -> network -> change host-only to bridged networking -> start virtual machine -> Open docker quickStart Terminal to connect
You must reinstall the driver.
Go to device manager, you will find an "unknown driver" missing then update it by pointing to this link:
C:\Program Files\Oracle\VirtualBox\drivers\network\netadp6\VBoxNetAdp6.inf
Existing answers didn't help me, but this did:
Open the Network tab of your VirtualBox settings.
Cycle through all Adapter tabs and make sure none of them points to something non-existent, even if the adapter is disabled.
For disabled adapters, enable them, set to Not attached, then disable again.
Save.
UPD: that didn't solve it. The solution was to reinstall VirtualBox like #ArpitArgarwal suggests, but simply repairing it didn't help. What helped was:
Manually uninstall existing VirtualBox.
Install VirtualBox, starting the installer with admin privileges.
1.Open Virtual Box with Run as administrator. Then it showing below snapshot error: 0x80004005 belongs to Failed to open a session for the virtual machine. Check with this error correct or not.
http://commandstech.com/how-to-resolve-failed-to-open-a-session-for-the-virtual-machine-error-code-0x80004005/
5.Now, the issue may be solved. If an issue is still pending then close it Virtual Box. Then open with Headless start option. It means that Restart the Virtual Box.
In some cases, (worked for me) running and getting the latest update of vbox fix the problem. And got the Host Interface Networking driver automatically installed.
The update I run was:
VirtualBox-6.0.14-133895-Win
Follow the below settings and it will allow you to configure Host-only Adapter-
Open VirtualBox Manager
Click on "File" -> "Host Network Manager"
Click on "Create".
Now you can select "Host-only Adapter" from Network tab of a VM.
Note: Screenshot taken from VirtualBox 6.0
I am new to WAMP and i have installed WAMP on a virtual machine and created a new directory in the WAMP folder and shared it with my LAPTOP so that i could access it on my laptop instead of the virtual machine but when i try to access it in the browser on my laptop i get a 403 forbidden error saying You don't have permission to access /mysite/wp-admin/options-permalink.php on this server. I have seen on other sites that i need to change the permission settings for the WAMP folder but I can't see how to do it anywhere.
I am trying to start wamp serve which was totally running fine on my laptop two weeks ago, but now after two weeks I suddenly get this error:
could not execute menu item(internal error)[exception] could not execute run action: the directory name is invalid
When I click on wamp, then I go to apache, then I select service then test port 80 and this is what I see:
when I write localhost, it goes there but when I click on Localhost and phpMyAdmin, i get this error:
please tel me how I can fix this . thanks
WAMP is trying to open your browser, but the directory in the settings is not correct. It could be that your browser is now located somewhere else. To fix this:
Edit the file wampmanager.conf inside your wamp direcotry.
Replace the full file path under the [main] section for the navigator parameter
Save the file
Right-click on the wamp icon and select refresh
Try it now
Good luck!
The paths are incorrect in multiple ini files and the wampmanager conf file. Here are the ones I changed since my installed moved from g drive to e drive. I had to change all instances of g:/ to e:/ as well as my chrome.exe location
wampmanager.conf:
in the [main] section update the path of chrome.exe or ensure it is correct.
wampmanager.ini:
change all instances of g:/ to e:/ (or whatever your install drive letter is)
php.ini (under /wamp/bin/php/php5.5.12/)
again, change all instances of g:/ to e:/ (change to your install letter)
Wampmanager started correctly once these changes were made.
I had a similar problem, and to get my WAMP server working again on my laptop I ran the executables for Apache and MySql independant of the WAMP system tray icon.
In Windows Explorer, I ran (elevated):
{wamp folder in my case C:\wamp}bin\apache\apache2.2.22\bin\ApacheManager.exe
This put the apache manager system tray icon in.
then I used the apache system tray icon to start apache server
Then I ran (elevated):
{C:\wamp}bin\mysql\mysql5.5.24\bin\mysqld.exe
This allowed me to use localhost\phpmyadmin, which to me demonstrates the php, mysql and apache are all working.
My web app was also back and running.
The age of my MySql version and apache version show how long this had been stable for.
I initially thought the problem may have been caused by a google chrome upgrade which included the notifications icon in the system tray, as the chrome upgrade was the only thing I recall changing. I unistalled chrome but this did not fix it - although this does not rule out Chrom Notifications being what broke it!
This appears to be an oversight on the WAMPSERVER developers. For some reason it does not translate the file path syntax from Linux to Windows, resulting in the following error message:
Aestan Tray Menu: Could not execute menu item (internal error)
[Exception] Could not execute run action: The directory name is invalid
To fix this, edit wampmanager.conf and replace the forward slashes in the file path with backslashes.
EXAMPLE:
Incorrect
editor ="C:/Program Files/Sublime Text 3/sublime_text.exe"
Correct
editor ="C:\Program Files\Sublime Text 3\sublime_text.exe"
Save the file, then right click the tray icon and select "Refresh". You should now be able to edit your files with your selected editor without issue :)
i have met this problem and fixed by editing 4 files
- wampmanager.conf in root
- wampmanager.ini in root
- php.ini in (wamp64/bin/php/php5.5.12)
- httpd.conf in (wamp64\bin\apache\apache2.4.18\conf)
I am trying to install wamp server (following is the exact setup name) on windows 7, 64Bit OS. But it never starts, icon stays in green color meaning services start.but it is not working.
Possibilities
WAMP use port 80 : Is there any other process running which might use port 80. Skype use this port. Do you have skype ?
If the Wampmanager icon in the system tray is Orange then one of the services has not started.
Look at your MySQL error log and Windows Event Viewer, for error messages from MySQL, that should tell you what the problem is.
If you tried installing Apache and MySQL independantly before you installed WAMPServer make sure they are both properly uninstalled. Also check there is no my.ini file anywhere on your system except inside the C:\wamp folder structure.
I got halfway through installing a security patch for CF801 ent (http://kb2.adobe.com/cps/890/cpsid_89094.html) on a windows 2k8 server + iis.
I made a backup copy of the WEB-INF directory as instructed. Then I tried to merge the new WEB-INF provided by Adobe. It hung up on one particular file (C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\lib\cfmx_bootstrap.jar), with the error:
Cannot delete output file (above file).
So, I tried renaming the file and got the error:
The action can't be completed because the file is open in jrun.exe.
I have stopped the server via JRUN launcher, so where could the file still be open. I tried rebooting the server in case there was something still running in the background. Error persists.
I'm new to enterprise multiserver installs, so I may be missing something basic.
Resolved: Stopping the server instance via JRUN Launcher doesn't shut the coldfusion server. I needed to stop it in services, which I tried originally, but I wasn't used to the way CF with JRUN was appearing in the services (It appears as "Macromedia JRUN CFusion Server", whereas I had been looking for services beginning with "ColdFusion" or "Adobe"). Once I found the service and stopped it, I was able to overwrite the file.
Offhand, I would try setting all the ColdFusion services to start manually instead of automatically, and reboot. Install the security pack, set the services back to start automatically, and reboot again.
HTH.