Can not access /sac and /webmail

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

flamerail

Postby flamerail » Sun Apr 01, 2007 8:55 am

http://mail.flamerail.com/ < thats the url its accessed from.. Idk what the deal is.

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Sun Apr 01, 2007 6:41 pm

Check that your virtual host definitions are correct in

/etc/opt/scalix-tomcat/connector/ajp/instance-<yuorhostname>.conf
and
/etc/opt/scalix-tomcat/connector/jk/instance-<yuorhostname>.conf

say your local hostname is server1.local, when installing the virtual hosts will be configured as server1.local:80 etc etc.

I often have to change the Virtual hosts to *:80 and *:443 because the internal hostname of the box is different to the external hostname which you would use to access from the outside.

Hope that helps.
Regards,

Les Stott

flamerail

Postby flamerail » Mon Apr 09, 2007 10:34 am

I did both of these. SAC and MAIL still dont load, sac just sits there trying to load but nothing actually moves forward. Would it be possible to allow you access to ssh to see if you can determin the problem. Its giving me a 503 now! any ideas?
http://mail.flamerail.com/webmail



[Mon Apr 09 14:57:37 2007] [notice] Apache/2.2.2 (Fedora) configured -- resuming normal operations
[Mon Apr 09 14:57:44 2007] [error] (111)Connection refused: proxy: AJP: attempt to connect to 72.49.193.9:8009 (mail.flamerail.com) failed
[Mon Apr 09 14:57:44 2007] [error] ap_proxy_connect_backend disabling worker for (mail.flamerail.com)
[Mon Apr 09 14:57:44 2007] [error] proxy: AJP: failed to make connection to backend: mail.flamerail.com
[Mon Apr 09 14:57:48 2007] [error] proxy: AJP: disabled connection for (mail.flamerail.com)
[Mon Apr 09 14:57:48 2007] [error] proxy: AJP: disabled connection for (mail.flamerail.com)
[Mon Apr 09 14:57:49 2007] [error] proxy: AJP: disabled connection for (mail.flamerail.com)
[Mon Apr 09 14:57:49 2007] [error] proxy: AJP: disabled connection for (mail.flamerail.com)
[Mon Apr 09 14:57:49 2007] [error] proxy: AJP: disabled connection for (mail.flamerail.com)
[Mon Apr 09 14:57:49 2007] [error] proxy: AJP: disabled connection for (mail.flamerail.com)
[Mon Apr 09 14:57:50 2007] [error] proxy: AJP: disabled connection for (mail.flamerail.com)
[Mon Apr 09 14:57:50 2007] [error] proxy: AJP: disabled connection for (mail.flamerail.com)
[Mon Apr 09 14:57:55 2007] [error] [client 72.49.203.41] File does not exist: /var/www/html/webmaikl
[Mon Apr 09 14:58:00 2007] [error] (111)Connection refused: proxy: AJP: attempt to connect to 72.49.193.9:8009 (mail.flamerail.com) failed
[Mon Apr 09 14:58:00 2007] [error] ap_proxy_connect_backend disabling worker for (mail.flamerail.com)
[Mon Apr 09 14:58:00 2007] [error] proxy: AJP: failed to make connection to backend: mail.flamerail.com
[Mon Apr 09 15:07:43 2007] [error] (111)Connection refused: proxy: AJP: attempt to connect to 72.49.193.9:8009 (mail.flamerail.com) failed
[Mon Apr 09 15:07:43 2007] [error] ap_proxy_connect_backend disabling worker for (mail.flamerail.com)
[Mon Apr 09 15:07:43 2007] [error] proxy: AJP: failed to make connection to backend: mail.flamerail.com
[Mon Apr 09 15:08:19 2007] [error] (111)Connection refused: proxy: AJP: attempt to connect to 72.49.193.9:8009 (mail.flamerail.com) failed
[Mon Apr 09 15:08:19 2007] [error] ap_proxy_connect_backend disabling worker for (mail.flamerail.com)
[Mon Apr 09 15:08:19 2007] [error] proxy: AJP: failed to make connection to backend: mail.flamerail.com
[Mon Apr 09 15:10:30 2007] [error] (111)Connection refused: proxy: AJP: attempt to connect to 72.49.193.9:8009 (mail.flamerail.com) failed
[Mon Apr 09 15:10:30 2007] [error] ap_proxy_connect_backend disabling worker for (mail.flamerail.com)
[Mon Apr 09 15:10:30 2007] [error] proxy: AJP: failed to make connection to backend: mail.flamerail.com
[Mon Apr 09 15:10:30 2007] [error] [client 129.137.152.224] File does not exist: /var/www/html/favicon.ico
~

