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

[BUG] Error: couldn't open socket: connection refused #861

Closed
maxalonsox opened this issue Mar 31, 2024 · 1 comment
Closed

[BUG] Error: couldn't open socket: connection refused #861

maxalonsox opened this issue Mar 31, 2024 · 1 comment
Labels

Comments

@maxalonsox
Copy link

When I open core, core-daemon doesn't work

max@max-pc:~$ core-gui
Connecting to "core-daemon" (127.0.0.1:4038)...
This feature requires a connection to the CORE daemon.

Failed to connect to 127.0.0.1:4038!

Have you started the CORE daemon with '/etc/init.d/core-daemon start'?
  (Error: couldn't open socket: connection refused)

I try with

max@max-pc:~$ /etc/init.d/core-daemon start
starting core-daemon
/etc/init.d/core-daemon: 41: cannot create /var/run/core-daemon.pid: Permission denied
/etc/init.d/core-daemon: 38: cannot create /var/log/core-daemon.log: Permission denied
unable to start core-daemon, see /var/log/core-daemon.log

It tells me that I have permissions denied, so

max@max-pc:~$ sudo /etc/init.d/core-daemon start
starting core-daemon

It seems to work, but when I open core, again...

max@max-pc:~$ sudo core-gui
Connecting to "core-daemon" (127.0.0.1:4038)...
This feature requires a connection to the CORE daemon.

Failed to connect to 127.0.0.1:4038!

Have you started the CORE daemon with '/etc/init.d/core-daemon start'?
  (Error: couldn't open socket: connection refused)

(The gui still works but when using something I need the daemon for a popup comes up informing me of this)

And if I try with sudo core-daemon...

max@max-pc:~$ sudo core-daemon
Traceback (most recent call last):
  File "/usr/local/bin/core-daemon", line 16, in <module>
    from core import constants
ModuleNotFoundError: No module named 'core'

Desktop :

  • OS: Ubuntu 20.04.4 LTS
  • CORE Version 6.3.0
  • EMANE Version 1.5.1
@maxalonsox maxalonsox added the bug label Mar 31, 2024
@bharnden
Copy link
Contributor

bharnden commented Apr 1, 2024

Version is too old to really provide current support for, but there is a disconnect for however you installed CORE.

@bharnden bharnden closed this as completed Apr 1, 2024
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

2 participants