vom513
2022-Dec-18 21:56 UTC
[Nut-upsuser] Compiling on Solaris 8 sparc - configure errors
> On Dec 18, 2022, at 4:34 PM, Jim Klimov <jimklimov+nut at gmail.com> wrote: > > Don't have a SPARC machine anymore, but it is regularly tested on illumos (which is ages newer than Sol8)... wondering if I can get an x86 vm running with it... > > In the meanwhile, add some `-D` options to the launched program so it is more verbose. Is that other NUT (upsd) listening not on localhost?Thanks for the reply and info. I will do this and see if there?s any clues in the debug output. Yes the other upsd is listening on the lan as well. I have an ESXi server talking to it just fine.> Are firewall permissions allowing the connection? >Yes.> Does the built `upsc` client connect?No - same error ?Unknown error?. This is what makes me think there is some common code that?s unable to open sockets on Solaris.> Certainly older NUT did work for me on the platform (both ARCHes). > > For the nut-scanner there's a configure option (to disable). Wondering what's with perl script - probably wants dependencies not present/functional in that distro.Do you know what option this is ? I probably scrolled past it, but I did look for something to disable it.
vom513
2022-Dec-18 22:03 UTC
[Nut-upsuser] Compiling on Solaris 8 sparc - configure errors
Debug doesn?t seem to say much: [root at ss20 ~]# LD_LIBRARY_PATH=/usr/local/ups/lib /usr/local/ups/sbin/upsmon -DDDDDDDDDDDD Network UPS Tools upsmon 2.8.0 0.000000 Failed to read pid from /var/run/upsmon.pid 0.008469 Could not parse PID file to see if previous upsmon instance is already running! 0.024417 UPS: ups at 192.68.64.30 (secondary) (power value 1) 0.038074 Using power down flag file /etc/killpower 0.053368 [D1] debug level is '12' 0.062147 [D1] debug level is '12' 0.263514 upsmon parent: read It exits immediately as well.
Sam Varshavchik
2022-Dec-18 23:06 UTC
[Nut-upsuser] Compiling on Solaris 8 sparc - configure errors
vom513 via Nut-upsuser writes:> > Does the built `upsc` client connect? > > No - same error ?Unknown error?. This is what makes me think there is some > common code that?s unable to open sockets on Solaris.I gatekeep some code that was originally written when dinosaurs roamed the earth. This is a short in the dark, but -lsocket -lnsl was required when linking code that used socket, back in prehistoric days. Although I would expect a link failure, if that was the case here. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20221218/6ec262c6/attachment.sig>