[GH-ISSUE #581] Connection refused #523

Closed
opened 2026-02-26 00:32:54 +03:00 by kerem · 2 comments
Owner

Originally created by @Jonas1312 on GitHub (Oct 21, 2018).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/581

Describe the bug
mono /opt/nbfc/nbfc.exe status -a
Connection refused

To Reproduce
mono /opt/nbfc/nbfc.exe status -a

Expected behavior
I just want to get status.

System information

  • ubuntu 18.04
  • master branch
  • log files:

cat NbfcServiceSettings.xml :

<?xml version="1.0"?>
<ServiceSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SettingsVersion>0</SettingsVersion>
  <SelectedConfigId>Asus Zenbook UX410UQ</SelectedConfigId>
  <Autostart>true</Autostart>
  <ReadOnly>false</ReadOnly>
  <TargetFanSpeeds>
    <float>101</float>
  </TargetFanSpeeds>
</ServiceSettings>

Logs:

-- Reboot --
oct. 17 17:29:45 UX410UQK systemd[1]: Starting NoteBook FanControl service...
oct. 17 17:29:46 UX410UQK systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: No such file or direc
oct. 17 17:29:46 UX410UQK systemd[1]: Started NoteBook FanControl service.
oct. 17 17:29:47 UX410UQK mono[752]: NbfcService: Service NoteBookFanControlService started
oct. 17 18:14:22 UX410UQK systemd[1]: Stopping NoteBook FanControl service...
oct. 17 18:14:22 UX410UQK mono[752]: NbfcService: Stopping service NoteBookFanControlService
oct. 17 18:14:22 UX410UQK systemd[1]: Stopped NoteBook FanControl service.
-- Reboot --
oct. 17 20:06:10 UX410UQK systemd[1]: Starting NoteBook FanControl service...
oct. 17 20:06:10 UX410UQK systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: No such file or direc
oct. 17 20:06:10 UX410UQK systemd[1]: Started NoteBook FanControl service.
oct. 17 20:06:11 UX410UQK mono[788]: NbfcService: Service NoteBookFanControlService started
oct. 17 20:31:02 UX410UQK systemd[1]: Stopping NoteBook FanControl service...
oct. 17 20:31:02 UX410UQK mono[788]: NbfcService: Stopping service NoteBookFanControlService
oct. 17 20:31:02 UX410UQK systemd[1]: Stopped NoteBook FanControl service.
-- Reboot --

systemctl status nbfc
● nbfc.service - NoteBook FanControl service
   Loaded: loaded (/etc/systemd/system/nbfc.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2018-10-22 01:01:44 CEST; 1h 49min left
  Process: 729 ExecStart=/opt/nbfc/nbfcservice.sh start (code=exited, status=0/SUCCESS)
 Main PID: 746 (mono)
    Tasks: 11 (limit: 4915)
   CGroup: /system.slice/nbfc.service
           └─746 /usr/bin/mono /usr/lib/mono/4.5/mono-service.exe -l:/run/nbfc.pid -m:NbfcService /opt/nbfc/NbfcService.exe

oct. 22 01:01:43 UX410UQK systemd[1]: Starting NoteBook FanControl service...
oct. 22 01:01:44 UX410UQK systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: No such file or direc
oct. 22 01:01:44 UX410UQK systemd[1]: Started NoteBook FanControl service.
oct. 22 01:01:45 UX410UQK mono[746]: NbfcService: Service NoteBookFanControlService started

Additional context
NBFC works perfectly on windows 10

Thanks for your help !

Originally created by @Jonas1312 on GitHub (Oct 21, 2018). Original GitHub issue: https://github.com/hirschmann/nbfc/issues/581 **Describe the bug** mono /opt/nbfc/nbfc.exe status -a Connection refused **To Reproduce** mono /opt/nbfc/nbfc.exe status -a **Expected behavior** I just want to get status. **System information** - ubuntu 18.04 - master branch - log files: cat NbfcServiceSettings.xml : ``` <?xml version="1.0"?> <ServiceSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SettingsVersion>0</SettingsVersion> <SelectedConfigId>Asus Zenbook UX410UQ</SelectedConfigId> <Autostart>true</Autostart> <ReadOnly>false</ReadOnly> <TargetFanSpeeds> <float>101</float> </TargetFanSpeeds> </ServiceSettings> ``` Logs: ``` -- Reboot -- oct. 17 17:29:45 UX410UQK systemd[1]: Starting NoteBook FanControl service... oct. 17 17:29:46 UX410UQK systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: No such file or direc oct. 17 17:29:46 UX410UQK systemd[1]: Started NoteBook FanControl service. oct. 17 17:29:47 UX410UQK mono[752]: NbfcService: Service NoteBookFanControlService started oct. 17 18:14:22 UX410UQK systemd[1]: Stopping NoteBook FanControl service... oct. 17 18:14:22 UX410UQK mono[752]: NbfcService: Stopping service NoteBookFanControlService oct. 17 18:14:22 UX410UQK systemd[1]: Stopped NoteBook FanControl service. -- Reboot -- oct. 17 20:06:10 UX410UQK systemd[1]: Starting NoteBook FanControl service... oct. 17 20:06:10 UX410UQK systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: No such file or direc oct. 17 20:06:10 UX410UQK systemd[1]: Started NoteBook FanControl service. oct. 17 20:06:11 UX410UQK mono[788]: NbfcService: Service NoteBookFanControlService started oct. 17 20:31:02 UX410UQK systemd[1]: Stopping NoteBook FanControl service... oct. 17 20:31:02 UX410UQK mono[788]: NbfcService: Stopping service NoteBookFanControlService oct. 17 20:31:02 UX410UQK systemd[1]: Stopped NoteBook FanControl service. -- Reboot -- ``` ``` systemctl status nbfc ● nbfc.service - NoteBook FanControl service Loaded: loaded (/etc/systemd/system/nbfc.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2018-10-22 01:01:44 CEST; 1h 49min left Process: 729 ExecStart=/opt/nbfc/nbfcservice.sh start (code=exited, status=0/SUCCESS) Main PID: 746 (mono) Tasks: 11 (limit: 4915) CGroup: /system.slice/nbfc.service └─746 /usr/bin/mono /usr/lib/mono/4.5/mono-service.exe -l:/run/nbfc.pid -m:NbfcService /opt/nbfc/NbfcService.exe oct. 22 01:01:43 UX410UQK systemd[1]: Starting NoteBook FanControl service... oct. 22 01:01:44 UX410UQK systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: No such file or direc oct. 22 01:01:44 UX410UQK systemd[1]: Started NoteBook FanControl service. oct. 22 01:01:45 UX410UQK mono[746]: NbfcService: Service NoteBookFanControlService started ``` **Additional context** NBFC works perfectly on windows 10 Thanks for your help !
kerem closed this issue 2026-02-26 00:32:54 +03:00
Author
Owner

@dan-and commented on GitHub (Oct 26, 2018):

what about
sudo mono /opt/nbfc/nbfc.exe status -a4
?

<!-- gh-comment-id:433479478 --> @dan-and commented on GitHub (Oct 26, 2018): what about sudo mono /opt/nbfc/nbfc.exe status -a4 ?
Author
Owner

@Jonas1312 commented on GitHub (Oct 27, 2018):

I just fixed the issue by installing nvidia gpu drivers, no idea what happened...

<!-- gh-comment-id:433597717 --> @Jonas1312 commented on GitHub (Oct 27, 2018): I just fixed the issue by installing nvidia gpu drivers, no idea what happened...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nbfc-hirschmann#523
No description provided.