afassl
Posts: 31
Joined: Sun Jan 14, 2007 8:17 am
Location: Cologne, Germany
Contact:

mod_security

Postby afassl » Mon Apr 09, 2007 5:18 pm

Hi,

have you mod_security configured? Had some problems - please find and check the logfiles if you are running mod_security.

Regards

flamerail

Postby flamerail » Tue Apr 10, 2007 3:36 pm

mod_security dosnt apear to be enabled in httpd.conf

flamerail

Postby flamerail » Sat Apr 14, 2007 10:39 am

bump please?

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Mon Apr 16, 2007 3:12 am

flamerail wrote:bump please?


[Mon Apr 09 14:58:00 2007] [error] (111)Connection refused: proxy: AJP: attempt to connect to 72.49.193.9:8009 (mail.flamerail.com) failed
[Mon Apr 09 14:58:00 2007] [error] ap_proxy_connect_backend disabling worker for (mail.flamerail.com)

the entires above seem to suggest tomcat is not running.

this has been a long thread and i don't think we have enough details on your setup...(sorry if some of this has been repeated before, but if we start from now it'll be fresh in the mind without having to go back through a number of posts)

What OS?
What version?
is it a fresh install? via gui or manual?
has it ever worked?

what have you got in /etc/opt/scalix-tomcat/connector/ajp/instanace-yourhostname.conf?
/etc/opt/scalix-tomcat/connector/jk/instanace-yourhostname.conf?

is tomcat running?
ps -ef |grep tomcat

have you made any non standard changes to configuration files, or permissions on files etc?


Is tomcat running?

Is your local IP 72.49.193.9 as suggested by the logs above?
Regards,

Les Stott

flamerail

Postby flamerail » Mon Apr 16, 2007 3:30 pm

les wrote:
flamerail wrote:bump please?


[Mon Apr 09 14:58:00 2007] [error] (111)Connection refused: proxy: AJP: attempt to connect to 72.49.193.9:8009 (mail.flamerail.com) failed
[Mon Apr 09 14:58:00 2007] [error] ap_proxy_connect_backend disabling worker for (mail.flamerail.com)

the entires above seem to suggest tomcat is not running.

this has been a long thread and i don't think we have enough details on your setup...(sorry if some of this has been repeated before, but if we start from now it'll be fresh in the mind without having to go back through a number of posts)

What OS?
What Version


Fedora Core 5 Latest updates

is it a fresh install? via gui or manual?
has it ever worked?


Fresh install, gui working!

what have you got in /etc/opt/scalix-tomcat/connector/ajp/instanace-yourhostname.conf?
/etc/opt/scalix-tomcat/connector/jk/instanace-yourhostname.conf?


AJP
<VirtualHost mail.flamerail.com:80>
Include /etc/opt/scalix-tomcat/connector/ajp/app-mail.*.conf
</VirtualHost>

JK
<VirtualHost mail.flamerail.com:80>
Include /etc/opt/scalix-tomcat/connector/jk/app-mail.*.conf
</VirtualHost>
JkWorkerProperty worker.mail.type=ajp13
JkWorkerProperty worker.mail.host=mail.flamerail.com
JkWorkerProperty worker.mail.port=8009
JkWorkerProperty worker.mail.lbfactor=50
JkWorkerProperty worker.mail.cachesize=10
JkWorkerProperty worker.mail.cache_timeout=600
JkWorkerProperty worker.mail.socket_keepalive=1
JkWorkerProperty worker.mail.recycle_timeout=300


