Jump to content

dmacias

Community Developer
  • Posts

    2,803
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by dmacias

  1. Use manual mode. ups.conf should look like this [ups] driver = "nutdrv_qx" port = "auto" vendorid = "0665" productid = "5161" product = "USB to Serial" vendor = "INNO TECH" bus = "002" upsmon.conf should look like this MONITOR [email protected] 1 monuser monpass master SHUTDOWNCMD "/sbin/poweroff" POWERDOWNFLAG /etc/nut/no_killpower NOTIFYFLAG ONBATT SYSLOG+EXEC NOTIFYFLAG ONLINE SYSLOG+EXEC NOTIFYCMD "/usr/sbin/nut-notify" Run /etc/rc.d/rc.nut start and post the output.
  2. Try using custom driver and type in nutdrv_qx. If that didn't work, edit the ups.conf and add the info from the scanner so it looks like this. driver = "nutdrv_qx" port = "auto" vendorid = "0665" productid = "5161" product = "USB to Serial" vendor = "INNO TECH" bus = "002"
  3. I may add support to the Nut Details page (e.g a drop down based on the ups.conf) for monitoring other defined ups but that's about it. You could use the manual mode and add all the info to the conf files. The ups' would have to distinguishable from each other. From the manual: some combination of the "vendor", "product", "serial", "vendorid", and "productid" options. For instance: e.g. [mge]driver = usbhid-upsport = autovendorid = 0463[tripplite]driver = usbhid-upsport = autovendorid = 09ae
  4. Just wanted to put your mind at ease. It was my mistake. Thanks for all the feedback as always.
  5. I wouldn't call it a workaround. Most of the rc.scripts would do this if you called the wrong option. It would be the same as calling rc.libvirtd start instead of stop. That's what the -q did. It tried to start it in quiet mode. The main purpose of ipmifan is to start a loop. The errors don't add to the problem as it would still be in a loop. As long as ipmifan --quit is called it's benign and will exit after checking for pid or trying to kill any ipmifan processes. I call all three services in shutdown to stop ipmiseld, ipmitail and ipmifan. I will double check that you couldn't somehow start the script from the webgui without the proper variables set. I believe that is already the case.
  6. It's fixed in the latest. If you have already rebooted with the latest, it should work. The shutdown only gets written on plugin install but I didn't add anything to change the -q to --quit, maybe I should have. Just check /etc/rc.d/rc.local_shutdown for the ipmifan line. It should be at the button. Make sure it has --quit or remove it completely. As far as settings disappearing, it may be that the cfg files were open during the hang and were zero'd out when shutdown was forced.
  7. Thanks I still wasn't sure why my system never hung but that explains it. The ipmi plugin Slackware package's do install script adds 3 lines to rc.local_shutdown to shut down the services. The ipmifan line had a -q instead of --quit. So that error was the fan script trying to run but not configured. Hence the line 322 error. Since I use fan control I wouldn't see that error.
  8. I've done it several ways. I've used my Android device to Chromecast it to my Sony surround system with DSub. Bluetooth streaming in the car. You can use most Subsonic apps from the Windows store or Android. Don't know about Apple. I believe there are Kodi plugins.
  9. I use Libresonic docker and DSub on Android. It's a free web based music streamer. There's apps on Windows too.
  10. Is the builtin APCUPSD turned off. I have No, Custom, empty and Dumb set? Check "ps aux | grep ups" for any running ups commands. Usb isn't assigned to a vm? udev rules set for something else? This is what my /etc/rc.d/rc.nut start looks like Writing nut config Updating permissions... Network UPS Tools - UPS driver controller 2.7.4 Network UPS Tools - Generic HID driver 0.41 (2.7.4) USB communication driver 0.33 Using subdriver: CyberPower HID 0.4 Network UPS Tools upsd 2.7.4 fopen /var/run/nut/upsd.pid: No such file or directory listening on 0.0.0.0 port 3493 Connected to UPS [CyberPower850]: usbhid-ups-CyberPower850 Network UPS Tools upsmon 2.7.4 fopen /var/run/nut/upsmon.pid: No such file or directory UPS: [email protected] (master) (power value 1) Using power down flag file /etc/nut/killpower
  11. I have the 850 and the 1500 of the same model. You should use the usbhid-ups diver. Try running "/etc/rc.d/rc.nut start" What's your upsmon.conf look like? Also try a different usb port and not usb3.
  12. So it just stops right there and won't shut down even after that? Do you also have fan control running? Only thing you could check is if you log back in remotely and run "ps aux | grep ipmi" and see if ipmiseld, ipmifan or 2 instances of ipmitail are still running. I have been moving everything from my C2750 to my X10SLL-F and have shutdown a dozen times without fail. I'll double check though and record the console as it shuts down. Edit. You could also test starting and stopping the services manually /etc/rc.d/rc.ipmiseld start/stop /etc/rc.d/rc.ipmitail start/stop ipmifan --daemon ipmifan --quit Edit 2. I think it's ipmifan that's not shutting down. I changed some command line variables and the shutdown script uses -q instead of --quit.
  13. You could move the stop and start after the bundle remove and install commands. Method 2 is you could add the emhttp path to the bundle then change the get controlr bundle to this. This will install it as a Slackware package. It will remove the old and install the new. This will give a warning about makepkg but should work. Then remove these lines # Remove emhttp files so we can re-install.rm -rf /usr/local/emhttp/plugins/&name;/* 2>/dev/null# Install the 'bundle'.tar -xf /boot/config/plugins/&name;/&bundle; -C /usr/local/emhttp/plugins Method 3 is you could leave the bundle File section as is, still include the path in the bundle but manually upgradepkg --install-new. With both methods you can use removepkg to remove the bundle on plugin uninstall. Also you could use makepkg to create the bundle. This allows you to add install script and package description. If you look at my IPMI-unRAID repo I explain how I make Slackware packages on my laptop. And under Source you can see the layout and the script I use.
  14. Let me know if it works. I need to update the libvirt-python package to match and a few other things.
  15. I moved it to it's own repo. It should be fixed now.
  16. My idle power with the Supermicro X10SLL-F and E3-1240 v3 with all drives spun down is about 41-43 watts. This picture is from the UPS page but with a switch and cable amplifier that add about 10 watts.
  17. I wasn't sure if the script required python3. It's the same version for all 6.4. I updated NerdPack python-2.7 to include pkg_resources and added the Pip package also. All you have to do is run "pip install pyquery".
  18. Nice, I hadn't seen the CPF04 before. You could use a splitter with the rpm wire disabled to one fan. I have the 2 Noctua drive cage fans connected to FANA with the Noctua splitter which is missing the rpm pin 3 from one side.
  19. It's already in xml format on the flash drive in the speedtest plugin config directory. I could put a button on the settings page to download that file.
  20. I have the same board. I'm swapping it to my main server right now. It was in my backup and I can confirm fan control does work with it.
  21. You may have to factory reset the bmc. Also remove the .config files from the ipmi plugin directory on the flash drive. And make sure that the load config toggle switch is off on the sensor editor.
  22. I decided to ditch the ICY DOCK 4 X 2.5" into 5.25" bay for the Silverstone FS204. The reviews for the ICY DOCK say the fan can last only weeks. So I was planning to just order a Noctua 40mm. That would bring the price closer $60. While there aren't many reviews for the FS204, I find the Silverstone fans to be better than average and it comes with 2. I would rather the $70 price be lower but it also comes with individual locks for each tray.
×
×
  • Create New...