Dmitri Colebatch wrote:
> 
> and if in one window you have "tail -f logs/*" whilst trying to start it is
> there any meaningful output in the logs?


ok :) whe're going near the solution..

when i start tomcat all seems ok.. tomcat now works on port 8080
(servlet and jsp examples work too)... OK

now, when i try to start apache...

        root@lintest:/var/lib/apache/sbin# ./apachectl start
        ./apachectl start: httpd could not be started

The error_logs file contains:

        root@lintest:/var/lib/apache/sbin# cat /var/log/error_log
        [Wed Jun 13 17:02:31 2001] [emerg] JServ: Error setting defaults:
ApJServLogFile
        : file '/var/lib/apache/./logs/mod_jserv.log' can't be opened
        [Wed Jun 13 17:02:31 2001] [crit] (2)No such file or directory: Apache
JServ enc
        ountered a fatal error; check your ApJServLogFile for details if none
are presen
        t in this file.  Exiting.

because src/native/apache/jserv/jserv.h at line 117 contains:

#define JSERV_DEFAULT_LOGFILE "./logs/mod_jserv.log"

so it searches a logs subdir in /var/lib/apache... I simply created it
and now..........

root@lintest:/var/lib/apache# sbin/apachectl start
sbin/apachectl start: httpd started

IT WORKS!!!!! :)) and tomcat integration too... 

Thanks a lot :)))))



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mario Libraro
Progettazione & Sviluppo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fulltrading S.p.A.

amm.:  50121 Firenze - Viale Matteotti, 9
sede:  00153 Roma - Via Rosazza, 58
cell.: +39 338 9753 962
       +39 347 5205 752
tel.:  +39 066 573 170
fax:   +39 066 573 529
email: [EMAIL PROTECTED]
       [EMAIL PROTECTED]
web:   www.fulltrading.it
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"Grande disordine sotto il cielo...
...la situazione � ottima"

                            Mao Tse-Tung

Reply via email to