is tomcat running?
ps -ef |grep tomcat

have you made any non standard changes to configuration files, or permissions on files etc?

Is tomcat running?



[root@mail ajp]# ps -ef|grep tomcat
root 2126 1 0 Apr12 ? 00:00:33 /usr/java/jre1.5.0_06/bin/java -server -Djava.net.preferIPv4Stack=true -Xms256m -Xmx256m -Dscalix.instance=/var/opt/scalix/ml -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/ml/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/java/jre1.5.0_06/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/var/opt/scalix/ml/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/ml/tomcat/temp org.apache.catalina.startup.Bootstrap start
root 912 880 0 19:27 pts/1 00:00:00 grep tomcat

Is your local IP 72.49.193.9 as suggested by the logs above?


Yes

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Mon Apr 16, 2007 6:28 pm

les wrote:What Version


Sorry, i meant what scalix version?


is it a fresh install? via gui or manual?
has it ever worked?


Fresh install, gui working!


I meant....when you first installed could you access /sac or /webmail at all?


what have you got in /etc/opt/scalix-tomcat/connector/ajp/instanace-yourhostname.conf?
/etc/opt/scalix-tomcat/connector/jk/instanace-yourhostname.conf?


AJP
<VirtualHost mail.flamerail.com:80>
Include /etc/opt/scalix-tomcat/connector/ajp/app-mail.*.conf
</VirtualHost>


Change the file above as <VirtualHost *:80>

JK
<VirtualHost mail.flamerail.com:80>
Include /etc/opt/scalix-tomcat/connector/jk/app-mail.*.conf
</VirtualHost>
JkWorkerProperty worker.mail.type=ajp13
JkWorkerProperty worker.mail.host=mail.flamerail.com
JkWorkerProperty worker.mail.port=8009
JkWorkerProperty worker.mail.lbfactor=50
JkWorkerProperty worker.mail.cachesize=10
JkWorkerProperty worker.mail.cache_timeout=600
JkWorkerProperty worker.mail.socket_keepalive=1
JkWorkerProperty worker.mail.recycle_timeout=300



Change the file above as <VirtualHost *:80>

restart apache and scalix-tomcat

can you "telnet 72.49.193.9 8009" from the server?

can you access /sac and /webmail from the server via localhost? i.e. http://127.0.0.1/sac or http://127.0.0.1/webmail?

Whats in the access and error logs for apache when you try to connect? /var/log/httpd/error_log and /var/log/httpd/access_log

is their anything logged in /var/opt/scalix/xx/s/logs/fatal when you try to access?

During install did you change any non standard options, such as IP Addresses which will be configured for access (defaults are usually 127.0.0.1 and the external ip)?

Are there any other non standard apache configurations? i.e. other local websites running? has the apache Listen directive in httpd.conf changed?

Regards,

Les
Regards,

Les Stott

nwilson
Posts: 31
Joined: Mon Jun 12, 2006 4:41 am
Contact:

Postby nwilson » Tue Apr 17, 2007 11:10 am

I've had a similar problem, I've just upgraded to 11..0.3 and couldn't access anything on my external ip, but on my internal I could.

You mentioned the following....

Change the file above as <VirtualHost *:80>
Quote:
JK
<VirtualHost mail.flamerail.com:80>
Include /etc/opt/scalix-tomcat/connector/jk/app-mail.*.conf
</VirtualHost>

Change the file above as <VirtualHost *:80>

restart apache and scalix-tomcat

I had to restart scalix too, then this worked, with just restarting apache2 and scalix-tomcat it didn't work.

Just in case someone cares :)
Powered by Linux, driven by passion!


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 15 guests