- MySQL Script – Alter/Convert All Tables in a Database from MyISAM to InnoDB
- PHP – Simple PDO Class for Connecting to a MySQL Database
- Startup Script for OpenMeetings Open-Source Video Conferencing Server
- Ubuntu – Icecast2 Startup Script with Ices2 Support
- VBScript – Get a Folder/File Size or Verify That a Folder/File Exists
- VBScript – How to Access Environment Variables -OR- How to Get the Username, Domain, or a User’s SID
Bash Script – Test Veeam Linux Agent Socket and Restart Service if Needed
I recently started using the full version of Veeam Backup & Replication (Build 11.01.1261) in a corporate production environment and was kind of shocked to find that the Veeam Agent for Linux (Agent version: 5.0.1.4493) fails so regularly with the following warning and error messages:
Processing ServerName Error: Failed to execute agent management command print. Connection refused Failed to connect: /var/tmp/veeam/socket/veeamservice.sock. Failed to connect to veeamservice daemon.
and
Task failed. Error: Failed to execute agent management command print. Connection refused Failed to connect: /var/tmp/veeam/socket/veeamservice.sock. Failed to connect to veeamservice daemon.
Apparently, Veeam offers no error checking or resolution process for automatically restarting the service, so I had to write a quick script to resolve this ongoing issue.
Continue reading “Bash Script – Test Veeam Linux Agent Socket and Restart Service if Needed”