Code Monkey home page Code Monkey logo

Comments (1)

jimklimov avatar jimklimov commented on June 12, 2024

The first part says Error: Section aeg not found in ups.conf and indeed I do not see an [aeg] in the ups.conf excerpt (or is it the full file content - then certainly missing that bit?) Drivers would check that their name matches the driver in the section, so that would be another point for them to complain about mismatches, BTW (usbhid-ups vs. blazer_usb or nutdrv_qx).

Note that for testing you can start driver programs directly with -s arbitraryUpsName and ALL options specified as a series of -x key=value.

FWIW, later "screenshots" indicate a configured section named megatec. And as far as that trail says, you start that one (/run/nut/blazer_usb-megatec.pid) and then try to start with nutdrv_qx. The port is occupied by the blazer driver which you did not indicate stopping, so nutdrv_qx can not use it (termination of the other instance pertains to same-driver fratricide, as a workaround for processes stuck in I/O, etc.).

Not sure what your OS is, but it may be that systemd keeps the driver instance alive (which would also conflict with services you start manually); the nut-driver-enumerator family of services can create nut-driver@name instances based on ups.conf sections (see https://github.com/networkupstools/nut/wiki/nut%E2%80%90driver%E2%80%90enumerator-(NDE) in Wiki).

Potentially, bus, device and busport options can also be troublesome as they depend on OS device (re-)enumeration which can change over time. Try commenting those away too.

from nut.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.