Hello everyone,
I am having an error when trying to run vmware job for bareos. following is the
log of running job.
it gives a weird error, CDefError: cannot parse "typedef int FILE;"
Any help apreciated.
19-Ağu 10:29 bareos-debian8-dir JobId 20: Start Backup JobId 20,
Job=vm-websrv1.2016-08-19_10.29.24_05
19-Ağu 10:29 bareos-debian8-dir JobId 20: Using Device "FileStorage" to write.
19-Ağu 10:29 bareos-debian8-fd JobId 20: Fatal error: Traceback (most recent
call last):
File "/usr/lib/bareos/plugins/vmware_plugin/bareos-fd-vmware.py", line 50, in
<module>
import BareosFdPluginVMware
File "/usr/lib/bareos/plugins/vmware_plugin/BareosFdPluginVMware.py", line
46, in <module>
from pyVim.connect import SmartConnect, Disconnect
File "/usr/lib/python2.7/dist-packages/pyVim/connect.py", line 35, in <module>
import requests
File "/usr/lib/python2.7/dist-packages/requests/__init__.py", line 68, in
<module>
_attach_namespace(urllib3, 'requests.packages')
File "/usr/lib/python2.7/dist-packages/requests/__init__.py", line 63, in
_attach_namespace
module = __import__(name)
File "/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py", line
55, in <module>
import OpenSSL.SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in
<module>
from OpenSSL import rand, crypto, SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in <module>
from OpenSSL._util import (
File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 4, in <module>
binding = Binding()
File
"/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py",
line 89, in __init__
self._ensure_ffi_initialized()
File
"/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py",
line 113, in _ensure_ffi_initialized
libraries=libraries,
File
"/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/utils.py", line
57, in build_ffi
ffi.cdef("\n".join(cdef_sources))
File "/usr/lib/python2.7/dist-packages/cffi/api.py", line 103, in cdef
self._parser.parse(csource, override=override, packed=packed)
File "/usr/lib/python2.7/dist-packages/cffi/cparser.py", line 166, in parse
self._internal_parse(csource)
File "/usr/lib/python2.7/dist-packages/cffi/cparser.py", line 172, in
_internal_parse
ast, macros, csource = self._parse(csource)
File "/usr/lib/python2.7/dist-packages/cffi/cparser.py", line 129, in _parse
self.convert_pycparser_error(e, csource)
File "/usr/lib/python2.7/dist-packages/cffi/cparser.py", line 158, in
convert_pycparser_error
raise api.CDefError(msg)
CDefError: cannot parse "typedef int FILE;"
:1:13: before: FILE
19-Ağu 10:29 bareos-debian8-fd JobId 20: Fatal error: Failed to authenticate
Storage daemon.
19-Ağu 10:29 bareos-debian8-dir JobId 20: Fatal error: Bad response to Storage
command: wanted 2000 OK storage
, got 2902 Bad storage
--
P Please consider the environment before printing
YASAL UYARI: Bu elektronik posta ve iceriginde iletilen bütün ekler sadece
ulasmasi amaclanan yetkili gercek ya da tüzel kisinin kullanimi icindir.
Eger söz konusu yetkili alici degilseniz bu elektronik postanin icerigini
aciklamaniz, kopyalamaniz, yönlendirmeniz veya kullanmaniz kesinlikle
yasaktir ve elektronik postayi göndericisine bilgi verip derhal silmeniz
gerekmektedir. SNI bu e-postanin icerdigi bilgilerin dogrulugu veya
eksiksiz oldugu konusunda bir garanti vermemektedir. Kurum ve gönderen,
e-postanin degisiklige ugrayarak veya gec ulasmasindan, bütünlügünün ve
gizliliginin korunamamasindan, virüs icermesinden ve bilgisayar sisteminize
verebilecegi herhangi bir zarardan sorumlu degildir.
DISCLAIMER: This e-mail and any attachments transmitted in it are
confidential and intended solely for the use of the individual or entity to
whom they are addressed. If you are not the intended recipient you are
hereby notified that any dissemination, forwarding, copying or use of any
of the information is strictly prohibited, and the e-mail should
immediately be deleted. SNI makes no warranty as to the accuracy or
completeness of any information contained in this message. Company and
sender, shall have no liability for any changes or late receiving, loss of
integrity and confidentiality, viruses and any damages caused in anyway to
your computer system.
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.