[Nagiosplug-devel] Solaris 9 vs. check_dhcp (today's CVS)
Voon, Ton
Ton.Voon at egg.com
Thu Dec 23 00:12:00 CET 2004
I've had build problems on check_dhcp when building on sf.net's Sol compile
server, but I've been ignoring them because I don't know anything about it.
-----Original Message-----
From: Harper Mann [mailto:hmann at itgroundwork.com]
Sent: 23 December 2004 01:15
To: nagiosplug-devel at lists.sourceforge.net
Subject: [Nagiosplug-devel] Solaris 9 vs. check_dhcp (today's CVS)
Hi,
Has anyone tried check_dhcp on Solaris 9? Mine was built today off the
current nagiosplug cvs.
[root at bern plugins]$ ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.2.58 netmask ffffff00 broadcast 192.168.2.255
ether 0:3:ba:7a:c3:55
[root at bern plugins]$ gdb ./check_dhcp
GNU gdb 6.1
"Copyright blah..."
This GDB was configured as "sparc-sun-solaris2.8"...
(gdb) run -i eri0
Starting program: /home/hmann/nagiosplug/plugins/check_dhcp -i eri0
Program received signal SIGSEGV, Segmentation fault.
0x00012668 in add_dhcp_offer (source=
{S_un = {S_un_b = {s_b1 = 192 'À', s_b2 = 168 '¨', s_b3 = 2 '\002',
s_b4 = 1 '\001'}, S_un_w = {s_w1 = 49320, s_w2 = 513}, S_addr =
3232236033}},
offer_packet=0xffbff9e8) at check_dhcp.c:774
774 dhcp_lease_time=ntohl(*((u_int32_t
*)&offer_packet->options[x]));
(gdb) bt
#0 0x00012668 in add_dhcp_offer (source=
{S_un = {S_un_b = {s_b1 = 192 'À', s_b2 = 168 '¨', s_b3 = 2 '\002',
s_b4 = 1 '\001'}, S_un_w = {s_w1 = 49320, s_w2 = 513}, S_addr =
3232236033}},
offer_packet=0xffbff9e8) at check_dhcp.c:774
#1 0x00012ad4 in get_dhcp_offer (sock=7) at check_dhcp.c:556
#2 0x000136a8 in main (argc=3, argv=0xffbffcf4) at check_dhcp.c:258
Anyone seen this? It seems to broadcast okay and fails receiving the lease.
Regards,
- Harper
Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
http://itgroundwork.com
-----------------------------------------
This private and confidential e-mail has been sent to you by Egg. The Egg
group of companies includes Egg Banking plc registered no. 2999842), Egg
Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd
(registered no. 3403963) which is authorised and regulated by the Financial
Services Authority. Egg Investments Ltd. is entered in the FSA register
under number 190518. Registered in England and Wales. Registered
offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you
are not the intended recipient of this e-mail and have received it in
error, please notify the sender by replying with 'received in error' as the
subject and then delete it from your mailbox.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nagios-plugins.org/archive/devel/attachments/20041223/84488a26/attachment.html>
More information about the Devel
mailing list