mirror of
https://github.com/hirschmann/nbfc.git
synced 2026-04-25 16:45:53 +03:00
[GH-ISSUE #100] [Ubuntu 16.04] File Descriptor does not support writing #88
Labels
No labels
Stale
bug
config
discussion
duplicate
enhancement
experimental
feature
help-wanted
info
invalid
invalid
pull-request
question
up-for-grabs
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nbfc-hirschmann#88
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tumtom on GitHub (Jul 24, 2016).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/100
Hallo Stefan,
mit dem vorgeschlagenen Fix konnte ich unter Ubuntu 16.04 bauen, allerdings bekomme ich bei starten mit:
mono nbfc.exe start
ein
File Descriptor does not support writing.
Auch ein sudo hilft nicht weiter.
Kann ich dir irgendwie ein Log erstellen um beim Problem finden zu helfen?
Gruß,
Tom
@hirschmann commented on GitHub (Jul 24, 2016):
Hi,
ist der nbfc service richtig installiert und läuft?
Eine Anleitung zur Installation gibts hier: https://github.com/hirschmann/nbfc/wiki/First-steps
Was gibt nbfc.exe status aus?
Zum Log:
Schau in:
/var/lib/mono/eventlog/Es kann sein, dass das mono eventlog bei dir deaktiviert ist.
Hier ist eine Anleitung wie man das prüfen und ggf. aktivieren kann: https://lukewickstead.wordpress.com/2014/01/04/set-up-enable-the-event-log-under-mono-gnulinux/
@tumtom commented on GitHub (Jul 24, 2016):
Hallo Stefan,
vielen Dank für die schnelle Antwort!
Ich hab die Anleitung gefolgt und bekomme jetzt nach einem Neustart die
Meldung:
/mono nbfc.exe start//
//The classes in the module cannot be loaded./
/mono nbfc.exe status//
//Service enabled : False//
//Selected config name : Acer Aspire E13//
//Temperature : 0/
Could not get fan info because the service is disabled
Ein /ps aux | grep nbfc/ ergibt
/root 2752 0.1 1.4 783720 58280 ? Sl 18:19 0:02
/usr/bin/mono /usr/lib/mono/4.5/mono-service.exe -m:NbfcService
/opt/nbfc/NbfcService.exe -l:/run/nbfc.pid/
Gruß,
Tom
Am 24.07.2016 um 17:06 schrieb Stefan Hirschmann:
@hirschmann commented on GitHub (Jul 24, 2016):
"The classes in the module cannot be loaded" deutet darauf hin, dass der Service ein Plugin nicht laden kann. Eventuell weil die target framework version von Plugin und Service nicht übereinstimmen.
Ich habe jetzt target framework version der Linux Plugins angepasst:
afbb0572a1Einfach die neueste Revision pullen und bauen. Du kannst den neuen build einfach über die alten Dateien kopieren, aber musst vorher den Service komplett stoppen per:
systemctl stop nbfcDann einfach drüberkopieren und den Service wieder starten per:
systemctl start nbfcBtw bei mir lief auch alles ohne diesen Fix problemlos, aber es kann nicht schaden wenn Service und Plugins das gleiche target framework haben.
@tumtom commented on GitHub (Jul 26, 2016):
Hallo Stefan,
hab das grade durchgeführt, das Problem bleibt leider.
Ich würde dir gerne ein Log zukommen lassen, das Log für mono bekomme
ich leider auch nicht aktiviert.
Meine etc/environment:
/PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/nbfc"//
//MONO_EVENTLOG_TYPE=local/
Der Ordner ist erstellt:
/ls -l /var/lib/mono///
//insgesamt 4//
//drwxr-xr-x 2 root root 4096 Jul 24 19:00 eventlog/
aber leer:
/ls -l /var/lib/mono/eventlog//
//insgesamt 0/
Gruß
Thomas
Am 24.07.2016 um 21:05 schrieb Stefan Hirschmann:
@hirschmann commented on GitHub (Jul 26, 2016):
Ich habe Ubuntu 16.04 in einer VM installiert und es sieht so aus als ob das ec_sys kernel Modul, das vom neuen NBFC EC-Plugin für Linux genutzt wird nicht mehr verfügbar ist.
Was du machen kannst um das Problem zu lösen:
/opt/nbfc/Plugins/StagWare.Plugins.ECSysLinux.dlllöschennbfc/Core/PluginsStagWare.Plugins.ECLinux/bin/ReleaseLinux/StagWare.Hardware.LPC.dllundnbfc/Core/PluginsStagWare.Plugins.ECLinux/bin/ReleaseLinux/StagWare.Plugins.ECLinux.dllnach/opt/nbfc/PluginskopierenSorry für den Aufwand, der NBFC Plugin-Loader ist momentan noch zu dämlich mehrere Plugins durchzuprobieren (steht auf der todo Liste).
@hirschmann commented on GitHub (Sep 18, 2016):
Fixed:
08598e2201@erkexzcx commented on GitHub (Jul 22, 2018):
I am trying to summarize what we have: https://wiki.archlinux.org/index.php/Fan_speed_control#Troubleshooting