Closed firatalkis closed 2 years ago
Blind guess: /run/icinga-vspheredb in the /run tmpfs is missing. Please run the install/upgrade procedure.
Blind guess: /run/icinga-vspheredb in the /run tmpfs is missing. Please run the install/upgrade procedure.
yes that worked. I skipped this step :)
echo "d ${SOCKET_PATH} 0755 ${DAEMON_USER} ${DAEMON_GROUP} -" > "${TMPFILES_CONFIG}"
thanks for your quick reply :)
@Thomas-Gelf We deploy the systemd unit using configuration management - are you able to update the full unit in the repository too rather than just changes?
Hi,
I have upgrade my old vspheredb module (1.1.0) to 1.2.1 but when I start vspheredb daemon run I have got following error. Could you please take a look?
-bash-4.2$ icingacli vspheredb daemon run --trace --debug
0 library/Vspheredb/Daemon/ControlSocket.php:42 __construct('unix:///run/icinga-vspheredb/vspheredb.sock', '[React\EventLoop\StreamSelectLoop]')
1 library/Vspheredb/Daemon/ControlSocket.php:36 listen()
2 library/Vspheredb/Daemon/RemoteApi.php:70 run('[React\EventLoop\StreamSelectLoop]')
3 library/Vspheredb/Daemon/RemoteApi.php:60 initializeControlSocket('/run/icinga-vspheredb/vspheredb.sock')
4 library/Vspheredb/Daemon/VsphereDbDaemon.php:441 run('/run/icinga-vspheredb/vspheredb.sock', '[React\EventLoop\StreamSelectLoop]')
5 library/Vspheredb/Daemon/VsphereDbDaemon.php:119 prepareApi('[React\EventLoop\StreamSelectLoop]', '[gipfl\Log\Logger]')
6 /usr/share/icingaweb2/modules/incubator/vendor/gipfl/simple-daemon/src/Daemon.php:79 start('[React\EventLoop\StreamSelectLoop]')
7 /usr/share/icingaweb2/modules/incubator/vendor/gipfl/simple-daemon/src/Daemon.php:69 startTask('[Icinga\Module\Vspheredb\Daemon\VsphereDbDaemon]')
8 /usr/share/icingaweb2/modules/incubator/vendor/gipfl/simple-daemon/src/Daemon.php:49 startTasks()
9 /usr/share/icingaweb2/modules/reactbundle/vendor/react/event-loop/src/Tick/FutureTickQueue.php:46 gipfl\SimpleDaemon{closure}()
10 /usr/share/icingaweb2/modules/reactbundle/vendor/react/event-loop/src/StreamSelectLoop.php:182 tick()
11 /usr/share/icingaweb2/modules/vspheredb/application/clicommands/Command.php:53 run()
12 /usr/share/icingaweb2/modules/vspheredb/application/clicommands/DaemonCommand.php:25 eventuallyStartMainLoop()
13 /usr/share/php/Icinga/Cli/Loader.php:265 runAction()
14 /usr/share/php/Icinga/Application/Cli.php:162 dispatch()
15 /usr/share/php/Icinga/Application/Cli.php:152 dispatchOnce()
16 /usr/bin/icingacli:7 dispatch()
ERROR: RuntimeException in /usr/share/icingaweb2/modules/reactbundle/vendor/react/socket/src/UnixServer.php:75 with message: Failed to listen on Unix domain socket "unix:///run/icinga-vspheredb/vspheredb.sock": Unknown error
Icinga2 = 2.12.3 Icingaweb2 = 2.8.2 ipl = 0.5 iincubator = 0.12.1 reactbundle =0.9.0
Thanks.