Error while installing Elasticsearch 5.6.4 as a Windows service - powershell

This is ridiculous:
I downloaded the ElasticSearch 5.6.4 zip file from the official website, unzipped it into a folder and then run the command
./elasticsearch-service.bat
in both PowerShell and standard Windows console
The output is an error message:
Syntax Error
I haven't change anything, just downloaded and run it out of the box. Adding the install and servicename parameters doesn't change anything

I've just encountered with the similar issue. Although the error message is different. It is something like
'x64).exe' is not recognized as an internal or external command
Try to run .bat without ./ prefix.

Related

Parallels - File path not recognised on command prompt

I recently installed parallels desktop on my Mac and am trying to cd some code files from the downloads folder but I get many errors.
I have tried many paths like:
C:\Users\name>\Mac\Home\Downloads\DNS
C:\Users\name>\Downloads\DNS
Nothing seems to be working I get the following errors:
'\Mac\Home\Downloads\DNS' is not recognized as an internal or external command,operable program or batch file.
The system cannot find the path specified.
Can someone help me?

Ansible Community Edition - Error "failed to find required executable at in path /sbin/"

I am using Ansible Community Edition on CentOS 7.
I wanted to run commands periodically and using at plugin which is part of ansible.posix.collection.
When I refer in playbooks like
- name: check size of disk
ansible.posix.at:
...
... not giving the full script here
It gives an error "Failed to find required executable at in path".
Can someone suggest here? I do not know how to point at plugin which is not part of ansible-core to $PATH, if that solves the issue.
This is because the program at should be installed on the managed machine and available under one of the paths in the $PATH variable.
See the section "Requirements" here : https://docs.ansible.com/ansible/latest/collections/ansible/posix/at_module.html#id2

MATLAB Runtime installer on Ubuntu

I try to install Runtime in MATLAB using the command
compiler.runtime.download
But I got the following error:
Error using compiler.runtime.download
Unable to open output file:
'/home/amaa11/.mcrCache9.7/../MCRInstaller9.7/MATLAB_Runtime_R2019b_Update_4_glnxa64.zip' for writing. Common reasons include that the file exists and does not have write permission or the folder does not have write permissions.
Even I run MATLAB using sudo command, still got same error.
I tried to download it and then I install it, but still does not work.
How can this be solved?

Installing plpythonu on Windows

I'm trying to install plpython on a postgres server on a Windows machine. When I issue the command CREATE EXTENSION plpython3u; in postgres, I get the following error, which I'm trying to find the source of.
ERROR: could not load library "C:/Program Files/PostgreSQL/9.3/lib/plpython3.dll": The specified module could not be found.
This file exists, which I presume means that Windows can't find one of the files it depends on. When I open the plpython3.dll with Dependency Walker, it tells me it can't locate the GPSVC.dll.
Is it likely that this missing dll would cause the CREATE EXTENSION command to fail? I found a .dll with the same name in C:\Windows\System32 and copied it over to C:\Windows\SysWOW64, but this did not resolve the probelm, and although dependency walker now finds the .dll, it raises several other errors about having modules with different CPU types.
I know this is an old question, but thought I would post to save someone the headaches I went through trying to fix this...
I had the same error trying to add pl python using Postgres 9.5. Dependency walker showed that plpython3.dll was looking for python33.dll, so I installed python 3.3 and added the install directory into my path and that seems to have fixed the problem.
Use specific python version on Windows. I could get it running with python 3.2.x with postgres 9.3

How can we upload log files from a failed .msi install (Using WiX to create)

We have a problem with our current installer for a browser plugin where a small percent of our users try to install it but the .msi install fails. The issue is we can't get the logs back from them as it is an anonymous download and our QA computers aren't getting this issue. We know they fail as we have log file in JS from before the download and a survey response after saying they tried to install it.
I have searched around but haven't found an answer on how to have an automatic upload of log files on failure of a windows .msi install.
The best solution I have seen is in WiX, we can create a shell script action after the install and then use PowerShell or bitsadmin to try to upload a specific log file from the commandline if we can find it in the temp directory, however this does not seem to be a clean or reliable solution.
Being able to PUT or POST it anywhere would be fine.
Any help is appreaciated.
If you set the MsiLogging property to something like "voicewarmupx", you can later use the property MsiLogFileLocation to get the log file location. This supported in Windows Installer 4.0 and higher.
If a batch file or PowerShell script isn't giving you the programmability you need, you can create a custom action that retrieves the log file and sends it to you.