Adding a Host on CloudStack development environment - apache-cloudstack

I set a CloudStack development environment on Ubuntu 12.04 according to [this]
It works well, but I can't add a host through the management server UI.
I tested on released binary one, It could add the hosts. (Hypervisor: KVM)
I confirmed the log on terminal while the management server is running, It just said "unable to add host".
How can solve this problem?

Send this question to the Apache CloudStack developer mailing list.
Be prepared to provide a copy of the command you used to start the management server, the exact text from 10 lines before and 10 lines after the "unable to add host" message, and a copy of any exceptions that occured before this message.

I solved myself!
That's because of version. My CloudStack management server source version from GitHub was 4.2.0. But agent version was 4.1.0. So I changed source version 4.1.0. And, It was working well.

Related

Could not acquire management access for administration. Runtime Error: Unable to excute command chcp

I installed MySQL workbench 8.0 in windows 7. After the installation I just clicked server status its through the error like Could not acquire management access for administration. Run-time Error: Unable to execute command chcp. Please make sure that the C:Windows\System32 directory is in your path environment variable. How can I solve this error?
I solved the same problem on enable the parameter "Beta : Use UTF-8 for worldwide language support" in Control Panel > Region > Administrative > Change system locale...
It's disturbing because it's have nothing about the PATH environment variable. But it's work.
Notice that I working on french environment and MySQL Workbench 8.0.24 version.
To resolve this problem on 64 bit system we have to follow two steps.
add environment variable path to C:\Windows\System32
we need chcp.com cmd file in C:\Windows\SysWOW64
copy it from C:\Windows\System32 path and paste in C:\Windows\SysWOW64
now close mysql workbench and reopen it.
Hope you got the answer.
I've reproduced the same issue by clicking server status:
Could not acquire management access for administration
RuntimeError: Unable to execute command chcp. Please make sure that the C:\Windows\System32 directory is in your PATH environment variable
and after click cancel was:
Error during ""
error calling Python module function WbAdmin.openAdminSection
using MySQL Server 8.0.23 & MySQL Workbench 8.0.23 for 64-bit OS Windows 10.
Notice: all environment variables were configured correct in my case.
Solved it only by reinstalling and using another version like MySQL Workbench 8.0.20, but I'd really recommend also downgrade version of server to MySQL Server 8.0.20 to avoid other bugs, e.g.: creating/deleting schemes and so on.
The same version should match all products to work correctly.
Found solution for system non english language users! After failing in all attempts seen issue here: Mysql Bug Forum, where told that the problem is in unicode python codec error. So mine solution as for cyrillic language user was to set Windows administrative language for the cases when utf-8 is unavailable, see screenshot below.
"System language old value was Russian, after changing to English (USA) everything started to work.
Also watched Workbench logs - there was a python exception for the ascii codec. Thats all, hope this will help.
Add the 'C:\Windows\System32' to the PATH environment variable.
Make sure you add it to PATH and not to Path.
The solution of this problem for me was this:
Start the workbench community installer after installing the program you will go to this window enter image description here then you start the option of MySQL Server the option of "Reconfigure" and you accept all the options and create a new password (if you didn't make it before), execute the final screen and you are ready to use workbench :D
Had the same error for Windows 10. For me solution was to reinstall MySQL Server 8.0.24 and to enable option in installer "Configure MySQL Server as a Windows Service". Didn't have this option marked in the first installation, so I assume the problem was in this(there were no service for it, so after system restart MySQL Workbench 8.0 CE gave an error).
As mentioned before there are 2 possible fixes:
Change system locale to English(US)
Use Workbench ver. 8.0.22 or lower (error appears on vers. 8.0.23+)
Just add the C:\Windows\System32 to the Path, and the problem will be solved!
Don't forget to add ";" to separate addresses.

Installing 32 and 64-bit Oracle client but 32-bit installer crashes

I am trying to install Oracle 12c instant 32-bit client alongside my 64-bit installation because I can't connect Visual Studio to the 64-bit version (throws BadImageFormatException). I run the installer and give it another directory for home, so it's like this:
64-bit: D:\app\MyUser\product\12.1.0\dbhome_1 (previously installed)
32-bit: D:\app\Lazar\product\12.1.0\dbhome_x84
The installer performs the checks and sends me to next step. I click install and it crashes!
Can someone please help?
I've actually run into the same problem. It looks like it is some sort of issue with the registry.
It appears to be a missing registry entry for the location of the Oracle Inventory. The below blog explains the following steps to add the missing registry key:
Open regedit
Go to HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node
Create a new key with name "Oracle"
Go to Oracle and then create a new String Value with name "inst_loc"
Give the value as "C:\Program Files (x86)\Oracle\Inventory"
Retry installation
This blog post has more detail on the fix (though not much) and is where I originally found my solution.
https://oracledba1949.wordpress.com/2016/03/11/oracle-12-1-0-2-32bit-client-installation-on-windows-2012-x64bit/
I also had the same issue and finally realized that Oracle installer doesn't support both 64bit and 32bit versions alongside. At least as you have mentioned in the question, it has got a bug. Here how I resolved the problem.
Hence both 64bit & 32bit versions unable to install alongside, first, uninstall the 64bit version.
Run the command %ORACLE_HOME%\deinstall\deinstall.bat
If any errors occur while uninstall, refer to the log and correct accordingly.
Recommend to restart the computer.
Install the 32bit version.
This will resolve your problem.

Docker pull shows "Unknown blob"

I'm trying to pull microsoft/aspnet image. It tries to download something and shows the progress. But then it shows an error - "Unknown blob".
How I can solve this?
P.S. I have docker client and server v1.12.2
Your docker version is 1.12.2 which does not supports Windows Containers, which means you are running Linux Containers in the VM. And you are pulling a Windows container based image so either update your docker to the 1.13.0 beta version which supports Windows Containers and pull this image or find a linux based image of .Net.
To see how to switch to Windows Containers, see this GIF
You must download and install latest docker from here
and switch to windows container.
read more
The problem is not Windows/Linux cross compatibility. A Linux client can pull Windows images, though it cannot actually launch them.
The issue 'unknown blob' is most likely image corruption. Refer to other answer that mentioned that your image name is deprecated.
You're trying to download a windows image to a Linux host.
I'm assuming you're running the docker host within a Linux VM.
If you have access to Windows Server 2016 use that.
try
docker pull microsoft/aspnetcore
Microsoft changed the names of their Docker Hub Repos in the last months so it is not so easy to find the right ones.

Installing MeteorJS on Windows

I've been trying to install Meteorjs on windows but error occurs. I already tried downloading another installer and restarting my computer but it doesn't work. It always pops 'failed to contact install server. Please try again' then displays the message 'One or more issues caused the setup to fail. Please fix the issues and then retry setup. For more information see the log file.'
Under that it displays '0x80070643. Fatal Error during installation.'
what to do with this?
One option is to run meteor preview for windows. Believe it is a standalone copy of meteor 1.1
https://github.com/meteor/meteor/wiki/Preview-of-Meteor-on-Windows
(this doesn't address the issue of connecting to server though because when you try to create a meteor account you get a similar error).
there definitely is a way to install through command line on windows (which annoyingly I can't remember from my other machine). Perhaps through npm...
Try to run the package as administrator.It works!
Try this guide.
Download .zip, then unzip and set path environment variable.

Mono.ZeroConf Windows

Hello i started off with a tutorial from Mono ZeroConf
When my code reahes the line
ServiceBrowser browser = new ServiceBrowser ();
i get a SystemException
System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running.
So how do i run the necessary deamon or provider (on windows)?
You need to download and install Bonjour for Windows. On completing the setup the deamon should start automatically. Many of the available Mono.Zeroconf binaries are out of date and contain bugs. However, you can download and compile the latest version from github.

Resources