mirror of
https://github.com/hirschmann/nbfc.git
synced 2026-04-26 00:56:01 +03:00
[GH-ISSUE #849] Service not start, is failed #741
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#741
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 @damufo on GitHub (Mar 26, 2020).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/849
Describe the bug
The service not start, is failed
To Reproduce
Install mono from ubuntu repositories
$ git clone https://github.com/hirschmann/nbfc.git
$ cd nbfc
(Download nuget.exe and save in this folder, version 5.4.0)
$ sudo mono nuget.exe restore
Build NBFC
$ xbuild /t:Build /p:Configuration=ReleaseLinux NoteBookFanControl.sln
$ sudo cp -rf Linux/bin/Release/ /opt/nbfc/
$ sudo cp Linux/nbfc.service /etc/systemd/system/
$ sudo cp Linux/nbfc-sleep.service /etc/systemd/system/
$ sudo systemctl enable nbfc --now
$ systemctl status nbfc
systemctl status nbfc
● nbfc.service - NoteBook FanControl service
Loaded: loaded (/etc/systemd/system/nbfc.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-03-26 19:04:55 CET; 22min ago
Process: 2774 ExecStart=/opt/nbfc/nbfcservice.sh start (code=exited, status=127)
Mar 26 19:04:55 elitebook systemd[1]: nbfc.service: Scheduled restart job, restart counter is at 5.
Mar 26 19:04:55 elitebook systemd[1]: Stopped NoteBook FanControl service.
Mar 26 19:04:55 elitebook systemd[1]: nbfc.service: Start request repeated too quickly.
Mar 26 19:04:55 elitebook systemd[1]: nbfc.service: Failed with result 'exit-code'.
Mar 26 19:04:55 elitebook systemd[1]: Failed to start NoteBook FanControl service.
Expected behavior
Service not start
System information
/etc/NbfcService/ (not exists)
Additional context
Nbfc in Debian Stretch, in same notebook (HP EliteBook 850 G3) work fine.
Very thnaks.
@damufo commented on GitHub (Mar 27, 2020):
Hello:
In my case the problem was that I only installed mono-devel, so when not installing mono-service, the service did not start.
I install mono-complete and work fine!
Thanks.