Page 1 of 1

Apache 2.2 errors after upgrade

Posted: Fri Dec 29, 2006 5:53 am
by lesliem
Hi,
After upgrading from Scalix RC2 to 11GA, my websites hosted on the same machine are all down. I can however connect to SAC and Webmail. When trying to connect to one of my other hosted sites, I get the following standard error: Access Forbidden! Error 403.
My apache conf files still look the same.
below is the tail of the error_log.

Any help appreciated.
Regards,
Leslie

zacptsrv01:/var/log/apache2 # tail error_log
[Fri Dec 29 11:35:56 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Dec 29 11:35:56 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Dec 29 11:35:57 2006] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
[Fri Dec 29 11:37:59 2006] [error] [client 192.168.251.201] Directory index forbidden by Options directive: /srv/www/htdocs/
[Fri Dec 29 11:52:09 2006] [error] [client 192.168.251.201] Directory index forbidden by Options directive: /srv/www/htdocs/
[Fri Dec 29 11:53:11 2006] [notice] caught SIGTERM, shutting down
[Fri Dec 29 11:53:12 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Dec 29 11:53:12 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Dec 29 11:53:12 2006] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
[Fri Dec 29 11:53:19 2006] [error] [client 192.168.251.201] Directory index forbidden by Options directive: /srv/www/htdocs/
zacptsrv01:/var/log/apache2 #

Re: Apache 2.2 errors after upgrade

Posted: Fri Dec 29, 2006 6:40 am
by florian
lesliem wrote:Hi,
My apache conf files still look the same.


I can't really look into the details right now, but I'm quite sure they don't. We've introduced some changes how we configure apache to work with Scalix, in particular, Scalix 11 introduced it's own virtual host - which probably interferes with other Virtual Host configuration on your system.

Please check all apache config files under /etc/httpd.

What OS platform is this?

Florian.

Posted: Fri Dec 29, 2006 6:43 am
by lesliem
Hi Florian,
Thanks for the quick response.
It is opensuse 10.1

Regards,
Leslie

Posted: Wed Jan 03, 2007 10:41 am
by florian
well, i don't have a 10.1 box at hand, but on a SLES 9 system i find

/etc/apache2/conf.d/scalix-tomcat-connector.conf

which includes

/etc/opt/scalix-tomcat/connector/jk/instace-*.conf

and this in turn includes the virtual host definition.

On 10.1 this will be slightly different because 10.1 uses apache 2.2 where we use the AJP connector module instead of the JK module, however, the structure will be similar.

Cheers,
Florian.

Posted: Wed Jan 03, 2007 11:34 am
by lesliem
Thanks Florian,

I will take a look at getting my virtual Hosts integrated with Scalix, and post back once I have it working.

Thanks and regards,
Leslie

Posted: Thu Jan 04, 2007 3:41 am
by lesliem
Hi Florian,
I have it resolved now. Thanks for pointing me to the correct location - /etc/opt/scalix-tomcat/connector/ajp/instance-*.conf was the file to edit.
I resolved it by adding:
"NameVirtualHost *:80" at the top of the file, and then called my vhosts.conf as follows at the end of the file:
"Include /etc/apache2/vhosts.d/*.conf" - This line aslso had to be removed from the /etc/apache2/httpd.conf file.

Again,
Thanks for the help

Regards,
Leslie