Comments (1)
For kicks, tried if it would just work - no, it does not; the whole single/first token is seen as an address, and the lack of second token causes an attempt to use the default port number:
:; rm -rf /tmp/nnnn ; mkdir -p /tmp/nnnn && touch /tmp/nnnn/{ups.conf,upsd.conf,upsd.users}
:; echo 'LISTEN :::3493' > /tmp/nnnn/upsd.conf
:; ALLOW_NO_DEVICE=yes NUT_STATEPATH=/tmp/nnnn NUT_CONFPATH=/tmp/nnnn ./server/upsd -DDDDDD ; echo $?
Network UPS Tools upsd 2.8.2-137-g3c19d79de
0.000001 fopen /tmp/nnnn/upsd.pid: No such file or directory
0.000043 Could not find PID file '/tmp/nnnn/upsd.pid' to see if previous upsd instance is already running!
0.000208 /tmp/nnnn/upsd.conf is world readable
0.000333 [D3] listen_add: added :::3493:3493
0.000373 [D1] debug level is '6'
0.000413 [D3] setuptcp: try to bind to :::3493 port 3493
0.000530 getaddrinfo: Name or service not known
from nut.
Related Issues (20)
- Revise `ups.status` values set by shipped drivers to match NUT standards HOT 3
- PowerWalker VFI 1000R/1U outlets
- How do i add 2 battery charge threshold to shutdown slave and master at different levels HOT 1
- UPSRW unexpected response from upsd HOT 1
- Xmart by Integra SUPRA 901-230-S* works with `blazer_usb` but not with `nutdrv_qx` HOT 3
- CircleCI deprecated the XCode version NUT tests used, newer is needed HOT 1
- CI: Recipes about `ChangeLog` regularly fail in Linux+mingw builds HOT 3
- Revise `nut-scanner` parallelization of scanning HOT 1
- `nut-scanner` seems to not really handle IPv6 addresses? HOT 2
- NUT Server stopped working with Powerwalker UPS HOT 3
- Need to implement `nut-scanner -m auto*` modes on WIN32
- Want to implement `nut-scanner` support for multiple IP addresses resolving for one host name
- Want to implement parallel `nut-scanner` scanning support on MacOS
- Want to implement parallel `nut-scanner` scanning support for IPMI
- Add new templates options HOT 2
- Variable for STATUS includes spurious HTML HOT 3
- Need riello_usb drivers for windows HOT 5
- CI: PyNUTClient src preparation sometimes fails on omnios build agent HOT 2
- BX500MI compatibility HOT 1
- VOLT Micro works with blazer_usb but not with nutdrv_qx HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nut.