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

error: /var/run/hefur/control: No such file or directory #32

Open
nd925a opened this issue Dec 2, 2020 · 6 comments
Open

error: /var/run/hefur/control: No such file or directory #32

nd925a opened this issue Dec 2, 2020 · 6 comments

Comments

@nd925a
Copy link

nd925a commented Dec 2, 2020

Installed via pacman.
Version 1.0-1

$hefurctl
[Date/Timestamp] error: /var/run/hefur/control: No such file or directory

@abique
Copy link
Owner

abique commented Dec 2, 2020

Is hefurd running?

@nd925a
Copy link
Author

nd925a commented Dec 2, 2020

Sorry I didn't rtfm. I was doing random bored testing before bed.

$hefurd -torrent-dir /foo/bar
Does something, but no terminal output

Open new terminal
$hefurctl
hefurctl: /build/hefur/src/hefur/mimosa/mimosa/thread.cc:63: void mimosa::Thread::join(): Assertion `state_ == kRunning' failed.
Aborted (core dumped)

Same error turns up and exits original terminal command.

This must be beyond me, sorry for being a bother.

@abique
Copy link
Owner

abique commented Dec 2, 2020

Try hefurctl -help.
It searches at one given place for the control socket and by default it is in /var/... so if you start it manually you have to specify the path to the control socket and specify the same path on hefurctl.
I suggest to start hefur from systemd.

@nd925a
Copy link
Author

nd925a commented Dec 14, 2020

I've done everything I can think of and I keep coming back to the kRunning error.
Even installed on a different machine.
Correct me if I'm wrong, but it now appears to be a downstream problem with arch as mimosa is not in the official packages and the aur mimosa is broken because it points to blooser's git repo.
It appears as though blooser no longer has a mimosa archive causing the aur mimosa to be obsolete and unusable. I also get a cmake error if I try to install your git branch of mimosa.

-- Install configuration: ""
CMake Error at mimosa/cmake_install.cmake:46 (file):
file INSTALL cannot find "/opt/mimosa/mimosa/cache.hh": No such file or
directory.

If you want me to drop this (I don't need it) or take it downstream I'm willing to close this or if you want to close it. The hefur package is no longer in the signoffs list, and I'm not about to make a stink about something I understand the purpose of but don't use.

@abique
Copy link
Owner

abique commented Dec 14, 2020

Did you run:

git submodule init
git submodule update

@sl1pkn07
Copy link

sl1pkn07 commented Apr 23, 2021

same here. but bit different

┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[/run/media/sl1pkn07/COSAS/aplicaciones/hefur-git]|
└───╼  systemctl start hefurd
┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[/run/media/sl1pkn07/COSAS/aplicaciones/hefur-git]|
└───╼  systemctl status hefurd
● hefurd.service - Hefur BitTorrent tracker
     Loaded: loaded (/usr/lib/systemd/system/hefurd.service; disabled; vendor preset: disabled)
     Active: active (running) since Fri 2021-04-23 13:23:07 CEST; 5s ago
   Main PID: 402974 (hefurd)
      Tasks: 7 (limit: 154536)
     Memory: 1.0M
        CPU: 8ms
     CGroup: /system.slice/hefurd.service
             └─402974 /usr/bin/hefurd -torrent-dir /var/lib/hefurd

abr 23 13:23:07 sL1pKn07 systemd[1]: Started Hefur BitTorrent tracker.
┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[/run/media/sl1pkn07/COSAS/aplicaciones/hefur-git]|
└───╼  hefurctl 
2021-04-23 13:23:17.0702 error: /var/run/hefur/control: Permission denied
┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[/run/media/sl1pkn07/COSAS/aplicaciones/hefur-git]|
└───╼  su -c 'hefurctl'
Contraseña: 
hefurctl: /tmp/makepkg/hefur-git/src/hefur/mimosa/mimosa/thread.cc:63: void mimosa::Thread::join(): Assertion `state_ == kRunning' failed.
Abortado (memoria volcada)

seems build with -DCMAKE_BUILD_TYPE=Release instead of -DCMAKE_BUILD_TYPE=None like i do in all cmake based projects fix the coredump

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

No branches or pull requests

3 participants