Impossible to install under Debian 7 ???

Discuss installation of Scalix software
magix_CH
Posts: 10
Joined: Mon Apr 18, 2016 10:11 am

Impossible to install under Debian 7 ???

Postby magix_CH » Mon Apr 18, 2016 10:21 am

Dear all,

I am new to Scalix, we have a new customer that would be interested by Scalix, but after hours I'm still unable to install it.
I tried to install it under Debian, is it a bad choice, do you recommend another distribution ?

This is what I tried :

Code: Select all

./deb_installer.sh
./deb_installer.sh --update


But it didn't work, and this either not :

Code: Select all

git clone git@github.com:scalix/Debian-installer.git


That's why I did this :

Code: Select all

git clone https://github.com/scalix/Debian-installer.git


I worked and them, I did this :

Code: Select all

dpkg -i server/scalix-server_12.5.2.14845_amd64.deb7.deb


But it says "wrong architecture", then I tried this :

Code: Select all

dpkg -i --force-architecture server/scalix-server_12.5.2.14845_amd64.deb7.deb


But lots of missing packages, I installed them, but it still requests "libsasl2-modules:i386" while under amd64 platform !

Then I did this :

Code: Select all

dpkg -i --force-architecture --ignore-depends=libsasl2-modules:i386 server/scalix-server_12.5.2.14845_amd64.deb7.deb
dpkg -i --force-all server/scalix-platform_12.5.2.14726_all.deb


But I am blocked at :

Code: Select all

dpkg -i --force-all server/scalix-libical_0.44.976-2_i386.deb7.deb
"scalix-libical depends on libc6 (>= 2.7)"


And at this point

Code: Select all

# /etc/init.d/scalix start
/etc/init.d/scalix: ligne56: /opt/scalix/bin/omcheckgc: No such file


Well, as you can see I really don't know what I am doing and why ?!
Isn't there an easy way to install Scalix ???

Thanks a lot for any hint, advice or help :-)

Denis

P. S. Debian 7.10 (Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.78-1 x86_64 GNU/Linux)

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

Re: Impossible to install under Debian 7 ???

Postby ScalixSupport » Tue Apr 19, 2016 6:53 am

Hello Mr. Denis,

Please see the below instruction to install scalix on debian

# wget http://downloads.scalix.com/debian/current/deb_installer.sh (download installer script)

# chmod +x deb_installer.sh (change mod of script to execute)

# ./deb_installer.sh --update (use --update argument to download scalix 12.5.2 packages)

If you will face issue related to install dependencies, then please update your source list
for example:
# nano /etc/apt/sources.list
add below lines :
deb http://ftp.iitm.ac.in/debian/ wheezy main
deb-src http://ftp.iitm.ac.in/debian/ wheezy main

And again run
# ./deb_installer.sh

If sendmail will show the alert message while installation process as below:
Your current sendmail configuration has errors.
Please resolve following errors in sendmail configuration
to proceed with scalix server installation

*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE()

should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE()

should be before MAILER()
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE()

should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE()

should be before MAILER()

Then replace parameters in /etc/mail/sendmail.mc

FROM
dnl #
dnl # Default Mailer setup
MAILER_DEFINITIONS
MAILER(`local')dnl
MAILER(`smtp')dnl

dnl # Masquerading options
FEATURE(`always_add_domain')dnl
MASQUERADE_AS(`sx1252.db79.com')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_envelope')dnl

TO
dnl #
dnl # Masquerading options
FEATURE(`always_add_domain')dnl
MASQUERADE_AS(`sx1252.db79.com')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_envelope')dnl

dnl # Default Mailer setup
MAILER_DEFINITIONS
MAILER(`local')dnl
MAILER(`smtp')dnl

I hope it could be help and please share the feedback us.

Thanks !

Regards,
Scalix Support Team.

magix_CH
Posts: 10
Joined: Mon Apr 18, 2016 10:11 am

Re: Impossible to install under Debian 7 ???

Postby magix_CH » Tue Apr 19, 2016 10:43 am

Dear Scalix support team,

Thanks a lot for you answer. Maybe there is another problem that I didn't see as a problem, because when the download is finished, nothing happens (no installation).
Only this message is displayed :

Code: Select all

FINISHED --2016-04-19 16:26:21--
Total wall clock time: 2m 5s
Downloaded: 30 files, 224M in 1m 59s (1.89 MB/s)

127.0.1.1       mailsvr.ourclient.ch       mailsvr
192.168.1.12    mailsvr.ourclient.ch       mailsvr
FQDN ip address 127.0.1.1 192.168.1.12 is not for local machine.
Ip addresses for machine interfaces (except localhost ip):
192.168.1.12


Maybe we have some other problem to solve first ?

Thanks a lot for your help,

Denis

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

Re: Impossible to install under Debian 7 ???

Postby ScalixSupport » Tue Apr 19, 2016 12:20 pm

Hello Mr. Denis,

Host (/etc/hosts) entry should as below:

127.0.0.1 localhost
192.168.1.12 mailsvr.ourclient.ch mailsvr

Thanks !

Regards,
Scalix Support Team.

magix_CH
Posts: 10
Joined: Mon Apr 18, 2016 10:11 am

Re: Impossible to install under Debian 7 ???

Postby magix_CH » Tue Apr 19, 2016 2:49 pm

Great, thanks a lot !
In fact all the problems were due to this /etc/hosts question, I think ! (*)
I just had to correct the SENDMAIL point.

But :

Now I can see the console login, but when trying to login with login "sxadmin" (?) and password, it says "Could not login - Could not fetch configuration information - Possible problem with administration server"

Denis

P. S. (*) Maybe, (improvement suggestion) you should change the message in the script to look like an error and to explain clearly what to change, I always thought it was "normal" (and by the way didn't understand the meaning of the message).

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

Re: Impossible to install under Debian 7 ???

Postby ScalixSupport » Wed Apr 20, 2016 4:32 am

Hello Mr. Denis,

Please post the all content of /etc/hosts and /var/opt/scalix/??/tomcat/logs/scalix-caa.log

Thanks !

Regards,
Scalix Support Team.

magix_CH
Posts: 10
Joined: Mon Apr 18, 2016 10:11 am

Re: Impossible to install under Debian 7 ???

Postby magix_CH » Thu Apr 21, 2016 6:19 am

Dear Scalix support team,

Yes of course, this is /etc/hosts :

Code: Select all

127.0.0.1       localhost
192.168.1.12     mailsvr.ourclient.ch        mailsvr

195.20.242.89 security.debian.org
129.132.53.171 ftp.ch.debian.org

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


For /var/opt/scalix/wl/tomcat/logs/scalix-caa.log it's very long, therefore these are the lines I found "interesting" (I replaced the IP with 'x' for confidentiality reasons) :

Code: Select all

2016-04-19 19:57:49,497 ERROR [RESInitializer.initNotificationListener:221] Error creating listener with address: 185.71.x.x
java.net.BindException: Cannot assign requested address


And this is the full /var/opt/scalix/wl/tomcat/logs/scalix-caa.log :

Code: Select all

2016-04-19 19:48:45,054  INFO [SOAPDispatcherServlet.init:77] ====> CAA is starting up, standby <====
2016-04-19 19:48:45,177  WARN [CAAConfigLoader.parseConfigDocument:247] No services are configured in this config file
2016-04-19 19:48:45,189 FATAL [CAAInitializerManager.loadAllInitializers:58] Exception in initializer for scalix.res
java.lang.RuntimeException: FATAL: Value of ubermanager.configured has not been set to "true" - installer has not been run successfully
        at com.scalix.sac.ubermgr.caa.RESInitializer.init(RESInitializer.java:50)
        at com.scalix.caa.framework.CAAInitializerManager.loadAllInitializers(CAAInitializerManager.java:52)
        at com.scalix.caa.soap.SOAPDispatcherServlet.init(SOAPDispatcherServlet.java:115)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4425)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4738)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1385)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:306)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1392)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1656)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1665)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1645)
        at java.lang.Thread.run(Thread.java:701)
2016-04-19 19:48:45,190  INFO [SOAPDispatcherServlet.init:119] ====> CAA started, you may fire when ready <====
2016-04-19 19:57:09,785  INFO [CAAInitializerManager.terminateAllServices:123] No initializers found
2016-04-19 19:57:49,380  INFO [SOAPDispatcherServlet.init:77] ====> CAA is starting up, standby <====
2016-04-19 19:57:49,471  WARN [CAAConfigLoader.parseConfigDocument:247] No services are configured in this config file
2016-04-19 19:57:49,497 ERROR [RESInitializer.initNotificationListener:221] Error creating listener with address: 185.71.x.x
java.net.BindException: Cannot assign requested address
        at java.net.PlainDatagramSocketImpl.bind0(Native Method)
        at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:86)
        at java.net.DatagramSocket.bind(DatagramSocket.java:393)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:249)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:302)
        at com.scalix.sac.ubermgr.events.NotificationEventListener.<init>(NotificationEventListener.java:259)
        at com.scalix.sac.ubermgr.events.NotificationEventListener.<init>(NotificationEventListener.java:216)
        at com.scalix.sac.ubermgr.caa.RESInitializer.initNotificationListener(RESInitializer.java:217)
        at com.scalix.sac.ubermgr.caa.RESInitializer.init(RESInitializer.java:69)
        at com.scalix.caa.framework.CAAInitializerManager.loadAllInitializers(CAAInitializerManager.java:52)
        at com.scalix.caa.soap.SOAPDispatcherServlet.init(SOAPDispatcherServlet.java:115)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4425)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4738)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:622)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2016-04-19 19:57:49,498 FATAL [CAAInitializerManager.loadAllInitializers:58] Exception in initializer for scalix.res
java.net.BindException: Cannot assign requested address
        at java.net.PlainDatagramSocketImpl.bind0(Native Method)
        at java.net.AbstractPlainDatagramSocketImpl.bind(AbstractPlainDatagramSocketImpl.java:86)
        at java.net.DatagramSocket.bind(DatagramSocket.java:393)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:249)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:302)
        at com.scalix.sac.ubermgr.events.NotificationEventListener.<init>(NotificationEventListener.java:259)
        at com.scalix.sac.ubermgr.events.NotificationEventListener.<init>(NotificationEventListener.java:216)
        at com.scalix.sac.ubermgr.caa.RESInitializer.initNotificationListener(RESInitializer.java:217)
        at com.scalix.sac.ubermgr.caa.RESInitializer.init(RESInitializer.java:69)
        at com.scalix.caa.framework.CAAInitializerManager.loadAllInitializers(CAAInitializerManager.java:52)
        at com.scalix.caa.soap.SOAPDispatcherServlet.init(SOAPDispatcherServlet.java:115)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4425)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4738)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:802)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1068)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1060)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
        at org.apache.catalina.core.StandardService.start(StandardService.java:525)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:622)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2016-04-19 19:57:49,499  INFO [SOAPDispatcherServlet.init:119] ====> CAA started, you may fire when ready <====
2016-04-19 19:57:49,504  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-19 20:35:46,016 ERROR [RESTransformer.authenticateAndAuthorizeUser:343] Exception:
java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:411)
        at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContextWithCN(LDAPQuery.java:102)
        at com.scalix.sac.ubermgr.util.LDAPHelperUtils.findUser(LDAPHelperUtils.java:357)
        at com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.findUser(RbacAuthorizationHelper.java:133)
        at com.scalix.sac.ubermgr.caa.RESTransformer.authenticateUser(RESTransformer.java:376)
        at com.scalix.sac.ubermgr.caa.RESTransformer.authenticateAndAuthorizeUser(RESTransformer.java:264)
        at com.scalix.sac.ubermgr.caa.RESTransformer.createCAARequestMessage(RESTransformer.java:60)
        at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:223)
        at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at com.scalix.tomcat6.valve.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:191)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:701)
