Installation Errors/Problems

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

ziyaad

Installation Errors/Problems

Postby ziyaad » Fri Oct 13, 2006 9:19 am

Hi There, I am currently running fedora Core 5 and i have installed all the necessary dependancies required for scalix, however when i run the installation it gives me an error like this:

Scalix Installer - extracting archive, please wait...
tail: cannot open `+154' for reading: No such file or directory

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
Error: Build does not contain version for the version of Python installed. Please ensure you have Python 2.2, 2.3 or 2.4 installed. Aborting.
Scalix Installer - cleaning up...

I have python 2.4.2-3.2.1 installed on the server, please help,

Thanks

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

Postby florian » Sat Oct 14, 2006 1:50 pm

what version of Scalix are you trying to use?

Florian.
Florian von Kurnatowski, Die Harder!

JimBodkins

Postby JimBodkins » Sat Oct 14, 2006 6:41 pm

I have exactly the same problem with a version downloaded on the 11th of October. It just doesnt install.

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

Postby florian » Sat Oct 14, 2006 6:47 pm

right... is this also FC5 for you? I have a test system running with this, so iit generally works.

Do you have multiple versions of python installed on your machine? what does

type python

and

python -V

return?

Thx,
Florian.
Florian von Kurnatowski, Die Harder!

JimBodkins

Postby JimBodkins » Sat Oct 14, 2006 7:02 pm

Python 2.4.3 (#1, Jun 13 2006, 11:46:08)
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Python 2.4.3

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

Postby florian » Sat Oct 14, 2006 7:06 pm

Can you try

type tail

and

tail +5 /etc/inittab

?

Thx,
Florian
Florian von Kurnatowski, Die Harder!

JimBodkins

Postby JimBodkins » Sat Oct 14, 2006 7:11 pm

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
x:5:once:/etc/X11/prefdm -nodaemon

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

Postby florian » Sat Oct 14, 2006 7:14 pm

and you also get the

tail: cannot open `+154' for reading: No such file or directory

error message??

-- Florian.

P.S. Any chance that I can logon to you system?
Florian von Kurnatowski, Die Harder!

JimBodkins

Postby JimBodkins » Sat Oct 14, 2006 7:21 pm

Yes.

Its a company system. I would have to clear it with them.

It is fairly generic though. Just installed FC5 from DVD (Nearly everything) and then added lazarus (http://www.lazarus.freepascal.org). Yum updated on a regular basis.

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

Postby florian » Sat Oct 14, 2006 7:36 pm

It's really strange.

scalix-installer is a self-unpacking shell script archive and this unpacking seems to fail. If you know enough about shell programming, please read through it and see where it fails.

My assumption is that it's either dependent on some environment variable setting or some software package that is not installed on our test system.

Cheers,
Florain.
Florian von Kurnatowski, Die Harder!

JimBodkins

Postby JimBodkins » Sat Oct 14, 2006 8:31 pm

The original error ...

Scalix Installer - extracting archive, please wait...
tail: cannot open `+154' for reading: No such file or directory

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
Error: Build does not contain version for the version of Python installed. Please ensure you have Python 2.2, 2.3 or 2.4 installed. Aborting.
Scalix Installer - cleaning up...

.... is due to a tail argument error I suspect. The +154 is the tail arg.

from the tail man page
....`tail ./+4' or `tail -n +4' rather than the ambiguous `tail +4'. ....

So I changed
tail +$SKIP $0 | tar xzm -C "$WRKDIR"
to
tail -n +$SKIP $0 | tar xzm -C "$WRKDIR"

after which this error was produced. (Note, it is a different error)

Scalix Installer - extracting archive, please wait...

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
Scalix Installer - starting version 10.0.1.24...
Scalix Installer - using Python 2.4.3.
Error: unsupported OS release: Fedora Core release 5 (Bordeaux) on i386
Scalix Installer - cleaning up...
Scalix Installer - stopped.

... as a note. I have no idea why it is complaining that Fedora Core release 5 is unsupported.

Edit --

This is the complete paragraph in the tail man page

On older systems, the leading `-' can be replaced by `+' in the
obsolete option syntax with the same meaning as in counts, and obsolete
usage overrides normal usage when the two conflict. This obsolete
behavior can be enabled or disabled with the `_POSIX2_VERSION'
environment variable (*note Standards conformance::), but portable
scripts should avoid commands whose behavior depends on this variable.
For example, use `tail -- - main.c' or `tail main.c' rather than the
ambiguous `tail - main.c', `tail -c4' or `tail -c 10 4' rather than the
ambiguous `tail -c 4', and `tail ./+4' or `tail -n +4' rather than the
ambiguous `tail +4'.

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

Postby florian » Sun Oct 15, 2006 7:26 am

Well, actually pretty clear.

Scalix 10.0.1 is not supported on FC5. Please use FC4 instead.

Scalix 11 (which is currently in Beta 1) will support FC5.

Please check the release notes of the respective version you are using for latest updates.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

JimBodkins

Postby JimBodkins » Sun Oct 15, 2006 11:47 pm

I cant change OS's to accomodate a mail server.

I'll use surgemail in the meantime. Thanks anyway. :)

Jim

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

Postby florian » Mon Oct 16, 2006 1:07 am

:-) Well, most of our users are happy enough with the product to comply with system requirements...

... you can also try Scalix 11, it's in Beta, so no support for production, but fairly stable for many from what you can also read here on the forum.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests