log missing and bad magic number

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

kgao
Posts: 23
Joined: Thu Nov 11, 2004 9:20 pm

log missing and bad magic number

Postby kgao » Sat Dec 04, 2004 9:28 pm

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.

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

Postby ScalixSupport » Mon Dec 06, 2004 3:34 am

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.

kgao
Posts: 23
Joined: Thu Nov 11, 2004 9:20 pm

Postby kgao » Mon Dec 06, 2004 3:08 pm

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,

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

Tomcat Issues

Postby ScalixSupport » Mon Dec 06, 2004 8:06 pm

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.

kgao
Posts: 23
Joined: Thu Nov 11, 2004 9:20 pm

Postby kgao » Mon Dec 06, 2004 8:11 pm

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

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Thu Sep 07, 2006 5:14 am

Please also see

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

Thanks,
Florian
Florian von Kurnatowski, Die Harder!


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 5 guests

cron