I'm trying to run ipmievd in daemon mode on a RHEL4 Update 3, x86_64 system, however, the process closes without any errors whenever attempting to do so.  The command I'm using is "ipmievd -I open open".  It works fine when using nodaemon.

Running ipmievd through gdb, I found eintf->setup(eintf) returning -1 which is causing the program to cleanup and exit.

(gdb) set follow-fork-mode child
(gdb) break 692
Breakpoint 1 at 0x4042b5: file ipmievd.c, line 692.
(gdb) run -I open open
Starting program: /tmp/ipmitool-1.8.8/src/ipmievd -I open open
Attaching after fork to child process 8765.
[Switching to process 8765]

Breakpoint 1, ipmievd_main (eintf=0x532360, argc=0, argv=0x7fbffffb48) at ipmievd.c:692
692             rc = eintf->setup(eintf);
(gdb) n
[tcsetpgrp failed in terminal_inferior: Operation not permitted]
694             if (rc < 0) {
(gdb) print rc
$1 = -1
(gdb) n
695                     lprintf(LOG_ERR, "Error setting up Event Interface %s", eintf->name);
(gdb)
707                     return -1;
(gdb)
712    }

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to