Install Ejabberd XMPP Server on AWS failing - amazon-ec2

I am trying to install Ejabberd on EC2.
I tried doing the following
sudo Downloads/ejabberd-16.09-linux-x86_64-installer.run
ran this command,getting this error
Downloads/ejabberd-16.09-linux-x86_64-installer.run: line 1: syntax error near unexpected token newline'.
Downloads/ejabberd-16.09-linux-x86_64-installer.run: line 1:'

The message indicates a syntax error. You can use the following code to install the downloaded file.
cd Downloads
sudo ./ejabberd-16.09-linux-x86_64-installer.run

Related

Solana start solana-test-validator on Linux / Ubuntu blockstore error

When trying to start the solana-test-validator on my Ubuntu machine I received the following error:
Error: failed to start validator: Failed to create ledger at test-ledger: blockstore error
When taking a detailed look at the error logs I noticed the following issue:
[0m[38;5;8m[[0m2021-12-11T10:29:28.942979023Z [0m[1m[31mERROR[0m solana_ledger::blockstore[0m[38;5;8m][0m tar stderr: /bin/sh: 1: bzip2: not found
The issue can be fixed by installing bzip2.
The following line should fix the issue:
sudo apt-get install bzip2

su: failed to execute /bin/bash: Permission denied

I have installed the Postgres v-12 using this blog on my ubuntu 20.04. After installing that when I run the command
pg_ctlcluster 12 main start
I got the below error
Insecure directory in $ENV{PATH} while running with -T switch at
/usr/bin/pg_ctlcluster line 398.
To fix this error I tried to give permission 750 to /bin directory as per the blog and followed the rest of the steps mentioned there. So when I run the command su postgres I gotthe below error
su: failed to execute /bin/bash: Permission denied
I have tried many blogs but didn't get any success.
Can anyone help me to run the Postgres?

Open suse adding repository

Hi I'm trying to add repository to install Termintor on my linux machine (SUSE Linux Enterprise Server 12 SP3). However after running this command
sudo zypper -v addrepo https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo
I get 503 error.
Download (curl) error for 'https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo':
Error code: HTTP response: 0
Error message: The requested URL returned error: 503
Apparently the source is not available. Is there a way to find the current repo for installing Terminator via zypper?
The correct repository for SLE12 is:
sudo zypper addrepo https://download.opensuse.org/repositories/X11:/terminals/SLE_12/X11:terminals.repo
You can find all the available SUSE builds for 'Terminator' here: https://software.opensuse.org/package/terminator

ERROR: chef-server-ctl command not found

After installation of chef-server .
I run the chef-server-ctl command but I'm getting
ERROR: bash: chef-server-ctl: command not found...
That happened to me once. As coderanger commented above, that error is usually caused by installing the wrong package.
For example:
If you installed the Chef Client package accidentally instead of the chef server package, you will see ERROR: bash: chef-server-ctl: command not found... when running command chef-server-ctl
Go to Chef-server package download page and install the correct chef-server package.

chef solo prepare command does not work

I'm trying to using chef solo on a remote windows machine.
My "chef solo prepare" command works fine on a linux remote machine but on a windows remote machine with cygwin openssh running, when I run:
knife solo prepare guy#64.231.175.27 -i ~/.ssh/my-rsa -V
I get the following error:
Bootstrapping Chef...
ERROR: SyntaxError: (eval):1: syntax error, unexpected $end
KnifeSolo::Bootstraps::
^
I've already tested the ssh which works fine. Does anyone have a clue what I can do to fix this?
knife solo prepare does not work on Windows. You could wait until the maintainer can add Windows support or open a Pull Request on GitHub to add this functionality.

Resources