Problem When attempting to install Rocky Linux 8 on an ESXi 7.0 host the boot iso (minimal) was not being picked up at all and I was just getting the Attempting to start up from message. Solution To fix the issue disable Secure Boot option then try again. It appears secure boot is not supported Read More…
Category: Linux
Failed to Start File System Check – Vcenter 7
Problem Due to a storage issue, a vcenter 7.0 U2 appliance would not boot with following error: [FAILED] Failed to start File System Check on /dev/vg_root_0/lv_root_0 Resolution Run /bin/sh then blkid Output of blkid Highlighted shows the path we need to repair Run systemctl status systemd-fsck-root to confirm To repair the file system on the Read More…
Script to install RabbitMQ 3.7.9 on Centos7
Script to install RabbitMQ 3.7.9 on CentOS 7 #!/bin/bash # README # ONLY VARIABLE REQUIRED IS admin password for "rabbitmqctl add_user admin {MyPassword}" # PLease change before running script. # echo "#######################################################################"; echo "This script will install RabbitMQ 3.7.9 and open relevant firewall rules"; echo "#######################################################################"; yum -y install epel-release wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm rpm -Uvh Read More…
Create LACP Bond Interface in Centos 7
Issue I had two 10Gb ports I wanted to bond in Dynamic Link Aggegration (802.3ad) To get the network interface list use: nmcli connection In my output I wanted to use ens1f0 and ens1f1 interfaces Steps 1) Create Bond Interface (bond0) nmcli con add type bond con-name bond0 ifname bond0 mode 4 ip4 10.32.99.12/24 10.32.99.254 Read More…
Init: Private key not found – Apache Wont Start on CentOS
Problem When attempting to update a certificate in Apache the webserver would not restart. Apache Error Logs: [Tue Oct 29 14:42:07 2019] [error] Init: Private key not found [Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [Tue Oct 29 14:42:07 2019] [error] SSL Library Error: 218640442 error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_NOEXP_D2I:nested asn1 Read More…
Script to Copy Yesterdays DB Backup to Remote Site
The following script will pick out yesterdays backup file and copy it over to a remote site using SCP Note: The format of the backup files are in this format : db-08-10-2019.bak.gz Note: You will need to install sshpass (eg yum -y install sshpass) and be comfortable with your password being in cleartext. #!/usr/bin/bash # Read More…
User “postgres” Has No Password Assigned
Problem When trying to remotely connect to Postgres 10.10 install for the first time I got and authentication error via pgadmin From the log files (/var/lib/pgsql/10/data/log/postgresql-Wed.log) 2019-09-25 14:05:38.970 BST [22665] FATAL: password authentication failed for user "postgres" 2019-09-25 14:05:38.970 BST [22665] DETAIL: User "postgres" has no password assigned. Connection matched pg_hba.conf Read More…
Script to Customize CentOS 7 Install in a VMware Environment
#!/bin/bash echo "#######################################################################"; echo "This script will Update the OS, install useful tools and configure NTP"; echo "#######################################################################"; #Update OS yum update -y #install useful tools yum install telnet -y yum install bind-utils -y # install vmware tools yum install -y open-vm-tools systemctl enable vmtoolsd.service systemctl status vmtoolsd.service # Disable selinux /usr/bin/sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config Read More…
Route Commands on ESXi, VCSA, Linux & Windows
Sample route commands Windows Show routing table route print Add a persistent route ROUTE -p ADD 10.10.129.0 MASK 255.255.255.0 10.5.72.254 ESXi Show routing table esxcfg-route -l Show routing table for specific stack esxcfg-route -l -N (stack name) Add route esxcli network ip route ipv4 add –gateway 10.5.72.254 –network 10.10.129.0/24 VCSA Show routing Read More…
Upgrade Zabbix from 3.4 to 4.0 with Pacemaker/Corosync
Here are the instructions for upgrading Zabbix from 3.4 to 4.0 in a HA setup in a Pacemaker and Corosync environment. In this particular setup there are 6 servers – depicted below Two web front ends Two Zabbix Servers Two DB servers Steps Pre-requisite: As this was running in a VMware environment I snapshotted each Read More…
You must be logged in to post a comment.