[ovirt-users] engine-backup - readlink: missing operand

Yedidyah Bar David didi at redhat.com
Tue Feb 23 12:48:10 UTC 2016


On Tue, Feb 23, 2016 at 1:44 PM, Halsey, Michael <
michael.halsey at intechnologywifi.com> wrote:

>
>
> Michael Halsey
> Dev Ops Engineer - intechnologyWiFi
> michael.halsey at intechnologywifi.com
> Direct 01423 510650
> Mobile 07467 145626
> Head Office 01423 510510
>
>
>
>>
>>
>>> Hi All,
>>>
>>>
>>> I’m having issues using the engine-backup command.
>>>
>>>
>>> When running:
>>>
>>>
>>> engine-backup --mode=backup --scope=files —file=veng.bak --log backup.log
>>>
>>
>> Please try '--log=backup.log' (with '=').
>>
>> That was unfortunately only a typo in the email. And not when running the
>> actual command.
>>
>
> You have an EM DASH (U+2014) instead of two HYPHEN-MINUS (U+002D) in front
> of 'file='.
>
> I suspect that my Outlook client for Mac has done that.
>
> Where did you copy that command from?
>
> From my command line.
> I have attached the command including the entire output in plaintext.
>

Now copied the command from the attached file and it worked for me.

If it still does not work for you, please run this:

BACKUP_ENV_CLEAN=1 sh -x /usr/bin/engine-backup --mode=backup --scope=files
--file=veng.bak --log backup.log > engine-backup-out 2> engine-backup-err

and check/post engine-backup-out and engine-backup-err (as links to some
pastebin service, please).


>
>
>
>>
>>
>>> I get back the following error:
>>>
>>>
>>> readlink: missing operand
>>>
>>> Try 'readlink --help' for more information.
>>>
>>> /usr/bin/engine-backup: line 1405: : No such file or directory
>>>
>>> Notifying engine
>>>
>>> /usr/bin/engine-backup: line 1472: : No such file or directory
>>>
>>> /usr/bin/engine-backup: line 1405: : No such file or directory
>>>
>>> FATAL: Failed notifying engine
>>>
>>>
>>> Log file is not created.
>>>
>>> I receive similar errors when changing the scope to ‘all' and ‘db'.
>>>
>>>
>>> I’m running:
>>>
>>>
>>> CentOS Linux release 7.2.1511 (Core)
>>>
>>> oVirt Engine Version: 3.6.2.6-1.el7.centos
>>>
>>> Engine is running on bare metal.
>>>
>>>
>>> I have tried this with SELinux in Permissive mode. No difference.
>>> All packages are up to date.
>>>
>>>
>>> Can anyone advise a fix for this or if I’m doing anything wrong?
>>>
>>>
>>> Thanks in advance,
>>>
>>>
>>>
>>>
>>>
>>> Michael Halsey
>>> Dev Ops Engineer - intechnologyWiFi
>>> michael.halsey at intechnologywifi.com
>>> Direct 01423 510650
>>> Mobile 07467 145626
>>> Head Office 01423 510510
>>>
>>>
>>>
>>>
>>>
>>> This is an email from inTechnology plc, Cardale House, Cardale Court,
>>> Beckwith Head Road, Harrogate, UK, HG3 1RY.
>>> Registered in England 3916586.
>>>
>>> The contents of this message may be privileged and confidential. If you
>>> have received this message in error, you may not use, disclose, copy or
>>> distribute its content in any way. Please notify the sender immediately.
>>> All messages are scanned for all viruses.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
>>
>> --
>> Didi
>>
>>
>> This is an email from inTechnology plc, Cardale House, Cardale Court,
>> Beckwith Head Road, Harrogate, UK, HG3 1RY.
>> Registered in England 3916586.
>>
>> The contents of this message may be privileged and confidential. If you
>> have received this message in error, you may not use, disclose, copy or
>> distribute its content in any way. Please notify the sender immediately.
>> All messages are scanned for all viruses.
>>
>
>
>
> --
> Didi
>
>
> This is an email from inTechnology plc, Cardale House, Cardale Court,
> Beckwith Head Road, Harrogate, UK, HG3 1RY.
> Registered in England 3916586.
>
> The contents of this message may be privileged and confidential. If you
> have received this message in error, you may not use, disclose, copy or
> distribute its content in any way. Please notify the sender immediately.
> All messages are scanned for all viruses.
>



-- 
Didi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160223/74f30bcc/attachment-0001.html>


More information about the Users mailing list