Code Monkey home page Code Monkey logo

Comments (4)

TomGem avatar TomGem commented on July 28, 2024 1

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.

fulvio-m avatar fulvio-m commented on July 28, 2024 1

The fix reported at #87 worked: now the email messages are going out again.

from ghettovcb.

lamw avatar lamw commented on July 28, 2024

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.

dansoftware avatar dansoftware commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.