Errors while installing the WSO2 App-factory 2.1 - wso2

Errors while installing the App-factory
I followed the link : https://docs.wso2.com/display/AF210/Installing+the+Products+on+a+Single+Server
When I run the setup script it gives me lot of failure message. ( Attached Screenshot While_running_setup_in_single_server)
sudo bash setup.sh

Related

Virtualmin Installation getting conflicts between attempted installs error

Installation of Virtualmin on CentOS7 Running VPS. Getting following error when running the installation script. Removed all PHP versions also.
I tried following methods to resolve this issue
Clearing cache
Removed all PHP versions via yum commands
When Try to remove "php56u", getting following error
Error

Problem with aws cdk on Windows 10 Home Edition (Code: 800A03F6 Source: Compilation Error in Microsoft JScript)

I am installing aws-cdk on windows 10 home edition using powershell as administrator.
After successful installation and calling cdk - version, I keep getting error messages from the Windows Script Host:
Script
C:\Users..\ApData\Roaming\npm\node_modules\aws-cdk\bin\cdk.js
line 1
Character 1
...
Code: 800A03F6
Source: Compilation Error in Microsoft JScript
To solve the problem
I tried npx -p aws-cdk cdk --version.
I uninstalled node and aws-cdk, restarted windows and reinstalled everything.
Everything without success.
Error 800A03F6 can mean anything and only occurs in connection with cdk --version command. I don't have a proxy and have used an antivirus program.
I just fixed this problem by changing the path in the environment variable:
https://stackoverflow.com/a/67566915/12408270
change environment variable PATH to:
C:\Users\${your_username}\AppData\Roaming\npm

Trying to debug native iOS App with VS 2019

I'm trying to use VS 2019 to install and debug a native iOS project.
I 've followed instructions from here, installed Node from here.
The app builds and installs to my device (note: only over USB. If trying in WiFi mode, I got an error Failed to fetch the first device. Reason: Cannot read property 'name' of undefined).
However the application won't run. Tried (from here):
sudo chmod 777 /var/db/lockdown
brew uninstall ios-webkit-debug-proxy
brew uninstall ideviceinstaller
brew uninstall libimobiledevice
brew install --HEAD libimobiledevice
brew install --HEAD ideviceinstaller
brew install --HEAD ios-webkit-debug-proxy
At the OSX level my console looks like this:
Device.installApp executing command: /usr/local/lib/node_modules/vcremote/node_modules/ios-deploy/build/Release/ios-deploy --id 355c4a7afbd0e98ac9596c146fa1d051e9b2b3fe --nostart --bundle "/Volumes/DATA/r/F/ITOOLS/Tralala/Tralala/ARM64/Debug//Tralala.app" --timeout 5
Installed app on device: 'iPad'
GET /projects/2df69712-b4b8-43f3-9ada-fc50ca3fa6b1/build/ce4ed9aa-f673-4c78-99cb-968e2dc5bb7c/install?ver=1.4.0&appName=Tralala.app 200 5856ms
Debug Listener already listening
GET /debug/appRemotePath?package=com.Tralala&deviceUdid=xxxx 404 38ms - 196b
In Visual Studio, I'm getting this error:
Unable to start debugging. Unexecpted failure trying to reach vcremote: NotFound
First, the package name is invalid. But even If I changed it to com.Tralala, the same problem, 404.
Why? Do I miss something?
Note that the app won't debug in the Simulator either, it runs there but VS hangs to a message "Wait for application to launch. Please (re)launch ..."
I checked instructions from here as well, no luck. It seems it can't find the app installed, but the app is there and libimobiledevice can see it.

Installing Jenkins on AWS EC2

I am running into an issue with the install wizard with Jenkins when following a Set Up a Jenkins Build Server tutorial from Amazon.
My EC2 instance is a t2.small. It was a t2.micro until I saw this SO post so I switched it to a t2.small. It doesn't appear to be a memory issue. I am getting an error when creating my initial user or trying to Continue as admin.
When inspecting the element, trying to Save and Finish when creating an initial user, POST http://<domain>:8080/setupWizard/createAdminUser errors out with a ERR_CONNECTION_RESET error. (I don't see anything in /var/log/jenkins/jenkins.log about this failure either)
I am running java 1.8 and I've tried with Jenkins 2.71-1.1 and Jenkins 2.61-1.1
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
I grepped the error log and only found one log pertaining to errors (but I'm not sure this is related):
Jul 24, 2017 11:09:50 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
INFO: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping
I created a CDK to provision a Jenkins service in AWS. have a try
https://github.com/seraphjiang/jenkinscdk
Install the certificates-
sudo apt install ca-certificates
then, Try Updating & Upgrading the packages-
sudo apt upgrade
sudo apt update
Then follow the link to install the Jenkins :)
https://www.digitalocean.com/community/tutorials/how-to-install-jenkins-on-ubuntu-18-04

Running EMR with Cascading SDK failed

I was following this tutorial for installing Cascading to EMR:
http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/CreateCascading.html
But it failed because of bootstrap action installing the cascading-sdk. The corresponding logs is here: http://pastebin.com/jybHssTQ. As seen from the logs, it's failed because of apt-get not found. Seriously?
I also checked the sdk installation script, and found option to disable installing screen with --no-screen. It is still failed, with different error http://pastebin.com/T6CvA2H1
And now it is because of permission denied. What?
It's official guide, but I can't seem to run it. Any idea?
Rather than changing the script first, try a different EMR AMI version.
AMI versions up until 2.4.8 use Debian OS, where apt-get will work, but this runs Hadoop 1.x. AMI versions 3.0.x run Hadoop 2.2 and use Amazon Linux, which uses Yum.
See Below:
http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/ami-versions-supported.html
Also, try to add the "--tmpdir" option to get around the "Permission Denied" error.