Hi.
I have resumed my quest to get CF running on FreeBSD. Let me just share
where I am now. First, you *must* run FreeBSD 4.4-RELEASE or -STABLE with
the appropriate kernel patch. I have included the patch, which is very
trivial, below.
Next, you need the linux_base port, obviously, and enable linux emulation.
Then you need a web server. I tried to build a module for apache but that
didn't work because the symbol __assert_fail in libcf.a cannot be resolved
on FreeBSD. What I did was use my own web server (www.mathopd.org) and use
coldfusion in CGI mode. To run CF in CGI mode properly you need the
patched cfml that Tom talked about the other day.
Then you add a cfusion user and run the install scripts just as you would
on a normal linux system, and off you go. CF administrator, cfmail,
cfhttp, databases, everything works...
.. up to a point where one cfserver thread starts consuming 100% CPU and
/tmp/cfserver disappears. This happens at apparently random spots, but it
is more likely to happen when you have things like INSERTs etc going on.
It is interesting to note that cfserver catches SIGSEGV (signal 11) but
rather than logging that error it spins endlessly in a loop. I have gdb
stack traces if anyone is interested (probably not ;)
Cheers
Michiel
FreeBSD 4.4-RELEASE kernel patch below
--- sys/kern/sysv_sem.c.orig Mon Sep 10 13:37:34 2001
+++ sys/kern/sysv_sem.c Tue Oct 30 21:20:39 2001
@@ -911,6 +911,7 @@
semptr = &semaptr->sem_base[sopptr->sem_num];
semptr->sempid = p->p_pid;
}
+ semaptr->sem_otime = time_second;
/* Do a wakeup if any semaphore was up'd. */
if (do_wakeup) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.