Hello all,
NC> Yes, that would be help. Google for gdb+tutorial to find detailed
NC> explanations about gdb usage. In order to compile neko+mod_neko in debug
NC> mode you need to add -g in Makefile (CFLAGS) and neko/tools/install.neko
ok, the trouble got solved now. It was, however, far from trivial...
The root cause is selinux being enabled. It disallows something done
by neko (looks like executing memory), and makes apache crash
mysteriously.
So the way to get this resolved is to apply the following selinux
policy (named nekohttpd for instance):
module nekohttpd 1.0;
require {
type httpd_t;
class process execmem;
}
#============= httpd_t ==============
allow httpd_t self:process execmem;
if this particular one doesn't work for your system, here is the
more generic approach:
1. install audit:
yum install audit
2. start audit daemon:
/etc/init.d/auditd start
3. try starting apache:
/etc/init.d/httpd start
4. make the policy to permit everything apache is failing to do:
grep http /var/log/audit/audit.log | audit2allow -M nekohttpd
now you have the compiled nekohttpd.pp policy - only install it:
semodule -i nekohttpd.pp
Nothing fancy after all :) But this probably should go to FAQ or
installation guide, otherwise it is really difficult to solve (if
you have never even heard of selinux especially).
--
Best regards,
Michael mailto:[EMAIL PROTECTED]
--
Neko : One VM to run them all
(http://nekovm.org)