Problem when installating of Hyperion: File does not exist: /var/www/ajax
I have been working on resolving this problem so there's a bit of info here.
While following the Hyperion installation guide, I am stuck at the "Service Configuration" section. After finishing the "Apache Webserver and mod_jk" part and the ultimate test of browsing http://$serveriIP/ajax/, my vanilla Debian installation does not work: the browser simply show the file not found, not the "Service Temporarily Unavailable" that we're looking for.
While it may be a apache2 mod_jk problem, I dug through a bit of Debian apache2 mod_jk documentation and still it does not work. So I guess I will post my problem here.
- OS: Debian Testing (updated to date)
- Apache: Apache/2.2.8 (Debian) mod_jk/1.2.26
- Is mod_jk enabled?: a2enmod output says: Module jk already enabled
- Any site setup for apache: none.
- Apache server error.log shows: File does not exist: /var/www/ajax
Config: following the installation guide "Apache Webserver and mod_jk"
would you please post your workers.properties and ox.conf file?
Thanks for reply. Here are the two files currently. Notice there is some small modifs, e.g. JkLogStampFormat. I have also tried the exact lines on the installation manual without success.
luna:/etc/apache2/conf.d$ cat ox.conf
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkRequestLogFormat "%w %V %T"
JkMount /ajax/* ajp13_worker
JkMount /servlet/* ajp13_worker
JkMount /infostore ajp13_worker
JkMount /infostore/* ajp13_worker
JkMount /oxadmin/* ajp13_worker
JkMount /oxadmin ajp13_worker
shuo@luna:/etc/apache2$ cat workers.properties
#I've tried with and without this workers.java_home line.
#The path is really where the sun java is.
Looks nice so far - and i guess there is no real problem
At the "Service Configuration" part, there is no Groupware running and listening to the mod_jk port. Therefore it's not surprising that you'll get a 404. If you access the servlets, apache tries to contact the ajp interface of the groupware but does not get any response.
Just go on with the installation, after the groupware is up and running this issue should be solved.
Thanks for the suggestion. I will go on with the installation.
However it feels weird - if mod_jk is working and the server cannot contact something at the mod_jk port, shouldn't it be something else on the log other than "File not found: /var/www/ajax" in the apache2 error log?
The other odd thing is that, the size of mod_jk log has been zero. I have a feeling that mod_jk is somehow not working, albeit the a2enmod telling that jk is enabled.
I'll go on with installation for now. Thanks again,
Last edited by md5; 05-05-2008 at 01:40 PM.