Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vspheredb daemon not running on master or 1.2.1 version (Failed to listen on Unix domain socket) #327

Closed
firatalkis opened this issue Feb 1, 2022 · 3 comments
Labels

Comments

@firatalkis
Copy link

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

issue

Icinga2 = 2.12.3
Icingaweb2 = 2.8.2
ipl = 0.5
iincubator = 0.12.1
reactbundle =0.9.0

Thanks.

@Thomas-Gelf
Copy link
Contributor

Blind guess: /run/icinga-vspheredb in the /run tmpfs is missing. Please run the install/upgrade procedure.

@firatalkis
Copy link
Author

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 :)

@willfurnell
Copy link

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants