Linux, VMware

Cron service not running and unable to start on VMWare photon OS 4.0

Recently I install the cronie package to use the cron jobs but I noticed that I couldn’t start the service.

root@photon [ ~ ]# tdnf install cronie

Installing:
cronie                                               x86_64                     1.5.5-1.ph4                         photon                        222.41k 227744

Total installed size: 222.41k 227744
Is this ok [y/N]: y

Downloading:
cronie                                  118712   100%
Testing transaction
Running transaction
Installing/Updating: cronie-1.5.5-1.ph4.x86_64
Created symlink /etc/systemd/system/multi-user.target.wants/crond.service → /usr/lib/systemd/system/crond.service.

Complete!

root@photon [ ~ ]# systemctl status cron
● crond.service - Command Scheduler
     Loaded: loaded (/usr/lib/systemd/system/crond.service; disabled; vendor preset: enabled)
     Active: inactive (dead)

When I use the systemctl start cron the command hangs, so I installed the rsyslog to use the view the logs with this command.

Continue reading
Standard
Linux, VMware

Monitoring Docker service with Zabbix in VMware Photon OS 4.0

Hello, guys in this short post I’ll show you how to monitor our docker services with Zabbix in VMware Photon OS 4.0

First, if you haven’t Install the agent install it following this post.

https://otheritblog.wordpress.com/2020/12/16/install-zabbix-agent-2-vmware-photon-os-4-0/

Then in the config file uncomment the Plugins.Docker.Endpoint=unix:///var/run/docker.sock, add the Zabbix user to the docker group and restart the service.

root@photon [ ~ ]# cat /etc/zabbix/zabbix_agent2.conf | grep Plugins.Docker.Endpoint
### Option: Plugins.Docker.Endpoint
Plugins.Docker.Endpoint=unix:///var/run/docker.sock
root@photon [ ~ ]# usermod -aG docker zabbix
root@photon [ ~ ]# systemctl restart zabbix-agent2.service
Standard
Linux, VMware

Install Zabbix Agent 2 VMware Photon OS 4.0

Hello, guys in this short post I’ll show you how to Install Zabbix Agent 2 in VMware Photon OS 4.0.

First verify our Photon OS release with this command.

root@photon [ ~ ]# cat /etc/*release*
DISTRIB_ID="VMware Photon OS"
DISTRIB_RELEASE="4.0"
DISTRIB_CODENAME=Photon
DISTRIB_DESCRIPTION="VMware Photon OS 4.0"
NAME="VMware Photon OS"
VERSION="4.0"
ID=photon
VERSION_ID=4.0
PRETTY_NAME="VMware Photon OS/Linux"
ANSI_COLOR="1;34"
HOME_URL="https://vmware.github.io/photon/"
BUG_REPORT_URL="https://github.com/vmware/photon/issues"
VMware Photon OS 4.0
PHOTON_BUILD_NUMBER=d98e681

Next Install wget.

Continue reading
Standard
RPA

Adding vRPA/s Installation has failed, Attaching vRPAs to cluster., Could not attach the box

Hello, guys yesterday I got an error while expanding a cluster RP4VM. During the final step expanding cluster, I got the following error.

In the logs file I found the following message:

com.emc.recoverpoint.cluster_logic.inner_model.exception.RpaAdapterException: java.lang.RuntimeException:

java.util.NosuchElementException: Can't find credentials for https://x.x.x.x:8082
Continue reading
Standard
Linux

How can you enable ssh on Kali or parrot sec?

Hi guys in this post, I’ll show you how to enable ssh on Kali or parrot.

First install “openssh-server”, with the following command:

sudo apt-get install openssh-server

Verify the service, with the following command:

sudo systemctl status ssh

Start the service, with the following command:

sudo systemctl start ssh

Verify the service again.

To made persistent after reboot the ssh enable the service, with the following command.

sudo systemctl enable ssh
Standard
MacOS

Install Hping in MAC OS Catalina

First, you need to install brew. Use the following command in the terminal window.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

You will receive the following output.

And then install Hping3, with the following command,

brew install hping

Now go to the following folder.

cd /usr/local/Cellar/hping/3.20051105/sbin 

and then execute with sudo ./hping3 -1

sudo ./hping3 -1 172.16.0.128
HPING 172.16.0.128 (vmnet2 172.16.0.128): icmp mode set, 28 headers + 0 data bytes
len=46 ip=172.16.0.128 ttl=64 id=2762 icmp_seq=0 rtt=0.3 ms
len=46 ip=172.16.0.128 ttl=64 id=2945 icmp_seq=1 rtt=0.3 ms
len=46 ip=172.16.0.128 ttl=64 id=3077 icmp_seq=2 rtt=0.3 ms
len=46 ip=172.16.0.128 ttl=64 id=3107 icmp_seq=3 rtt=0.4 ms
len=46 ip=172.16.0.128 ttl=64 id=3157 icmp_seq=4 rtt=0.4 ms
len=46 ip=172.16.0.128 ttl=64 id=3373 icmp_seq=5 rtt=0.2 ms
Standard
VMware

vSphere UI Health Alarm (vSphere-client service low on heap memory 90%)

Hello guys, today I received an email about an alarm in vCenter Server and it’s about vSphere UI Health, I went to administration page of VCSA and then on services page and I noticed that the vSphere-client service got an error said “low on heap memory 90%” some googling and found this KB from VMware 2150757 and after following this kb the alarm gone.

Standard
DELLEMC, ISILON

Error while joining the node to the cluster (Get stuck in getting Private key)

If you have the following errors:

subject=/C=US/ST=Washington/L=Seattle/O=Isilon Systems, Inc./OU=Isilon Systems/CN=Isilon Systems/emailAddress=support@isilon.com
Getting Private key
mount_efs: isi_drive_d not responding
Aborting boot.
IFS failed to mount. Aborting boot.

To prevent a DL situation, contact EMC Customer Support immediately:
United States: 1 800 782 4362 (1 800 SVC 4EMC)
Canada: 1 800 543 4782 (1 800 543 4SVC)
Worldwide Country Code: 1 508 497 7901

Command Options:
1) Enter recovery shell
2) Continue booting
3) Reboot
option>1

Continue reading
Standard