Tuesday, August 21, 2007

Ubuntu /bin/sh is link to dash not bash

1. change the script to /bin/bash
2. or change the link /bin/sh to /bin/bash

How to Build WO adaptor for Apache1.3 in Ubuntu

1. WO 5.1 old version with Solaris install, Apache1.3.34 install withUbuntu
2. http://tetlabors.de/wo/setup_webobjects_on_linux.html
3. Apache source code like /src/include for build
4. in ubuntu the Apache is nonstandard installation, so
APXS = /usr/bin/apxs
point to /path/to/src/include plus os.h....
remove -DEAPI, because this Apache is with EAPI

5. apache is running, but...
don't have *.info in /usr/lib/apache/1.3 with mod_WebObjects.so
there is no SetHandler WebObjects in httpd.conf

Thursday, August 16, 2007

Services start processing in Ubuntu

1. in Ubuntu the default run level is 2, so anything run from /etc/rc2.d which are link to /etc/init.d (Add or remove from here)

2. for manually start apache, run like sudo /etc/init.d/apache start, following run the command /usr/sbin/apachectl.....

3. if you want to use another version other than Ubuntu version, you have to go to /path/to/apachectl start. remember setup log and other PID... like in /etc/init.d/apache