How to get memcached working on Windows 7 for xampp? - windows

I'm trying to get memcached working, but I have failed. I've read many tutorials, but to no avail. This is what I get when I try to install through c:/xampp/memcached/memcached.exe
failed to install service or service already installed
I'm pretty sure that this is not installed. I checked the processes and it's not on the list.

you must run command prompt as administrator.
to do this in windows you can right click on start menu then click command prompt (admin)

Related

Docker for windows will not start [duplicate]

This question already has answers here:
Docker cannot start on Windows
(59 answers)
Closed yesterday.
I have installed Docker for windows as a complete noob looking to try it out.
I have ensured Hyper-V is enable, virtualisation is enabled also
any time I try and run the docker desktop the whale icon is red and it states that it could not start, and if I try to run a command like from cmd I get teh following error
error during connect: Get
http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/images/json: open
//./pipe/docker_engine: The system cannot find the file specified. In
the default daemon configuration on Windows, the docker client must be
run elevated to connect. This error may also indicate that the docker
daemon is not running.
I am at a loss as to how I can trouble shoot.
I have also noticed that the STATE when i list my WSL devices is always set as "Installing" even if I completely uninstall Docker through Add/Remove programs
I have had similar error and solved as follow;
In cmd, on admin mode run below command:
docker-machine restart default
if you see anything like: it is not exist then run: docker-machine create
Then you'll get a message something like:
open C:\User\{User_name}\.docker\machine\machines\default\config.json:
The system cannot find the file specified.
Go to the docker icon which will be on your windows tray (bottom right corner of the desktop)
Right click on the docker icon > Settings > Reset > Restart Docker
This solution worked for me. And reference for this answer:
docker cannot start on windows
Literally do as it says: launch Docker as admin.
Quit Docker, and ensure it is no longer running. You should be able to see if its running in the system tray. Right click -> Quit Docker Desktop
It may take a few seconds for it to stop. Wait for the windows notification:
Navigate to the installation directory, which for me was defaulted to C:\Program Files\Docker\Docker. Launch Docker Desktop.exe as admin
This will open the Docker UI. Wait for Docker to fully start up before attempting to consume its services
I had the same problem and here's how I solved it. Install the Docker and please follow brief instructions...
First - I enabled virtualization from BIOS.
Second - I downloaded and installed Linux kernel update package.
Third - Go to "Turn windows features on and off" window
Check whether following is checked...
* Virtual Machine Platform
* Windows Hypervisor Platform
* Windows Subsystem for Linux
You need to restart the PC and Docker will be working.
Please refer the following link and it will definitely give you more information - https://docs.docker.com/docker-for-windows/install/
Go to Powershell (run as administrator), and run this lines
cd "C:\Program Files\Docker\Docker"
./DockerCli.exe -SwitchDaemon
check if it set on Linux containers overwise switch to Linux
Have you tried running Docker using WSL2?
https://docs.docker.com/docker-for-windows/wsl/

Oracle bi config.cmd not run in windows 10

I am trying to install oracle bi on Windows 10.
I ran the install file and set weblogic and repository, but when I go to this directory:
C:\Oracle\Middleware\Oracle_Home\bi\bin

and try to run the config.cmd, the command prompt opens and immediately closes. It doesn’t show me the setup window.
How can I solve this problem?
Very simple solution: not trying to install OBI on an unsupported platform!
https://dimensionality.ch/2017/05/06/installing-oracle-bi-on-windows-7-8-10/
By the way the response in here will stay the same as on the Oracle communities ...
I had the same issue as you and I was to gave up but I decided I don't do it and I start to search for this problem. The first things to have to do is check your PATH JAVA_HOME. My native language is Spanish and my windows OS is in Spanish.
My JAVA_HOME was C:\Program Files (x86)\Java\jdk1.8.0_181 and I have a problem to time installing so I change by C:\Progra~2\Java\jdk1.8.0_181 then I restart my laptop and I open CMD as Admin and put cd C:\Oracle\Middleware\Oracle_Home\bi\bin because in this route was installed my OBI. After that just put C:\Oracle\Middleware\Oracle_Home\bi\bin>config.cmd and I can continue to the configure of OBI.
Progra~1 = 'Program Files'
Progra~2 = 'Program Files(x86)'
If you forgot anything, just enter to link to refer:
http://obieeil.blogspot.com/2015/10/installing-obiee-12c-on-my-windows.html
or
http://www.catgovind.com/obiee/step-by-step-obiee-12c-installation-on-windows-oracle-bi-publisher-installation-and-oracle-bi-analytic-installation/