2016-04-19 20:35:46,019 FATAL [RESService.doRequest:147] java.lang.NullPointerException
        at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:115)
        at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:268)
        at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at com.scalix.tomcat6.valve.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:191)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:701)

2016-04-19 20:35:46,020 FATAL [RESTransformer.createSOAPResponseMessage:188] java.lang.NullPointerException
        at com.scalix.sac.ubermgr.transformers.Login.buildResponseMessage(Login.java:106)
        at com.scalix.sac.ubermgr.caa.RESTransformer.createSOAPResponseMessage(RESTransformer.java:177)
        at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:276)
        at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at com.scalix.tomcat6.valve.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:191)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:701)

2016-04-19 20:35:46,037 FATAL [SOAPDispatcherServlet.onMessage:279] Response message could not be transformed: SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.scalix.com/caa">
            <ServiceType>scalix.res</ServiceType>
            <Credentials id="undefined">
                <Identity name="sxadmin" passwd="********"/>
            </Credentials>
            <FunctionName>GetConsoleConfig</FunctionName>
            <GetConsoleConfigParameters id="_Admin_"/>
        </scalix-caa:CAARequestMessage>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

2016-04-19 20:36:01,331 ERROR [RESTransformer.authenticateAndAuthorizeUser:343] Exception:
java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:411)
        at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContextWithCN(LDAPQuery.java:102)
        at com.scalix.sac.ubermgr.util.LDAPHelperUtils.findUser(LDAPHelperUtils.java:357)
        at com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.findUser(RbacAuthorizationHelper.java:133)
        at com.scalix.sac.ubermgr.caa.RESTransformer.authenticateUser(RESTransformer.java:376)
        at com.scalix.sac.ubermgr.caa.RESTransformer.authenticateAndAuthorizeUser(RESTransformer.java:264)
        at com.scalix.sac.ubermgr.caa.RESTransformer.createCAARequestMessage(RESTransformer.java:60)
        at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:223)
        at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at com.scalix.tomcat6.valve.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:191)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:701)
2016-04-19 20:36:01,332 FATAL [RESService.doRequest:147] java.lang.NullPointerException
        at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:115)
        at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:268)
        at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at com.scalix.tomcat6.valve.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:191)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:701)

2016-04-19 20:36:01,332 FATAL [RESTransformer.createSOAPResponseMessage:188] java.lang.NullPointerException
        at com.scalix.sac.ubermgr.transformers.Login.buildResponseMessage(Login.java:106)
        at com.scalix.sac.ubermgr.caa.RESTransformer.createSOAPResponseMessage(RESTransformer.java:177)
        at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:276)
        at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at com.scalix.tomcat6.valve.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:191)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:701)

2016-04-19 20:36:01,333 FATAL [SOAPDispatcherServlet.onMessage:279] Response message could not be transformed: SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.scalix.com/caa">
            <ServiceType>scalix.res</ServiceType>
            <Credentials id="undefined">
                <Identity name="sxadmin" passwd="********"/>
            </Credentials>
            <FunctionName>GetConsoleConfig</FunctionName>
            <GetConsoleConfigParameters id="_Admin_"/>
        </scalix-caa:CAARequestMessage>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

2016-04-19 20:45:22,849 ERROR [RESTransformer.authenticateAndAuthorizeUser:343] Exception:
java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:411)
        at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContextWithCN(LDAPQuery.java:102)
        at com.scalix.sac.ubermgr.util.LDAPHelperUtils.findUser(LDAPHelperUtils.java:357)
        at com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.findUser(RbacAuthorizationHelper.java:133)
        at com.scalix.sac.ubermgr.caa.RESTransformer.authenticateUser(RESTransformer.java:376)
        at com.scalix.sac.ubermgr.caa.RESTransformer.authenticateAndAuthorizeUser(RESTransformer.java:264)
        at com.scalix.sac.ubermgr.caa.RESTransformer.createCAARequestMessage(RESTransformer.java:60)
        at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:223)
        at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at com.scalix.tomcat6.valve.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:191)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:701)
