Hi all,

I install oracle 9i in RedHat Linux 7.2 without error by follow instructions on the dbforums.com , but I have problem with the Apache Jserv include in Oracle 9i Product :
My enviroment variables are:
ORACLE_HOME=/export/oracle/orahome
ORACLE_BASE=/export/oracle
CLASS_PATH=.....
JAVA_HOME=.....
But when I start Apache :
[root@mistery logs]# /export/oracle/orahome/Apache/Apache/bin/apachectl start
/export/oracle/orahome/Apache/Apache/bin/apachectl start: httpd could not be started
[root@mistery logs]#

Then I set DISPLAY=127.0.0.1:0.0 and start it is OK . I dont know why !!!

[root@mistery logs]# /export/oracle/orahome/Apache/Apache/bin/apachectl start
/export/oracle/orahome/Apache/Apache/bin/apachectl start: httpd started
[root@mistery logs]#

I read my JServ Log file and found that :

[root@mistery logs]# tail -f jserv.log
[26/06/2002 21:48:46:290] (EMERGENCY) ajp12: can not connect to host 127.0.0.1:8007
[26/06/2002 21:48:46:290] (EMERGENCY) ajp12: connection fail
[26/06/2002 21:48:46:290] (ERROR) an error returned handling request via protocol "ajpv12"
[26/06/2002 21:48:46:310] (EMERGENCY) ajp12: can not connect to host 127.0.0.1:8007
[26/06/2002 21:48:46:310] (EMERGENCY) ajp12: connection fail
[26/06/2002 21:48:46:310] (ERROR) an error returned handling request via protocol "ajpv12"
[26/06/2002 21:53:21:805] (ERROR) wrapper: file /export/oracle/orahome/Apache/Jserv/etc/jserv.properties (line 412) wrapper.env.copy environment variable not found
[26/06/2002 21:53:21:806] (ERROR) an error returned initializing protocol "wrapper"
[26/06/2002 21:53:21:806] (ERROR) in init all protocols "wrapper" returned an error
[26/06/2002 21:53:21:806] (EMERGENCY) Error initializing protocols
[26/06/2002 21:54:25:540] (EMERGENCY) ajp12: can not connect to host 127.0.0.1:8007
[26/06/2002 21:54:25:540] (EMERGENCY) ajp12: function connection fail

That means my Apache Jserv does not work well ! I can't run any Servlet or JSP .
It always return the HTML Error Code 500: Internal Server Error
Could you please help me to solve this problem ?
Thank you very much
Yours sincerely
Nguyen Anh Tuan