Unable to Open/Install Git on Windows 10

When I open the file I downloaded from https://git-scm.com/download and then Windows, nothing happens. I've tried running it as a normal user and administrator but nothing happens. Not even a processor in the Task Manager opens.
What could cause this? Is it because Git hasn't been updated for Windows 10 yet, or is it something else? I just did a clean install of Windows 10.
Perhaps, you could try chocolatey (even if I'm not sure it will change something...) :
https://chocolatey.org/packages/git
Or the RC for the next to be released git for Windows :
https://github.com/git-for-windows/git/releases
Try running the installer from command prompt.
More details
This is what just happened to me. When double-clicked, or even ran as admin, Git-2.34.1-64-bit.exe shows this. None of those 3 buttons work.
The only thing that helped was running the file from command prompt.
This is a weird one.
Update
A similar thing just happened again with node-v17.3.0-x64. This time, I would get this screen even when running from command prompt.
But it would work just fine if the cmd.exe is ran as an administrator.
It's maddening.

installing behat on windows 7: not getting the autoexec

I'm trying to install behat on a Windows Virtual Machine, but I'm getting stuck with the windows command prompt. Here is what I did:
Installed xampp
Installed Composer for windows
Donwloaded behat using the git method (other methods do not
work for me) to C:\behat so that
C:\behat\bin\behat.bat and C:\behat\bin\behat both exist
open windowns control panel
search for "environment"
click "edit the system environment variables"
system and security > edit the system environment variables: add the the end of PATH "C:\behat\bin"
At this point I expect to be able to type in behat anywhere on my system using the command prompt as administrator, because the "bin" directory containing "behat.bat" is contained in the PATH, but typing in "behat" gives me "Could not open input file #bin_dir#\behatcd". typeing in behat.bat does not work either
I have never used Windows before so, this is probably obvious but I'm just not getting it.
Any advice greatly appreciated, thanks.
Albert
try typing
php behat
windows doesn't know behat is a php file and you need to tell it what to execute it with
Here you can find the step by step guide to install Behat on windows machine. openguider

ActiveMQ install issue

I am running win7 professional 64-bit. I have already installed java, and am trying to install ActiveMQ. The install worked perfectly on a Windows Server 2003 machine but now it is giving me issues on my win7 machine. I download ActiveMQ 5.3.2 extract the files and then try to run the installservice.bat file as administrator and it gives me the following error in command prompt: '"wrapper.exe"' is not recognized as an internal or external command, operable program or batch file.
I had the same issue when using Windows Explorer and right clicking on the InstallService.bat file and selecting "Run As Administrator".
However, this worked for me (without having to change my user control settings):
1) Open a command prompt (right clicking first with "run as administrator").
2) Then navigate to the folder where your batch file is and simply type InstallService.bat.
Ok I feel a little stupid answering my own question but here it goes. Turn off the user control settings in the control panel
I had the same issue with apache-activemq-5.6.0 and solved it this way:
Open cmd.exe as admin (click on Start, type in cmd, right click on the "cmd" program, and choose Run as administrator)
In the cmd.exe window, navigate to your apache-activemq-5.X.X root dir (which contains bin, conf, data, docs, ...)
From there, navigate to bin\win64
Your commmand prompt should show something like:
...\apache-activemq-5.6.0\bin\win64>
Still in the cmd.exe, run InstellService.bat
It does not work if you run something like win64\InstellService.bat while being in bin. You have to actually navigate to bin\win64 first.
The in case you are installing in win 64 bit 2012 Server too, run InstallService.bat under sys32.
Its little confusing but it works.

Resources