[ZBX-2342] Precompiled agent throughs floating point exception Created: 2010 Apr 20 Updated: 2017 May 30 Resolved: 2010 Apr 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 1.8.2 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Critical |
Reporter: | Oli Sennhauser | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
64-bit Linux system. This is a special Telecom set-up based on SuSE Linux but completely stripped and possibly with modified kernel (2.6.8) for real time use. 8 cores, 8 Gbyte RAM, NO disk. |
Description |
When I start the agent I get immediately a floating point exception. |
Comments |
Comment by richlv [ 2010 Apr 20 ] |
there seems to be a similar problem discussed at http://www.zabbix.com/forum/showthread.php?t=12459 |
Comment by Aleksandrs Saveljevs [ 2010 Apr 20 ] |
Since your environment is by no means common, we would appreciate more information about the problem. Judging by the forum thread which richlv linked to, nothing is printed to the agent's log file even with DebugLevel=4. If this is not your case, please let us know. Otherwise, could you please run zabbix_agentd under strace (for instance, `strace -o strace.txt ./zabbix_agentd`)? At least this little piece of information might prove useful. |
Comment by Oli Sennhauser [ 2010 Apr 21 ] |
Hi Aleksandrs, According to your wishes I have collected some information: Linux XXXXXX 2.6.16.60-0.42.5.492.0.PTF.506281-smp #1 SMP Mon Aug 24 09:41:41 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
--> NO logfile. It seems it crashes BEFORE any logfile can be written.
CPU: processor : 7 Strace:
When I look at the man pages for arch_prctl I find the following: arch_prctl() is only supported on Linux/x86-64 for 64-bit programs currently. So this explains at least why it only happens with the 64-bit agents. When I use the 32-bit agent (zabbix_agents_1.8.2.linux2_4.i386.tar.gz) it works. I hope, this helps you further to track down the problem. Otherwise please let me know what you need else... Regards, |
Comment by Oli Sennhauser [ 2010 Apr 21 ] |
Could be related to old/bad glibc: http://www.mail-archive.com/[email protected]/msg322222.html |
Comment by Aleksandrs Saveljevs [ 2010 Apr 21 ] |
Hi Oli, Thank you very much for the detailed information! It was very helpful. It indeed seems to be a problem with the glibc version. We are compiling on 64-bit Linux with glibc-2.5 and it might not work with earlier versions. At least, the precompiled binaries (not just zabbix_agentd, but also zabbix_get and zabbix_sender) also fail to start in our environment with pre-2.5 glibc. Please continue using whatever agent works for you. Regards, |