# VMware-Plugin - vSphereDB: Uncaught Error: Class 'SoapVar' not found

**URL:** <https://community.icinga.com/t/vmware-plugin-vspheredb-uncaught-error-class-soapvar-not-found/3759>\
**Category:** Icinga Web Modules\
**Created:** [March 12, 2020, 7:06am UTC](https://community.icinga.com/t/vmware-plugin-vspheredb-uncaught-error-class-soapvar-not-found/3759 "2020-03-12T07:06:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamester\_citti](https://community.icinga.com/letter_avatar_proxy/v4/letter/h/ba8739/32.png) [@hamester\_citti](https://community.icinga.com/u/hamester_citti)\
**Post date:** [March 12, 2020, 7:06am UTC](https://community.icinga.com/t/vmware-plugin-vspheredb-uncaught-error-class-soapvar-not-found/3759/1 "2020-03-12T07:06:38Z")

</div>

Good morning,

I have an issue with the icingaweb2 VMware-Module.

```
# systemctl status icinga-vspheredb.service

● icinga-vspheredb.service - Icinga vSphereDB Daemon
     Loaded: loaded (/etc/systemd/system/icinga-vspheredb.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2020-03-12 07:28:23 CET; 26min ago
       Docs: https://icinga.com/docs/icinga-vsphere/latest/
   Main PID: 2156724 (icingacli)
     Status: "DB has been cleaned up"
      Tasks: 1 (limit: 9490)
     Memory: 13.3M
     CGroup: /system.slice/icinga-vspheredb.service
             └─2156724 Icinga::vSphereDB::main: 3 active runners

Mar 12 07:28:23 98lipmoni3 systemd[1]: Started Icinga vSphereDB Daemon.
Mar 12 07:32:42 98lipmoni3 icingacli[2156724]: Got invalid NetString data:
Mar 12 07:32:42 98lipmoni3 icingacli[2156724]: Fatal error: Uncaught Error: Class 'SoapVar' not found in /usr/share/icingaweb2/mod>
Mar 12 07:32:42 98lipmoni3 icingacli[2156724]: Got invalid NetString data:
Mar 12 07:32:42 98lipmoni3 icingacli[2156724]: Fatal error: Uncaught Error: Class 'SoapVar' not found in /usr/share/icingaweb2/mod>
Mar 12 07:32:42 98lipmoni3 icingacli[2156724]: Got invalid NetString data:
Mar 12 07:32:42 98lipmoni3 icingacli[2156724]: Fatal error: Uncaught Error: Class 'SoapVar' not found in /usr/share/icingaweb2/mod>
Mar 12 07:32:42 98lipmoni3 icingacli[2156724]: Server for vCenterID=2 failed, will try again in 30 seconds
Mar 12 07:32:42 98lipmoni3 icingacli[2156724]: Server for vCenterID=4 failed, will try again in 30 seconds
Mar 12 07:32:42 98lipmoni3 icingacli[2156724]: Server for vCenterID=6 failed, will try again in 30 seconds

# icingacli vspheredb daemon run --trace --debug

Got invalid NetString data: 
Fatal error: Uncaught Error: Class 'SoapVar' not found in /usr/share/icingaweb2/modules/vspheredb/l[..] truncated 1120 bytes [..] a\Module\Vspheredb in /usr/share/icingaweb2/modules/vspheredb/library/Vspheredb/Api.php on line 410
Got invalid NetString data: 
Fatal error: Uncaught Error: Class 'SoapVar' not found in /usr/share/icingaweb2/modules/vspheredb/l[..] truncated 1120 bytes [..] a\Module\Vspheredb in /usr/share/icingaweb2/modules/vspheredb/library/Vspheredb/Api.php on line 410
Got invalid NetString data: 
Fatal error: Uncaught Error: Class 'SoapVar' not found in /usr/share/icingaweb2/modules/vspheredb/l[..] truncated 1120 bytes [..] a\Module\Vspheredb in /usr/share/icingaweb2/modules/vspheredb/library/Vspheredb/Api.php on line 410
Server for vCenterID=2 failed, will try again in 30 seconds
Pid 2158637 stopped
Server for vCenterID=4 failed, will try again in 30 seconds
Pid 2158638 stopped
Server for vCenterID=6 failed, will try again in 30 seconds
Pid 2158639 stopped
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '\x8D\xA3\xF8\xE6I\x00s\xFE\xBA\x18K#\xCE\x92=\x1C' for key 'PRIMARY', query was: INSERT INTO vspheredb_daemon (instance_uuid, ts_last_refresh, process_info, pid, fqdn, username, php_version) VALUES (?, ?, ?, ?, ?, ?, ?)
Database connection has been closed

```

I changed the WatchdogSec=10 to WatchdogSec=360 in /etc/systemd/system/icinga-vspheredb.service - no success

> <https://github.com/Icinga/icingaweb2-module-vspheredb/issues/143>
>
> Expected Behavior
> 
> The icinga-vspheredb.service systemd service should be running constantly.
> Current Behavior
> 
> The service starts up, terminates, starts up again, terminates, ... ad infinitum
> Logs:
> Dec...

Icingaweb2-Version 2.7.3  
|Dependencies|  
**ipl** : \>=0.3.0  
**incubator** : \>=0.5.0  
**reactbundle** : \>=0.7.0|  
|Permissions| **vspheredb/admin** : Allow to configure vCenter connections|

---

<div class="post-metadata">

**Author:** ![twidhalm](https://community.icinga.com/user_avatar/community.icinga.com/twidhalm/32/18_2.png) [@twidhalm](https://community.icinga.com/u/twidhalm)\
**Post date:** [March 12, 2020, 8:17am UTC](https://community.icinga.com/t/vmware-plugin-vspheredb-uncaught-error-class-soapvar-not-found/3759/2 "2020-03-12T08:17:20Z")

</div>

Did you fulfill all the requirements for this module? And did you update the issue you posted the link to?

---

<div class="post-metadata">

**Author:** ![hamester\_citti](https://community.icinga.com/letter_avatar_proxy/v4/letter/h/ba8739/32.png) [@hamester\_citti](https://community.icinga.com/u/hamester_citti)\
**Post date:** [March 12, 2020, 9:05am UTC](https://community.icinga.com/t/vmware-plugin-vspheredb-uncaught-error-class-soapvar-not-found/3759/3 "2020-03-12T09:05:55Z")

</div>

Hi thomas,

all requirements existing.

My daemon status ist also ok:

![daemon](https://community.icinga.com/uploads/default/original/2X/6/6441c95228371f0bfab9611c4247e586f17a111c.png)

Issue updated

---

<div class="post-metadata">

**Author:** ![twidhalm](https://community.icinga.com/user_avatar/community.icinga.com/twidhalm/32/18_2.png) [@twidhalm](https://community.icinga.com/u/twidhalm)\
**Post date:** [March 12, 2020, 1:06pm UTC](https://community.icinga.com/t/vmware-plugin-vspheredb-uncaught-error-class-soapvar-not-found/3759/4 "2020-03-12T13:06:54Z")

</div>

Ok, let’s hope, you’ll get a response in due time. Maybe someone else comes up with a solution here, as well.

---

<div class="post-metadata">

**Author:** ![log1c](https://community.icinga.com/user_avatar/community.icinga.com/log1c/32/2071_2.png) [@log1c](https://community.icinga.com/u/log1c)\
**Post date:** [March 12, 2020, 1:22pm UTC](https://community.icinga.com/t/vmware-plugin-vspheredb-uncaught-error-class-soapvar-not-found/3759/5 "2020-03-12T13:22:29Z")

</div>

Hm, I don’t have a solution, but isn’t this a different problem than the one mentioned in the issue?

Can you try deleting the whole vsphere mysql database, start fresh and check if the error remains?