2016-04-19 20:45:22,850 FATAL [RESService.doRequest:147] java.lang.NullPointerException
        at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:115)
        at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:268)
        at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at com.scalix.tomcat6.valve.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:191)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:701)

2016-04-19 20:45:22,851 FATAL [RESTransformer.createSOAPResponseMessage:188] java.lang.NullPointerException
        at com.scalix.sac.ubermgr.transformers.Login.buildResponseMessage(Login.java:106)
        at com.scalix.sac.ubermgr.caa.RESTransformer.createSOAPResponseMessage(RESTransformer.java:177)
        at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:276)
        at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at com.scalix.tomcat6.valve.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:191)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:701)

2016-04-19 20:45:22,851 FATAL [SOAPDispatcherServlet.onMessage:279] Response message could not be transformed: SOAP part:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <scalix-caa:CAARequestMessage xmlns:scalix-caa="http://www.scalix.com/caa">
            <ServiceType>scalix.res</ServiceType>
            <Credentials id="undefined">
                <Identity name="admin" passwd="********"/>
            </Credentials>
            <FunctionName>GetConsoleConfig</FunctionName>
            <GetConsoleConfigParameters id="_Admin_"/>
        </scalix-caa:CAARequestMessage>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

2016-04-19 21:27:49,505  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-19 22:57:49,506  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 00:27:49,507  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 01:57:49,507  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 03:27:49,508  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 04:57:49,509  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 06:27:49,510  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 07:57:49,510  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 09:27:49,511  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 10:57:49,511  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 12:27:49,512  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 13:57:49,513  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 15:27:49,513  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 16:57:49,514  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 18:27:49,515  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 19:57:49,516  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 21:27:49,516  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-20 22:57:49,517  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-21 00:27:49,517  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-21 01:57:49,518  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-21 03:27:49,519  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-21 04:57:49,519  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-21 06:27:49,520  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-21 07:57:49,521  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-21 09:27:49,522  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2016-04-21 10:57:49,523  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup

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

Re: Impossible to install under Debian 7 ???

Postby ScalixSupport » Thu Apr 21, 2016 9:00 am

Hello,

There is problem with scalix installation, you used public ip 185.71.x.x while scalix installation instead of local ip 192.168.1.12 (as per host file and scalix-caa.log),
please change ip in /var/opt/scalix/sx/caa/scalix.res/config/ubermanager.properties
ubermanager.notification.listener.address=185.71.x.x
to
ubermanager.notification.listener.address=192.168.1.12

Or test scalix installation again and use local IP anywhere in scalix configuration.

Regards,
Scalix Support Team

magix_CH
Posts: 10
Joined: Mon Apr 18, 2016 10:11 am

Re: Impossible to install under Debian 7 ???

Postby magix_CH » Wed Jun 01, 2016 4:53 am

Dear Scalix support team, Hello everyone,

This problem is SOLVED but it was hiding ANOTHER PROBLEM that I also solved :

1. For the above problem I changed the IP from external to internal and restarted services. But there was a new problem in the logs.

2. For the new problem, the error was :

Code: Select all

ERROR [LDAPHelperUtils.findUser:374] javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]


To solve this I followed the following link : http://www.scalix.com/forums/viewtopic.php?t=10421

Code: Select all

/opt/scalix/bin/omshowu  -n sxqueryadmin
/opt/scalix/bin/omdelu sxqueryadmin/<mailnode>
/opt/scalix/bin/omaddu -n sxqueryadmin/<mailnode> --class limited -c admin -p <db_password> sxqueryadmin@<domain>


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 0 guests

cron