unable to start scalix-installer

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

kk123

unable to start scalix-installer

Postby kk123 » Fri Sep 01, 2006 6:23 am

Scalix Installer - extracting archive, please wait...
RuntimeError: Bad magic number in .pyc file
Scalix Installer - starting version ...
Scalix Installer - using Python 2.3.3.
RuntimeError: Bad magic number in .pyc file
Scalix Installer - cleaning up...
Scalix Installer - stopped.
scalix-core-intel-suse-10.0.1

Search around but still no luck, try remove python as other highlighted at other topic but still the same.
i try to install on a SLES 9 sp3, already follow the guide instraction installed the package which highlighted.

pls give me some hint, i stuck at this point.

thks

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

Postby florian » Sat Sep 02, 2006 5:31 am

Just to be sure, can you please post the output of

Code: Select all

cat /etc/SuSE-release
uname -a
rpm -qa | grep python


Thx,
Florian.
Florian von Kurnatowski, Die Harder!

kk123

Postby kk123 » Wed Sep 06, 2006 6:35 am

cat /etc/SuSE-release
SUSE LINUX Enterprise Server 9 (i586)
VERSION = 9
PATCHLEVEL = 3

uname -a
Linux ScalixServer 2.6.5-7.244-smp #1 SMP Mon Dec 12 18:32:25 UTC 2005 i686 athlon i386 GNU/Linux

rpm -qa | grep python
python-2.3.3-88.9
python-numeric-23.1-89.1
python-gtk-2.0.0-215.3


thks for your reply

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

Postby florian » Wed Sep 06, 2006 6:40 am

Hm,

to me this looks like a good and supported environment. I've forwarded a link to this thread to our engineering team that is responsible for the Installer component and asked them if they can think of something quickly.

-- Florian.
Florian von Kurnatowski, Die Harder!

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Wed Sep 06, 2006 10:04 am

If you do some searches through this forum, you'll find a number of similar posts where the cause was determined to be a bad python installation.

Cheers

Dave

kk123

Postby kk123 » Wed Sep 06, 2006 9:58 pm

I do search around b4 i post, but no luck for me, i'll try search again, maybe i not try hard enough.

as florian said, i also think is a good and supported environment, thats why i purposely download the Installer and patch ISO.

pls give me some guidance.


thks

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

Postby florian » Thu Sep 07, 2006 1:55 am

When you start the installer with the "--debug" switch, does it log anything to /var/log/scalix-installer*.log before it dies?

-- Florian.
Florian von Kurnatowski, Die Harder!

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

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

Florian von Kurnatowski, Die Harder!

kk123

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

From the last scalix log.
2006-09-01 17:39:06,318 INFO Initializing Scalix Installer version 10.0.1.24
2006-09-01 17:39:06,444 INFO Platform is: SUSE LINUX Enterprise Server 9 (i586) on i386 : supported.


Scalix Installer - extracting archive, please wait...
RuntimeError: Bad magic number in .pyc file
Scalix Installer - starting version ...
Scalix Installer - using Python 2.3.3.
RuntimeError: Bad magic number in .pyc file
Scalix Installer - cleaning up...
Scalix Installer - stopped.

it's not generating any log after 2006-09-01.

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

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

When you look at the bug - can it be that you have multiple versions of the python runtime (eventually coming through other applications) on your machine?

Thx,
Florian.
Florian von Kurnatowski, Die Harder!

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

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

Can you just execute

Code: Select all

python -V


from the very same shell environment (i.e. Window or type of SSH session) that you tried to start scalix installer from?

Thx,
Florian.
Florian von Kurnatowski, Die Harder!

kk123

Postby kk123 » Thu Sep 07, 2006 5:29 am

python-V
Python 2.4.3

i download from python web site and install the rpm.

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

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

OK, that is the problem.

The Installer first checks the Python version using the rpm command, but then uses the one in the path. By RPM command, this is 2.3, then it runs using 2.4, which are incompatible.

You will need to set your PATH variable so that it also points to the Python 2.3 environment first, i.e. python -V _must_ return a 2.3 identification.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

kk123

Postby kk123 » Thu Sep 07, 2006 6:25 am

python -V
Python 2.3.5

--debug
Scalix Installer - extracting archive, please wait...
Scalix Installer - starting version 10.0.1.24...
Scalix Installer - using Python 2.3.3.
INFO:merlin:Initializing Scalix Installer version 10.0.1.24
DEBUG:root:OS: GNU/Linux
DEBUG:root:Release: SUSE LINUX Enterprise Server 9 (i586)
DEBUG:root:Architecture: i386
DEBUG:root:Total memory is 1034204 kB, recommended is 524288 kB
DEBUG:root:Total available disk space: 32717812 kB, recommended is 256000 kB
DEBUG:root:System default browser: epiphany
INFO:merlin:Platform is: SUSE LINUX Enterprise Server 9 (i586) on i386 : supported.
Error: 'No module named pygtk'.
Please install RPM package python-gtk >= 2.0. This package can usually be found on the distribution CD or on the vendor web site.
Scalix Installer - cleaning up...
Scalix Installer - stopped.

i sure that i have installed this python-gtk.

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

Postby florian » Thu Sep 07, 2006 6:27 am

i guess it's probably now one python installation looking for the gtk python module in the other installation or so, maybe there is a module path.

I am sure it's related.

as a different solution, can you try to patch the installer with the patch that has just been added to the bug pointed to in our bugtracking system?

Thx,
Florian.
Florian von Kurnatowski, Die Harder!


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 5 guests

cron