Discussion:
[ovirt-users] engine-backup - readlink: missing operand
Halsey, Michael
2016-02-22 17:10:54 UTC
Permalink
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


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
***@intechnologywifi.com
Direct 01423 510650
Mobile 07467 145626
Head Office 01423 510510

[cid:***@be32fafc.4eb13c18]



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.
Yedidyah Bar David
2016-02-23 06:27:53 UTC
Permalink
On Mon, Feb 22, 2016 at 7:10 PM, Halsey, Michael <
Post by Halsey, Michael
Hi All,
I’m having issues using the engine-backup command.
engine-backup --mode=backup --scope=files —file=veng.bak --log backup.log
Please try '--log=backup.log' (with '=').
Post by Halsey, Michael
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'.
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
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
http://lists.ovirt.org/mailman/listinfo/users
--
Didi
Halsey, Michael
2016-02-23 09:27:01 UTC
Permalink
Michael Halsey
Dev Ops Engineer - intechnologyWiFi
***@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.



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
***@intechnologywifi.com<mailto:***@intechnologywifi.com>
Direct 01423 510650
Mobile 07467 145626
Head Office 01423 510510

[cid:***@be32fafc.4eb13c18]



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
***@ovirt.org<mailto:***@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.
Yedidyah Bar David
2016-02-23 10:35:17 UTC
Permalink
On Tue, Feb 23, 2016 at 11:27 AM, Halsey, Michael <
Post by Halsey, Michael
Michael Halsey
Dev Ops Engineer - intechnologyWiFi
Direct 01423 510650
Mobile 07467 145626
Head Office 01423 510510
Post by Halsey, Michael
Hi All,
I’m having issues using the engine-backup command.
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='.

Where did you copy that command from?
Post by Halsey, Michael
Post by Halsey, Michael
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'.
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
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
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
Halsey, Michael
2016-02-23 11:44:14 UTC
Permalink
Michael Halsey
Dev Ops Engineer - intechnologyWiFi
***@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.





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
***@intechnologywifi.com<mailto:***@intechnologywifi.com>
Direct 01423 510650
Mobile 07467 145626
Head Office 01423 510510

[X]



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
***@ovirt.org<mailto:***@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.
Yedidyah Bar David
2016-02-23 12:48:10 UTC
Permalink
On Tue, Feb 23, 2016 at 1:44 PM, Halsey, Michael <
Post by Halsey, Michael
Michael Halsey
Dev Ops Engineer - intechnologyWiFi
Direct 01423 510650
Mobile 07467 145626
Head Office 01423 510510
Post by Yedidyah Bar David
Post by Halsey, Michael
Hi All,
I’m having issues using the engine-backup command.
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).
Post by Halsey, Michael
Post by Yedidyah Bar David
Post by Halsey, Michael
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'.
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
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
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
Halsey, Michael
2016-02-24 16:12:33 UTC
Permalink
Michael Halsey
Dev Ops Engineer - intechnologyWiFi
***@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).

Thanks for your help Yedidya! The issue went away after a fresh engine install on my new hardware.







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
***@intechnologywifi.com<mailto:***@intechnologywifi.com>
Direct 01423 510650
Mobile 07467 145626
Head Office 01423 510510

[X]



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
***@ovirt.org<mailto:***@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


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.
Loading...