Scalix 11 Installation on Debian Etch / Testing

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Sun Apr 01, 2007 4:21 pm

OK, it seems that solution to this problem (for my server setup, Debian Etch, minimum net install + Cristoph installation script + Scalix 11.0.2.1) is:

1.

Code: Select all

aptitude remove resolvconf


2.

Code: Select all

/etc/init.d/networking restart


3.

Code: Select all

/etc/init.d/sendmail reload


Now it works both way (scalix users can send and receive emails).
And system survives reboot.

Withouth above mentioned steps, if

Code: Select all

/etc/resolv.conf


is manually edited, all changes will be deleted during first reboot.
-----------------------------------------------------------------------------
I will look further to find out who (which script, which package because of depenices etc.) installed
resolvconf on the first place.

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Wed Apr 04, 2007 5:31 pm

I connected windows xp running Outlook 2000 with Scalix server using outlook connector. It works really great!

Now I have question: for mixed environment I need evolution connector. Is there Evolution connector for Scalix community version? If there is , where can it be downloaded ?
----------------------------------------------------------------------------
OK, I found it, instelled it, and got it up and running.
But it seems that Evolution can connect only through LAN IP address, not throught FQDN ?
Or I am doing something wrong...
Last edited by nenad on Tue Apr 17, 2007 4:20 pm, edited 1 time in total.

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Thu Apr 12, 2007 2:14 pm

A tip for everyone who is using Debian Etch and IceWeasel.

Since SCALIX is checking which browser is used for Web Acess, Iceweasel is not recoginised and therefore Scalix Web Acess is deisabled with following error:

Unsuported operating system or browser.

Iceweasel is in fact Firefox but due to copyright issue it is renamed into Iceweasel.

there are many ways to rewrite indetification string for Iceweasel/Firefox but I found this one as easiset one:

Get and install the add-on:

User Agent Switcher Extension

http://chrispederick.com/work/useragentswitcher/

And then just right before login attempt into Scalix Web Acess, just swith browser indetification to:

Firefox2 (Windows XP) and everything works fine!!

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

SOLVED

Postby nenad » Tue Apr 17, 2007 4:15 pm

nenad wrote:I combined HylaFAX server together with SCALIX server on the same
hardware/server (Debian/Etch). Both of them works great.

But I have one issue:
there is option for email-to-fax-gateway. It works great (on other
machine without SCALIX server).

The problem is that HylaFAX server needs to receive email at
faxgw@mydoman.com
and the receive email is forwarded to Perl script which then strip out
attachment, text and html component and invokes "sendfax" function.

But with scalix server SYSTEM user faxgw is unreachable. It is created,
but email never reaches it. In case that user mailbox is created with
SCALIX , system user mailbox is not reached again.

Invoking of the script is accomplished with placing this into faxgw home
dir:

Code: Select all

1. Create new user, e.g. faxgw, create .forward file in his homedir, and put there something like this: "|/var/spool/hylafax/bin/faxgw" (with quotes and pipe too)
2. create new file, /var/spool/hylafax/bin/faxgw, chmod it to -rwxr-xr-x , and put this perl script in there......


From this you can see what is problem:
file .forward is never reached and thus none of the following scripts in chain are not executed.

Now, the question is what I should d o in order to enable reaching of that crucial file?


So in order to solve this all that is necessary is to send email to:

faxgw@scalix.mydomain.com

instead to

faxgw@mydomain.com


When email is sent to:

faxgw@scalix.mydomain.com

system user faxgw receives it, and then because of forwarding rule in it's home directory, sendfax script is invoked and therefore fax is sent (pdf attachment within email is send as telefax)

Spoon

Postby Spoon » Mon Apr 30, 2007 6:26 pm

I've followed these instructions fairly carefully and it's not working for me. I've tracked the problem down to Tomcat not starting correctly, because it can't find Java.

java --version returns

Code: Select all

java version "1.4.2"
gij (GNU libgjc) version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)

[snip]


My /etc/opt/scalix-tomcat/scalix-tomcat.conf has

Code: Select all

JAVA_HOME="`/usr/bin/java`"

I've tried a few different options here, and they all give me different errors. The current error when I try to start Tomcat is:

Code: Select all

Starting Tomcat services (mailserver)Usage: gij [OPTION] ... CLASS [ARGS] ...
          to invoke CLASS.main, or
       gij -jar [OPTION] ... JARFILE [ARGS] ...
          to execute a jar file
Try `gij --help’ for more information.
The JAVA_HOME environment varaible is not defined
This environment variable is needed to run this program


Any suggestions?

nenad
Posts: 36
Joined: Wed Feb 28, 2007 8:21 pm

Postby nenad » Mon Apr 30, 2007 7:29 pm


Spoon

Postby Spoon » Mon Apr 30, 2007 7:31 pm

nenad wrote:Maybie you should try this:

http://www.scalix.com/wiki/index.php?ti ... n#Sun_Java


Yup, have done that.

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

Postby ScalixSupport » Tue May 01, 2007 7:10 am

Hi Spoon!

Ideally, the command "java -version" should show result from any folder location. If this is
not happening, make sure the PATH and JAVA_HOME environment variable has been
correctly set. Another point to be noted is Scalix 11 requires a Sun Java JRE or JDK version
1.5.0_06.

JAVA_HOME should have the where Java is installed.
PATH has path to executables, so for example if java executable in /usr/bin, then PATH
environment virable should include /usr/bin.

Thanks,
Subir

Spoon

Postby Spoon » Tue May 01, 2007 11:01 pm

ScalixSupport wrote:Hi Spoon!

Ideally, the command "java -version" should show result from any folder location. If this is
not happening, make sure the PATH and JAVA_HOME environment variable has been
correctly set. Another point to be noted is Scalix 11 requires a Sun Java JRE or JDK version
1.5.0_06.

JAVA_HOME should have the where Java is installed.
PATH has path to executables, so for example if java executable in /usr/bin, then PATH
environment virable should include /usr/bin.

Thanks,
Subir

Ahh, looks like I'm on the right track now. I'd installed JRE 1.5, but it wasn't correctly linked through the system. I've changed it now so the java -version from anywhere tells me it's version 1.5, however it still doesn't work. Pretty much narrowed it down to two things:
- Is JRE 1.5.0_10 good enough, or does it need to be 1.5.0_06?
- What should the JAVA_HOME line in the scalix-tomcat.conf be? I find if I put /usr/bin/java it tells me it can't find the interpreter, and if I put /usr/bin it tells me it's a directory.

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

Postby ScalixSupport » Wed May 02, 2007 2:25 am

Hi Again!

- Is JRE 1.5.0_10 good enough, or does it need to be 1.5.0_06?

JRE 1.5.0_10 is OK, it is a higher version than 1.5.0_06.
- What should the JAVA_HOME line in the scalix-tomcat.conf be? I find if I put /usr/bin/java it tells me it can't find the interpreter, and if I put /usr/bin it tells me it's a directory.

It should be the directory where Java is installed, for me it is:

Code: Select all

JAVA_HOME="/usr/java/jre1.5.0_06"

Hope this helps.

Thanks,
Subir

Spoon

Postby Spoon » Wed May 02, 2007 6:01 pm

Ahh, that was it. Knew I was close. Seems to be working sweetly now. Thanks for all your help!

sidestar

installing scalix-tomcat_5.5.16-263_all.deb fails

Postby sidestar » Thu May 24, 2007 7:04 am

sun:/tmp/scalix-debian-11.0.4-GA/software/scalix_server# dpkg -i scalix-tomcat_5.5.16-263_all.deb
Selecting previously deselected package scalix-tomcat.
(Reading database ... 79050 files and directories currently installed.)
Unpacking scalix-tomcat (from scalix-tomcat_5.5.16-263_all.deb) ...
Setting up scalix-tomcat (5.5.16-263) ...
/var/lib/dpkg/info/scalix-tomcat.postinst: line 21: syntax error near unexpected token `)'
/var/lib/dpkg/info/scalix-tomcat.postinst: line 21: ` /opt/scalix-tomcat/bin/sxtomcat-create-instance "")'
dpkg: error processing scalix-tomcat (--install):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
scalix-tomcat
sun:/tmp/scalix-debian-11.0.4-GA/software/scalix_server#

Solution:
a) dpkg --unpack scalix-tomcat_5.5.16-263_all.deb
b) edit /var/lib/dpkg/info/scalix-tomcat.postinst and add opening parenthesis at line 21
c) dpkg --configure --pending

I hope there not any more like this :-)

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

Postby ScalixSupport » Thu May 24, 2007 7:27 am

Hi!

Thanks for the updates, this has been fixed in bug:
http://bugzilla.scalix.com/show_bug.cgi?id=15319

Regards,
Subir


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 7 guests