[GH-ISSUE #599] showing the service status "The requested address is not valid in this context" in Debian and other questions #540

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

Originally created by @NoCodeForOldMen on GitHub (Dec 5, 2018).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/599

Hello,

thank you for creating this program. I need some help, maybe somebody has an idea.

nbfc version: 1.6.1.0
OS: Debian testing
Build via github, no Docker
Notebook: Lenovo Thinkpad 13 Gen2

After installing I couldn't enable the service. I did #2:

To install the NBFC service, copy nbfc/Linux/nbfc.service and nbfc/Linux/nbfc-sleep.service into /etc/systemd/system/

and I did

To enable and start the service, open a terminal and type systemctl enable nbfc --now

when I did mono /opt/nbfc/nbfc.exe status --all it said, that the service wasn't enabled.
I couldn't enable it. So I rebooted my notebook and after that I could once again choose the config:
mono /opt/nbfc/nbfc.exe config --apply Lenovo Thinkpad 13 2191 and the reply was

Extra positional arguments found: Thinkpad 13 2191

Which doesn't sound bad.

However when I type
mono /opt/nbfc/nbfc.exe status -a
it says

The requested address is not valid in this context

and that goes for all the other commands like
mono /opt/nbfc/nbfc.exe start -e
as well.
I haven't added the nbfc to my path because it looks messy and I do not know how to add it.
My path is

export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/games:/usr/local/sbin:/usr/sbin:/sbin:~/local/bin

I can only acces nbfc through mono. If I try to access it via nbfc or nbfc.exe I get command not found (which is due to the missing path I guess)

tl;dr: The installation was somewhat successful. I cannot enable the systemd service. I can choose my notebook profile but not use anything else in nbfc

Originally created by @NoCodeForOldMen on GitHub (Dec 5, 2018). Original GitHub issue: https://github.com/hirschmann/nbfc/issues/599 Hello, thank you for creating this program. I need some help, maybe somebody has an idea. nbfc version: 1.6.1.0 OS: Debian testing Build via github, no Docker Notebook: Lenovo Thinkpad 13 Gen2 After installing I couldn't enable the service. I did #2: > To install the NBFC service, copy nbfc/Linux/nbfc.service and nbfc/Linux/nbfc-sleep.service into /etc/systemd/system/ and I did > To enable and start the service, open a terminal and type `systemctl enable nbfc --now` when I did `mono /opt/nbfc/nbfc.exe status --all` it said, that the service wasn't enabled. I couldn't enable it. So I rebooted my notebook and after that I could once again choose the config: `mono /opt/nbfc/nbfc.exe config --apply Lenovo Thinkpad 13 2191 `and the reply was > Extra positional arguments found: Thinkpad 13 2191 Which doesn't sound bad. However when I type `mono /opt/nbfc/nbfc.exe status -a` it says > The requested address is not valid in this context and that goes for all the other commands like `mono /opt/nbfc/nbfc.exe start -e` as well. I haven't added the nbfc to my path because it looks messy and I do not know how to add it. My path is > export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/games:/usr/local/sbin:/usr/sbin:/sbin:~/local/bin I can only acces nbfc through mono. If I try to access it via nbfc or nbfc.exe I get command not found (which is due to the missing path I guess) tl;dr: The installation was somewhat successful. I cannot enable the systemd service. I can choose my notebook profile but not use anything else in nbfc
kerem 2026-02-26 00:32:56 +03:00
  • closed this issue
  • added the
    Stale
    label
Author
Owner

@snoggelito commented on GitHub (Apr 3, 2019):

Hi there

I did mono /opt/nbfc/nbfc.exe status --all it said, that the service wasn't enabled.
I couldn't enable it. So I rebooted my notebook and after that I could once again choose the config:
mono /opt/nbfc/nbfc.exe config --apply Lenovo Thinkpad 13 2191 and the reply was

Extra positional arguments found: Thinkpad 13 2191

The problem here is that it's supposed to be mono /opt/nbfc/nbfc.exe config --apply "Lenovo Thinkpad 13 2191"

<!-- gh-comment-id:479461973 --> @snoggelito commented on GitHub (Apr 3, 2019): Hi there > I did mono /opt/nbfc/nbfc.exe status --all it said, that the service wasn't enabled. I couldn't enable it. So I rebooted my notebook and after that I could once again choose the config: mono /opt/nbfc/nbfc.exe config --apply Lenovo Thinkpad 13 2191 and the reply was Extra positional arguments found: Thinkpad 13 2191 The problem here is that it's supposed to be mono /opt/nbfc/nbfc.exe config --apply **"Lenovo Thinkpad 13 2191"**
Author
Owner

@github-actions[bot] commented on GitHub (Nov 21, 2019):

This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed

<!-- gh-comment-id:556556387 --> @github-actions[bot] commented on GitHub (Nov 21, 2019): This issue is stale because it has been open more than 180 days with no activity. If nobody comments within 7 days, this issue will be closed
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#540
No description provided.