manual backup

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Fri Apr 20, 2007 6:44 am

[root@olomedia ~]# lsof -i:8009
[root@olomedia ~]# lsof -i:25
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 1807 root 4u IPv4 4986 TCP localhost.localdomain:smtp (LISTEN)
omsmtpd 1939 root 4u IPv4 5265 TCP olomedia.eu:smtp (LISTEN)
[root@olomedia ~]# ps ax | grep java
2952 ? Sl 0:20 /usr/java/jre1.5.0_06/bin/java -server -Djava.net.preferIPv4Stack=true -Xms256m -Xmx256m -Dscalix.instance=/var/opt/scalix/oa -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/oa/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/oa/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/oa/tomcat/temp org.apache.catalina.startup.Bootstrap start
3894 pts/1 S+ 0:00 grep java

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Apr 20, 2007 7:45 am

Port 8009 is not responding, what is content of file /etc/httpd/conf.d/scalix-tomcat-connector.conf?

Thanks,
Subir

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Fri Apr 20, 2007 7:52 am

# ---------------------------------------------------------------------------
# Load deflate and proxy_ajp modules used by Scalix:
# ---------------------------------------------------------------------------

<IfModule !mod_deflate.c>
LoadModule deflate_module modules/mod_deflate.so
</IfModule>

<IfModule !mod_proxy.c>
LoadModule proxy_module modules/mod_proxy.so
</IfModule>

<IfModule !mod_proxy_ajp.c>
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
</IfModule>

# ---------------------------------------------------------------------------
# Configure on-the-fly deflate compression of the pages:
# ---------------------------------------------------------------------------

<Location />
AddOutputFilterByType DEFLATE text/xml text/html text/css
AddOutputFilterByType DEFLATE application/x-javascript
</Location>

# ---------------------------------------------------------------------------
# mod_proxy_ajp connector configuration
# ---------------------------------------------------------------------------

<IfModule mod_proxy_ajp.c>
ProxyPass /webmail ajp://localhost:8009/webmail
ProxyPass /sac ajp://olomedia.eu:8009/sac
ProxyPass /caa ajp://olomedia.eu:8009/caa
ProxyPass /res ajp://olomedia.eu:8009/res
ProxyPass /api ajp://olomedia.eu:8009/api
ProxyPass /sis ajp://olomedia.eu:8009/sis
ProxyPass /m ajp://olomedia.eu:8009/m
</IfModule>

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Apr 20, 2007 8:42 am

Hi!

I do not understand why you have integrated Apache and Tomcat using mod_ajp by default
mod_jk is used.

Anyways, edit the file /etc/httpd/conf.d/scalix-tomcat-connector.conf,

replace
<IfModule mod_proxy_ajp.c>
ProxyPass /webmail ajp://localhost:8009/webmail

with

Code: Select all

<IfModule mod_proxy_ajp.c>
ProxyPass /webmail ajp://olomedia.eu:8009/webmail


Once you have done this, restart tomcat and check again.

Thanks,
Subir

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Fri Apr 20, 2007 9:04 am

hi
i changed the /etc/httpd/conf.d/scalix-tomcat-connector.conf

but nothing changed

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Mon Apr 23, 2007 3:12 am

hi
somethings other to try or i will have to renunce to all my old mails?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Apr 23, 2007 3:27 am

Hi!

Basically, lsof -i:8009 should respond, that is why I wanted to you to edit the scalix-tomcat-connector.conf which after the last edit looks perfect, I see you don't have

Code: Select all

# Defines in Seconds how long a SOAP request will remain in the current, uncomplete
# readyState (= 1, 2, or 3) before we force a timeout
swa.soap.soapRequestTimeout=60

in your swa.properties, save and exit, restart scalix-tomcat and try again.

If things do not work still, you should run the installer and reconfigure:
[1] Scalix DB
[2] Scalix Tomcat
[3] Scalix Messaging Services
[4] Scalix Management Agent
[5] Scalix Web Access
[6] Scalix Management Services
[7] Scalix Search and Index Service
[8] Scalix Mobile Client

I am sure this should help.

Thanks,
Subir

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Mon Apr 23, 2007 4:52 am

ScalixSupport wrote:Hi!

