Re: Error "Illegal instruction (core dumped)" when running puppet agent (version 3.2.1)

529 views
Skip to first unread message

asim patel

unread,
Dec 18, 2013, 6:00:21 AM12/18/13
to puppet...@googlegroups.com
Hi All,

even i am facing the same prob, when i am trying to start the puppet agent getting an error illegal instruction (core dump)
please let me know the resolution  

On Tuesday, 28 May 2013 13:04:14 UTC+5:30, Aqeel Nazeer wrote:
Hi, 
I just upgraded my puppet to version to 3.2.1, and when running the agent, I get an error saying "Illegal instruction (core dumped)". Here is some details:

- both master and agent is run on the same machine

- # cat /etc/redhat-release
  CentOS release 6.2 (Final)

- # uname -r
  3.9.3-x86_64-linode33

- #ruby --version
  ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

- RPM installed is "puppet-3.2.1-1.el6.noarch.rpm"

However when I run puppet agent with the same version on another host, everything goes fine. Problem is only while running agent on the same machine as the server.
Any idea what is going on ?

Felix Frank

unread,
Dec 21, 2013, 7:48:48 PM12/21/13
to puppet...@googlegroups.com
Asim,

are you using CentOS as well?

For what it's worth, I cannot reproduce with ruby 1.8 on Debian.

Can you open the dumped core with gdb and pull a stack trace?

Thanks,
Felix

Jeff Bachtel

unread,
Dec 21, 2013, 10:10:52 PM12/21/13
to puppet...@googlegroups.com

On 12/18/2013 06:00 AM, asim patel wrote:
Hi All,

even i am facing the same prob, when i am trying to start the puppet agent getting an error illegal instruction (core dump)
please let me know the resolution  

On Tuesday, 28 May 2013 13:04:14 UTC+5:30, Aqeel Nazeer wrote:
Hi, 
I just upgraded my puppet to version to 3.2.1, and when running the agent, I get an error saying "Illegal instruction (core dumped)". Here is some details:

- both master and agent is run on the same machine

- # cat /etc/redhat-release
  CentOS release 6.2 (Final)

- # uname -r
  3.9.3-x86_64-linode33


So uh, that's very interesting. Do you have a CentOS 6.2 kernel you could boot for testing purposes? It sounds somewhat likely that ruby or one of the libraries it depends on is not binary-compatible with the 3.9.3 kernel (which given that it was all compiled to work against 2.6.32 kernel ABI, falls under "not at all surprising").

If you can do the reboot and the test passes with the older kernel and you want to pursue this, you're going to be in for a long, tortuous ordeal of tracking down the incompatibility (most likely somewhere in libc), recompiling the library for your kernel and either trying to copy it in place (which will very possibly break other things on the system) or putting it in /usr/local and then building a local ruby pulling in the library built against your kernel.

I cannot strongly enough recommend avoiding all that pain if at all possible,

Jeff


- #ruby --version
  ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

- RPM installed is "puppet-3.2.1-1.el6.noarch.rpm"

However when I run puppet agent with the same version on another host, everything goes fine. Problem is only while running agent on the same machine as the server.
Any idea what is going on ?

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/35e7f2e2-b75a-4b23-9cc4-5e6fdb3f3b3f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages