Hi list, I believe there is a bug in the daemonize code of ipmievd. While trying to run ipmievd on one of our Solaris 9 servers, I found that the daemon is running, but that it's not logging to syslog. I start the daemon with:
ipmievd -H <hostname> -I lan -U <username> -P <password> sel daemon After a couple of hours debugging, I found why it's not logging. In lib/helper.c, line 401, I found: for (fd=0; fd<64; fd++) close(fd); I am not a programmer, but this looks a bit odd to me. 64 file descriptors are being closed, including the one of the socket which is needed to write to syslog. Deleting the lines above gives me a working daemon, so I am all happy, but I would like to know why these file descriptors are being closed. I've a little feature request as well: it would be nice to see the hostname of the polled device in the log. When running multiple daemons which all log to LOG_LOCAL4, it's hard to see which device has problems. -Remy ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel