manual backup

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

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

Postby ScalixSupport » Tue Apr 17, 2007 4:10 am

Hi!

In the old server the hostname was "olomedia.eu" while in the new server you have the
hostname as "fedora.olomedia.eu", I would suggest you to have a look at following links
that have information about various config files that hold hostname information:
http://www.scalix.com/wiki/index.php?ti ... ChangeFQDN
http://www.scalix.com/wiki/index.php?ti ... s/ChangeIP

Similar issue could be seen at:
viewtopic.php?t=7068

Thanks,
Subir

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

Postby olotech » Tue Apr 17, 2007 4:30 am

here the result

Code: Select all

[root@fedora /]# omsearch -e s=sxqueryadmin*
bash: omsearch: command not found
[root@fedora /]# rpm -qa | grep scalix
scalix-server-11.0.2.17-1.fc5
scalix-swa-11.0.2.23-1
scalix-tomcat-5.5.16-195
scalix-postgres-11.0.2.23-1
scalix-res-11.0.2.23-1
scalix-sac-11.0.2.23-1
scalix-mobile-11.0.2.23-1
scalix-tomcat-connector-11.0.0.181-1.fc5
scalix-platform-11.0.2.23-1
scalix-sis-11.0.2.23-1
[root@fedora /]# omshowmnmp
bash: omshowmnmp: command not found
[root@fedora /]# hostname
fedora.olomedia.eu
[root@fedora /]# hostname --fqdn
fedora.olomedia.eu
[root@fedora /]# hostname -s
fedora

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

Postby olotech » Tue Apr 17, 2007 5:13 am

ok finally i modified the hostname and the installation process seems to be correctly completed.

But if a try to connect to the webmail "http://localipaddress/webmail/" it seems not work correctly.
the error is PAGE NOT FOUND

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

Postby ScalixSupport » Tue Apr 17, 2007 5:51 am

Hi!

Can you post the result of command:
omstat -a
omstat -s
ps ax | grep tomcat

Also us nslookup to check if forward and reverse lookup return appropriate results.

Thanks,
Subir

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

Postby olotech » Tue Apr 17, 2007 6:15 am

Code: Select all

[root@olomedia ~]# omstat -a
PC Monitor                    Started        NON-STOP       0
Directory Relay Server        Started        12:21:04
Notification Server           Started        12:21:04       0
Shared memory daemon          Started        NON-STOP
Notification Monitor          Started        NON-STOP
Session Monitor               Started        NON-STOP
Indexer                       Started        NON-STOP
Stats Daemon                  Started        NON-STOP
Container Access Monitor      Started        NON-STOP
Item Structure Server         Stopped
Database Monitor              Started        12:21:04
Licence Monitor Daemon        Started        NON-STOP
LDAP Daemon                   Started        12:21:04
Queue Manager                 Started        NON-STOP
Item Delete Daemon            Started        NON-STOP
IMAP Server Daemon            Started        12:21:04
SMTP Relay                    Started        12:21:04
Mime Browser Controller       Started        12:21:04
Event Server                  Started        12:21:04



Code: Select all

[root@olomedia ~]# omstat -s
Service Router                Started        12:21:05       0
Local Delivery                Started        12:21:05       0
Internet Mail Gateway         Started        12:21:05       0
Local Client Interface        Enabled        12:21:05       0
Remote Client Interface       Enabled        12:21:05       0
Test Server                   Started        12:21:05       0
Request Server                Started        12:21:05       0
Print Server                  Started        12:21:05       0
Bulletin Board Server         Started        12:21:06       0
Background Search Service     Started        12:21:06       0
CDA Server                    Started        12:21:06       0
POP3 interface                Started        12:21:06       0
Omscan Server                 Started        12:21:06       0
Archiver                      Started        12:21:06       0


Code: Select all

[root@olomedia ~]# ps ax | grep tomcat
 3306 ?        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
 3646 pts/1    R+     0:00 grep tomcat

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

Postby ScalixSupport » Tue Apr 17, 2007 6:18 am

Hi!

Have you tried accessing with your Scalix Server hostname instead of local IP?

Thanks,
Subir

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

Postby olotech » Tue Apr 17, 2007 6:35 am

yes, but same result

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

Postby ScalixSupport » Tue Apr 17, 2007 6:41 am

Hi!

What do you see in that apache's error_log and access_log files.

I would also recommend you to perform a permission check for data files, check the
permissions for Scalix files using the command "omcheck -s -d", to actually fix the
problem if any of permissions, you should run omcheck to generate a shell script - on
standard output - that, when run, fixes the problem for permission issues.

Code: Select all

omcheck -s -d >fix_perms.sh
bash ./fix_perms.sh

You might want to review what the script is planning to do before actually executing the
second command.

If the issue continue to exist , can you restart scalix-tomcat service and try again.

Thanks,
Subir

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

Postby olotech » Tue Apr 17, 2007 6:54 am

this the apache error_log

Code: Select all

[Tue Apr 17 13:58:36 2007] [error] (111)Connection refused: proxy: AJP: attempt to connect to 123.123.123.100:8009 (olomedia.eu) failed
[Tue Apr 17 13:58:36 2007] [error] ap_proxy_connect_backend disabling worker for (olomedia.eu)
[Tue Apr 17 13:58:36 2007] [error] proxy: AJP: failed to make connection to backend: olomedia.eu


the access_log

Code: Select all

123.123.123.100 - - [17/Apr/2007:13:58:36 +0200] "GET /webmail/ HTTP/1.1" 503 286 "-" "Mozilla/5.0 (X11; U; Linux i686; it; rv:1.8.0.1) Gecko/20060313 Fedora/1.5.0.1-9 Firefox/1.5.0.1 pango-text"


i tried omcheck -s -d and also restarted scalix-tomcat but nothing changed

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

Postby ScalixSupport » Tue Apr 17, 2007 7:37 am

Hi!

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

Thanks,
Subir

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

Postby ScalixSupport » Tue Apr 17, 2007 7:55 am

Hi!

Open /etc/httpd/conf.d/scalix-tomcat-connector.conf go to the end of the file and add the lines for mod_proxy_ajp, it should look like this:

Code: Select all

<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>


[Tue Apr 17 13:58:36 2007] [error] (111)Connection refused: proxy: AJP: attempt to connect to 123.123.123.100:8009 (olomedia.eu) failed
[Tue Apr 17 13:58:36 2007] [error] ap_proxy_connect_backend disabling worker for (olomedia.eu)
[Tue Apr 17 13:58:36 2007] [error] proxy: AJP: failed to make connection to backend: olomedia.eu

This indicates that tomcat isn't listening on port 8009.

Check that the tomcat process is running

Code: Select all

ps -ef | grep java

and you should see something like
root 3321 1 0 06:58 ? 00:00:06 /usr/java/jre1.5.0_06/bin/java -server -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/scalix-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=/opt/scalix-tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/opt/scalix-tomcat/temp org.apache.catalina.startup.Bootstrap start

Take the process ID of that process and run

Code: Select all

lsof -p XXXX | grep IPv4

This should give you output like this
lsof -p 3321 | grep IPv4
java 3321 root 11u IPv4 11346 TCP localhost.localdomain:8009 (LISTEN)
java 3321 root 13u IPv4 11347 TCP localhost.localdomain:8005 (LISTEN)

Alternatively, you may have selinux configured ( this is documented in the release notes
to be disabled). Check /etc/selinux/config and make sure that the following line is set

Code: Select all

SELINUX=disabled

You will need to reboot your machine if you make a change to this file.

Thanks,
Subir

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

Postby olotech » Fri Apr 20, 2007 3:34 am

ScalixSupport wrote:Hi!

Open /etc/httpd/conf.d/scalix-tomcat-connector.conf go to the end of the file and add the lines for mod_proxy_ajp, it should look like this:

Code: Select all

<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>


[Tue Apr 17 13:58:36 2007] [error] (111)Connection refused: proxy: AJP: attempt to connect to 123.123.123.100:8009 (olomedia.eu) failed
[Tue Apr 17 13:58:36 2007] [error] ap_proxy_connect_backend disabling worker for (olomedia.eu)
[Tue Apr 17 13:58:36 2007] [error] proxy: AJP: failed to make connection to backend: olomedia.eu

This indicates that tomcat isn't listening on port 8009.

Check that the tomcat process is running

Code: Select all

ps -ef | grep java

and you should see something like
root 3321 1 0 06:58 ? 00:00:06 /usr/java/jre1.5.0_06/bin/java -server -Djava.net.preferIPv4Stack=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/scalix-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=/opt/scalix-tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/opt/scalix-tomcat/temp org.apache.catalina.startup.Bootstrap start

Take the process ID of that process and run

Code: Select all

lsof -p XXXX | grep IPv4

This should give you output like this
lsof -p 3321 | grep IPv4
java 3321 root 11u IPv4 11346 TCP localhost.localdomain:8009 (LISTEN)
java 3321 root 13u IPv4 11347 TCP localhost.localdomain:8005 (LISTEN)

Alternatively, you may have selinux configured ( this is documented in the release notes
to be disabled). Check /etc/selinux/config and make sure that the following line is set

Code: Select all

SELINUX=disabled

You will need to reboot your machine if you make a change to this file.

Thanks,
Subir


I tried the above instruction, but nothing changed . The browser sent me error message: Service Temporarily Unavailable

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

Postby ScalixSupport » Fri Apr 20, 2007 5:44 am

Did you try again after sometime, usually when the services are restarted, the time to load
the instance need some time.

-Subir

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

Postby olotech » Fri Apr 20, 2007 5:51 am

ScalixSupport wrote:Did you try again after sometime, usually when the services are restarted, the time to load
the instance need some time.

-Subir


yes sure, but nothing changed :(

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

Postby ScalixSupport » Fri Apr 20, 2007 6:19 am

Hi!

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

What is the result of commands:
lsof -i:8009
lsof -i:25
ps ax | grep java

Thanks,
Subir


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests