Tenon Intersystems Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation

Search tenon.com

Thanks to:

iTools

Re: New PHP Update Package killed the Web Server

To: <itools@xxxxxxxxxxxxxxx>
Subject: Re: New PHP Update Package killed the Web Server
From: Rino Zandee <zandee@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Sep 2003 22:50:37 +0200
On 13-09-2003 02:27, "Eric Yang" <eyang@xxxxxxxxx> wrote:

> Hi,
> 
> The package has been fixed.  It appeared that Zend Optimizer is using
> /usr/local/lib/libdl.dylib, but that file does not exist on all Mac OS
> X installation.  I have included that file in the PHP installer to
> avoid this problem.
> 
> regards,
> Eric

OK, seemed to me a good moment in time to check whether i run the latest
version of iTools 7.1, and than install the latest PHP as a bonus.
After install and restart i have no webserver !
I see the following message in admin_error_log:
[Mon Sep 15 20:17:02 2003] [notice] caught SIGTERM, shutting down

Trying to restart the webserver by means of iTools Manager gives the
following in admin_error_log:
/Library/Tenon/System/Scripts/WEBSERVER:
/Library/Tenon/WebServer/Executables/apachectl: No such file or directory
ls: /Library/Tenon/WebServer/Executables/apachectl: No such file or
directory

So iTools Manager uses the WEBSERVER script to restart Apache and it calls:
$HTTPD_ROOT/Executables/apachectl startssl
but when checking the $HTTPD_ROOT/Executables folder there is no apachectl.
There appears to be an apachectl-2.0, but no apachectl.
So i made a symbolic link from apachectl-2.0 to apachectl.
The file apachectl in /usr/sbin appears to be a symbolic link as well, but
to apachectl in $HTTPD_ROOT/executables and we've just seen that there is no
such file present in $HTTPD_ROOT/executables unless you make one yourself.

Now trying:
apachectl configtest
which gives:
Syntax error on line 123 of /Library/Tenon/WebServer/Configuration/ssl.conf:
SSLCertificateKeyFile: file
'/Library/Tenon/WebServer/Configuration/ssl.keys/server.key' does not exist
or is empty

What exactly does this mean ?

Whatever it means, i continue with
sudo apachectl graceful
which gives:
Syntax error on line 157 of
/Library/Tenon/WebServer/Configuration/httpd.conf:
Cannot load /Library/Tenon/WebServer/Modules/mod_jk.so into server: cannot
create object file image or add library

As far as i can remember from July when i upgraded my system to iTools
version 7 and some other packages (PHP, MySQL, Tomcat) the module mod_jk.so
comes from the Tomcat package and that particular line 157 was inserted into
httpd.conf by the Tomcat installer. It seems to me it is in need of an
update as well, or did i make a mistake somewhere, or miss something in the
install process ?

When i comment-out line 157, like this
# LoadModule jk_module Modules/mod_jk.so
apache starts and all is well and PHP works OK (including the Zend
optimizer). The weird thing [at least to me] is that restarting Tomcat
through the iTools Manager works, so what exactly does this mod_jk.so do ?

So thank you Tenon for the nice PHP update, but why is it that one sometimes
has to dig into the innards of iTools to get it working [again]...

Regards,

 
--> Rino Zandee
--> Leiden University - IBL - Theoretical Biology
--> van der Klaauw Laboratory - Kaiserstraat 63 - 2311 GP Leiden - NL
--> Tel: +31.71.5274906     Fax: +31.71.5274900
--> WWW: http://wwwbio.leidenuniv.nl/~zandee/index.html

"It must be remembered that there is nothing more difficult to plan, more
doubtful of success, nor more dangerous to manage, than the creation of a
new system. For the initiator has the emnity of all who would profit by the
preservation of the old institutions and merely lukewarm defenders in those
who would gain by the new ones." -- Niccolo Machiavelli



-- 
Dit bericht is gescand op virussen en andere gevaarlijke inhoud door ULCN 
MailScanner en het bericht lijkt schoon te zijn.
This message has been scanned for viruses and dangerous content by ULCN 
MailScanner, and is believed to be clean.

---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send mail to 
itools-request@xxxxxxxxxxxxxxx
with the body only containing: 
unsubscribe
Find the searchable mailing list archives 
at:
http://itools.blackpepper.co.nz/                               


| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists