Scalix 11.2 on Centos 5 ... no web access

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

kbrault
Posts: 12
Joined: Tue Nov 13, 2007 12:08 am

Scalix 11.2 on Centos 5 ... no web access

Postby kbrault » Tue Nov 13, 2007 12:31 am

Hello everyone,
Here are the steps I took:

Code: Select all

1.Install Linux - minimal, no firewall, no selinux, static IP
2.yum install bind-utils compat-libstdc++-296 cyrus-sasl-md5 cyrus-sasl-plain elinks httpd nano pam_smb perl postgresql-server sendmail-cf tk wget which
3.yum update
4.nano /etc/hosts
   127.0.0.1 localhost
   192.168.111.240 scalix.stdg.lan scalix
   192.168.111.247 sme.stdg.lan sme
5.nano /etc/pam_smb.conf
   TEST
   SME
   SME
6.chkconfig postgresql on
7.chkconfig httpd on
8.reboot
9.mkdir rpm
10.cd rpm
11.wget http://downloads.scalix.com/.community/11.2/scalix-11.2.0-GA-core-rhel5-intel.tgz
12.tar -xzvf *tgz
13.rm -f *tgz
14.cd scalix-11.2.0-GA
15./scalix-installer --override=rhel5
16.nano /var/opt/scalix/sx/s/sys/pam.d/ual.remote
    auth required om_om2authid
    auth sufficient /lib/security/pam_smb_auth debug nolocalauth sufficient om_auth use_first_pass
    auth required pam_deny

Items 5 and 16 are in preparation for SMB authentication with another server.

Everything seams to go fine. but when I browse to http://192.168.111.240/sac or http://192.168.111.240/webmail I get a web page can't be found error. I can get this to work if I start with Centos 4.5.

I am fairly new to Linux. Can someone give me some ideas as to were to look for the problem?


Thank you in advance for your help,

Kevin
[/code]

a.schild
Posts: 224
Joined: Wed Feb 14, 2007 5:10 pm

Postby a.schild » Tue Nov 13, 2007 6:05 am

Hello,

I did a install on centos 5 and I can access the web interface.
Have you restarted apache (httpd) after the installation ?

In /etc/httpd/conf.d you should see the file scalix-tomcat-connector.conf and a symbolic link named scalix-web-client.conf pointing toward /opt/scalix/global/httpd/scalix-web-client.conf

André

Nimefurahi

Postby Nimefurahi » Sun Nov 18, 2007 10:23 pm

Kevin,
I'm having the same trouble and it's very basic. Apache won't restart. Perhaps that is your problem as well.

Included in the Scalix-Tomcat-connector rpm package is a binary module (mod_jk.so) that was compiled for an EAPI Apache2 and I believe what I've got is an API Apache (my guess) I've installed what's in the default CentOS 5 repository: (httpd 2.2.3-7.el5.centos.i386) and it refuses to play with the mod_jk module included in the Scalix 11.2.0 packages.

While I've been puttering around with Linux for the past 8 years its always been with Debian. I'm clueless with this CentOS - Red Hat thing. I'm just not familiar enough with yum. If only I could downgrade my apache server with a version that likes the resident mod_jk.so module.

Anyway, I'm just thinking aloud. The fact that all worked well with your CentOS 4.5 makes me think that there's a better apache httpd server in the 4.5 package.

I'd be interested to see how Andre got his to work. Andre ... what version of Apache (httpd) are you running?

Joe

kbrault
Posts: 12
Joined: Tue Nov 13, 2007 12:08 am

Postby kbrault » Sun Nov 18, 2007 10:54 pm

Fortunately and unfortunately I did two things at once and it works.

I attempted to re-install java after running the scalix install (yum stated it did not update anything).

Code: Select all

yum upgrade java


And I turned on the httpd service (may have already been on).

Code: Select all

chkconfig httpd on


Also, I waited longer after the reboot before making an attempt.

I do not know what did the trick.

Hope this helps.

Kevin

Nimefurahi

Postby Nimefurahi » Mon Nov 19, 2007 12:58 am

I'm curious as to what version httpd server you're running.
Mine is:

Code: Select all

[root@myhostname ~]# httpd -v
Server version: Apache/2.2.3
Server built:   Jun 26 2007 19:26:32

and my java is:

Code: Select all

root@myhostname ~]# java --version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20070105 (Red Hat 4.1.1-52)

Hmmm... wait a minute. Shouldn't that be jre1.5.0_11 ?
I think I had better set the right java version and take it from there.
Thanks!

a.schild
Posts: 224
Joined: Wed Feb 14, 2007 5:10 pm

Postby a.schild » Mon Nov 19, 2007 3:46 am

httpd -v
Server version: Apache/2.2.3
Server built: Mar 21 2007 19:10:36

java --version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20070105 (Red Hat 4.1.1-52)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


But I did let scalix install the bundled jre, so it's using the correct one.

What happens when you try to start the apache ?

Nimefurahi

Postby Nimefurahi » Mon Nov 19, 2007 11:21 am

I can't launch Apache. It refuses and complains about the mod_jk.so module as being "garbled". Yesterday I spent considerable time googling for like complaints and found quite a few. It seems to be an issue of the Apache being compiled with API and the module being compiled with EAPI. Rather than compiling my own, I searched for other binary mod_jk modules, but none worked.

Today (at work) I've burned the iso's for CentOS 4.5. Browsing through the installation CD's I noticed that the 4.5 platform utilizes Apache 2.0.52 instead of 2.2.2 (or whatever). When I get home this evening I plan to remove the installed Apache and replace it with the 2.0.52 version out of the CentOS 4.5 distribution.

At least that's my plan for the moment. (Plan #1)

Plan #2 is one of interest as well. Overnight I had a TRK live CD busily fetching data off off a broken Windows XP disk. (That ntfs-3g program is cool). This morning I found where TRK sucessfully archived otherwise unreadable data off the XP disk. Now, with a reformat of that 250GB drive, I'll have room on a spare drive do as you did at the top of this thread!

Thanks!

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Tue Nov 20, 2007 4:37 am

I wouldn't recommend that, you'll get library conflicts. You don't need to use mod_jk, I use mod_proxy on CentOS 5 and it works perfectly.

kbrault
Posts: 12
Joined: Tue Nov 13, 2007 12:08 am

Postby kbrault » Thu Nov 22, 2007 12:45 am

Got it,

I had an older version of Java installed in the OS.

I did a "yum remove java" and reinstalled Scalix and all is well in the world again.


Kevin


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests