Apache 2.2 errors after upgrade

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

lesliem

Apache 2.2 errors after upgrade

Postby lesliem » Fri Dec 29, 2006 5:53 am

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 #

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Re: Apache 2.2 errors after upgrade

Postby florian » Fri Dec 29, 2006 6:40 am

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.
Florian von Kurnatowski, Die Harder!

lesliem

Postby lesliem » Fri Dec 29, 2006 6:43 am

Hi Florian,
Thanks for the quick response.
It is opensuse 10.1

Regards,
Leslie

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Wed Jan 03, 2007 10:41 am

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.
Florian von Kurnatowski, Die Harder!

lesliem

Postby lesliem » Wed Jan 03, 2007 11:34 am

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

lesliem

Postby lesliem » Thu Jan 04, 2007 3:41 am

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


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 5 guests

cron