Page 1 of 1

log missing and bad magic number

Posted: Sat Dec 04, 2004 9:28 pm
by kgao
After I installed scalix-swa and sac, and launched them with
<Tomcat_installed_dir>/bin/startup.sh
I can't find
<Tomcat_installed_dir>/logs/scalix-swa_log.<date>.txt
or <Tomcat_installed_dir>/logs/caa.log
only catalina.out and localhost_log.2004-12-04.txt exist.
Is anything wrong here?

It seems don't help even I changed
<Tomcat_installed_dir>/conf/server.xml and server-minimal.xml
web port from 8080 to 80.

From catalina.out
Dec 4, 2004 5:17:44 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException: Protocol handler start failed: java.net.BindException: Address already in use:80

So when I try to use: configurator --install --swa
I got
RuntimeError: Bad magic number in .pyc file
What went wrong here?

Thanks.

Posted: Mon Dec 06, 2004 3:34 am
by ScalixSupport
The "Address already in use" error most likely refers to Apache using port 80. If you don't intend to use Apache then disable it and allow Tomcat to start up on that port.

On what platform have you installed the configurator ? There are two versions, one for Python 2.2 and one for Python 2.3. You should make sure that you have installed the correct version.

Cheers

Dave.

Posted: Mon Dec 06, 2004 3:08 pm
by kgao
On Red Hat Enterprise 3 I installed the configurator. I followed the installation guide and checked the python version as 2.3, and installed the right version.

And, how to stop/start Apache?
Thanks,

Tomcat Issues

Posted: Mon Dec 06, 2004 8:06 pm
by ScalixSupport
You can stop Apache using

service httpd stop

BUT then you cannot access the Rules Wizard for SWA clients and server based rules. You should NOT move the listening port from 8080; leave it there.

After reconfiguring (or reinstalling if that's easier), start Tomcat and verify that it is running. http://host.domain.ext:8080/ should bring you to a Jakarta page. If not, torubleshoot usning information in catalina.out.

Once Tomcat is configured correctly, AND the RPM's for SAC and SWA are installed, run the configurator.

Hope this helps.

Posted: Mon Dec 06, 2004 8:11 pm
by kgao
I had achieved the result before change listening port from 8080 to 80 according to the installations guide recommendation. So if I leave the port to be 8080, what is the problem it might cause later?

And how the troubleshoot the bad magic number problem when I tried to install swa?
Thanks

Posted: Thu Sep 07, 2006 5:14 am
by florian
Please also see

http://bugzilla.scalix.com/show_bug.cgi?id=12912

Thanks,
Florian