Basically, lsof -i:8009 should respond, that is why I wanted to you to edit the scalix-tomcat-connector.conf which after the last edit looks perfect, I see you don't have

Code: Select all

# Defines in Seconds how long a SOAP request will remain in the current, uncomplete
# readyState (= 1, 2, or 3) before we force a timeout
swa.soap.soapRequestTimeout=60

in your swa.properties, save and exit, restart scalix-tomcat and try again.



sorry i don't understand what i have to edit

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Apr 23, 2007 6:37 am

Hi!

As I mentioned, it seems the file swa.properties does have the lines:

Code: Select all

# Defines in Seconds how long a SOAP request will remain in the current, uncomplete
# readyState (= 1, 2, or 3) before we force a timeout
swa.soap.soapRequestTimeout=60

save and exit the file after editing, restart scalix-tomcat and try again. If the issue still exist
try reconfiguring the components mentioned in my previous post.

Thanks,
Subir

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Mon Apr 23, 2007 7:15 am

ah ok, now i will try it ;)

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Mon Apr 23, 2007 10:39 am

i tried reconfiguring scalix component but nothing changed. :(

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Apr 24, 2007 2:21 am

In the file /etc/opt/scalix-tomcat/connector/ajp/instanace-<hostname>.conf,
<VirtualHost <hostname>:80>
Include /etc/opt/scalix-tomcat/connector/ajp/app-<hostname>.*.conf
</VirtualHost>
<VirtualHost <hostname>:443>
SSLEngine on

SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
Include /etc/opt/scalix-tomcat/connector/ajp/app-<hostname>.*.conf
</VirtualHost>


Change the file above as <VirtualHost *:80>

In the file /etc/opt/scalix-tomcat/connector/jk/instanace-<hostname>.conf,
<VirtualHost <hostname>:80>
Include /etc/opt/scalix-tomcat/connector/jk/app-<hostname>.*.conf
</VirtualHost>
<VirtualHost <hostname>:443>
SSLEngine on

SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
Include /etc/opt/scalix-tomcat/connector/jk/app-<hostname>.*.conf
</VirtualHost>
JkWorkerProperty worker.<hostname>.type=ajp13
JkWorkerProperty worker.<hostname>.host=subir-rhel4.scalix.co.in
JkWorkerProperty worker.<hostname>.port=8009
JkWorkerProperty worker.<hostname>.lbfactor=50
JkWorkerProperty worker.<hostname>.cachesize=10
JkWorkerProperty worker.<hostname>.cache_timeout=600
JkWorkerProperty worker.<hostname>.socket_keepalive=1
JkWorkerProperty worker.<hostname>.recycle_timeout=300

Change the file above as <VirtualHost *:80>

Restart Apache and Scalix Tomcat and see if this helps. Can you telnet the Scalix Server
hostname at port 8009, i.e. "telnet hostname 8009"? 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?

Thanks,
Subir

olotech
Posts: 42
Joined: Fri Nov 03, 2006 11:02 am

Postby olotech » Thu Apr 26, 2007 10:16 am

i made the edit as you write in previous message but nothing changed

i tried telent but the respons is. connnection refused

i cant access using localhost ,same error :(

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Apr 27, 2007 1:16 am

Hi!

Do you see AJP 1.3 Connector on port 8009 in file /var/opt/scalix/??/tomcat/conf/server.xml
I have it defined as below:

Code: Select all

<!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
               address="subir-rhel4.scalix.co.in"
               enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
               URIEncoding="UTF-8" />

Note: Replace subir-rhel4.scalix.co.in with your Scalix server hostname.

I am really surprised as to why manual restore in your case does not work. I might have
done this so many times without any severe glitch such as this.

I am sorry for such delay in your case, let fight it out and thanks for your patience.

If you do not mind could you please tell me as to what we have done till now and what
things are not working?

Regards,
Subir

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue May 01, 2007 6:50 am

Hi!

I read the complete issue, can you check the following pages for Apache configurations:
http://www.scalix.com/wiki/index.php?ti ... Tos/Apache
http://www.scalix.com/wiki/index.php?ti ... figuration

These documentations could help resolve the 8009 port not responding issue.

Thanks,
Subir


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 10 guests