I am really, really stumped on this one. You will either think I'm crazy or a liar, but here's what is happening, if you think you can face the risk of losing your mind, too.
I use zabbix_agentd on AIX 5.3. I had put together an install script so others on my team could easily install the agent on their hosts. I wanted to test my install script, so I killed the agent, backed up all of the files normally used by zabbix, removed the zabbix user, etc. Ran the script, but the agent would not start... it would just hang using an entire CPU. I would put back all of the original files and it would start up fine. After a day of trial and error, I tracked it down to the conf file. Now check this out:
If I place a copy of my original conf file (from when it was working) in /etc/zabbix, the agent hangs using an entire CPU. If I move the original conf file into /etc/zabbix or link to the original, it works fine.
Permissions are identical between the two conf files and the directories before and after. Even aclget shows no differences.
'diff' shows no difference between the conf files.
'sum' shows no difference.
I have copied, linked, moved, renamed and otherwise switched the conf files back and forth dozens of times with the same result. Only one file and one file only will allow the agent to start.
Am I insane?? Am I an idiot?? Half my kingdom and my daughter's hand in marriage to anyone that can tell me what's going on?? Well, a hearty 'thank you' at any rate...
Help me unix gurus!
I use zabbix_agentd on AIX 5.3. I had put together an install script so others on my team could easily install the agent on their hosts. I wanted to test my install script, so I killed the agent, backed up all of the files normally used by zabbix, removed the zabbix user, etc. Ran the script, but the agent would not start... it would just hang using an entire CPU. I would put back all of the original files and it would start up fine. After a day of trial and error, I tracked it down to the conf file. Now check this out:
If I place a copy of my original conf file (from when it was working) in /etc/zabbix, the agent hangs using an entire CPU. If I move the original conf file into /etc/zabbix or link to the original, it works fine.
Permissions are identical between the two conf files and the directories before and after. Even aclget shows no differences.
'diff' shows no difference between the conf files.
'sum' shows no difference.
I have copied, linked, moved, renamed and otherwise switched the conf files back and forth dozens of times with the same result. Only one file and one file only will allow the agent to start.
Am I insane?? Am I an idiot?? Half my kingdom and my daughter's hand in marriage to anyone that can tell me what's going on?? Well, a hearty 'thank you' at any rate...
Help me unix gurus!
Comment