Comments (4)
those are two errors in the function sendMail()
ash: missing ]]
-> line 1326, missing space before ]]
ash: bad number
-> line 1338, use of uninitialized variable $SMTP
from ghettovcb.
The fix reported at #87 worked: now the email messages are going out again.
from ghettovcb.
This is just assigning LOG_TO_SDOUT to 1, the existing code is correct. I'm able to run two instances without any issues. You may want to post in the VMTN forums and provide a bit more details about your run.
from ghettovcb.
When the following command is executed I get the same error on the recent version of the script:
/vmfs/volumes/544b046f-e5625ec2-a958-0cc47a13cce8/ghettoVCB/ghettoVCB.sh -g /vmfs/volumes/544b046f-e5625ec2-a958-0cc47a13cce8/ghettoVCB/ghettoVCB.conf -l /vmfs/volumes/544b046f-e5625ec2-a958-0cc47a13cce8/ghettoVCB/log/ghettoVCB.log -f /vmfs/volumes/544b046f-e5625ec2-a958-0cc47a13cce8/ghettoVCB/vm-list.txt -c /vmfs/volumes/544b046f-e5625ec2-a958-0cc47a13cce8/ghettoVCB/policies > /vmfs/volumes/544b046f-e5625ec2-a958-0cc47a13cce8/ghettoVCB/log/ghettoVCB-backup-$(/bin/date +\%F_\%H-\%M-\%S).log 2>&1 &
2016-01-16 00:05:02 -- info: ============================== ghettoVCB LOG START ==============================
2016-01-16 00:05:02 -- info: CONFIG - USING GLOBAL GHETTOVCB CONFIGURATION FILE = /vmfs/volumes/544b046f-e5625ec2-a958-0cc47a13cce8/ghettoVCB/ghettoVCB.conf
2016-01-16 00:05:03 -- info: CONFIG - USING CONFIGURATION FILE = /vmfs/volumes/544b046f-e5625ec2-a958-0cc47a13cce8/ghettoVCB/policies/millenium
2016-01-16 00:05:03 -- info: CONFIG - VERSION = 2015_05_06_1
...
2016-01-16 00:50:15 -- info: ###### Final status: All VMs backed up OK! ######
2016-01-16 00:50:15 -- info: ============================== ghettoVCB LOG END ================================
ash: missing ]]
ash: bad number
There is no any simultaneous sessions. Only one instance of the script is executed at the same time.
from ghettovcb.
Related Issues (20)
- auto-backup.sh still shows old backup software HOT 1
- error backing up vms HOT 2
- getting backups to use another VMKernel port
- Calculated digest at EOF does not match expected result HOT 3
- ESXI 8 sending Logs per Mail, is it possible on ESXi8 ? HOT 1
- Upgrade for ESXi 8 does not persist - keeps reverting back to older version HOT 2
- SMTP protocol synchronization error (next input sent too soon: pipelining was not advertised) HOT 1
- How can cronjobs made persistent during a reboot with UEFI secure boot enabled HOT 4
- 8.0U2 --> ESX(i) Version not supported! HOT 5
- Using SCP to copy files in a remote destination folder
- VIB-Installation on VMware ESXi 8.0.1 build-21813344 not possible - acceptance level HOT 2
- 8.0U2 build 22380479 - VIB installation fails HOT 2
- Machine
- Calculated digest at EOF does not match expected result HOT 5
- not running cron jobs HOT 8
- Cp: can’t create ‘/etc/rc.local’: Operation not permitted HOT 1
- install on vcenter HOT 2
- DISK_BACKUP_FORMAT=thin but copies as a thick
- Documentation links broken since Broadcom migration HOT 2
- out of memory when restoring
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghettovcb.