install scalix from console...possible?

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

bangsters
Posts: 89
Joined: Mon May 22, 2006 1:49 am

install scalix from console...possible?

Postby bangsters » Mon Apr 02, 2007 12:07 pm

Hi.

I want to mov my installation from a virtual server to a physical server. How do I do this? How do I copy the mailboxes?

Also, the new box is only ssh enabled and no desktop gui. Can I still install scalix using the console?

Thanks

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

Postby ScalixSupport » Tue Apr 03, 2007 6:14 am

Hi!

The mailbox is within folder /var/opt/scalix create a backup of this folder restoring the
ownership and permission of the files. Yes the installer can run in command line mode
try running the installer with --cli option, the usage for scalix-installer script is as below:
[root@subir-rhel4 scalix-11.0.0-GA]# ./scalix-installer --help

Scalix Installer - extracting archive, please wait...
Scalix Installer - starting version 11.0.0.637...
Scalix Installer - using Python 2.3.4 (/usr/bin/python).
Error: option --help not recognized
Usage: scalix-installer [--cli] [--debug] [--rpmdir=rpm-dir] [--logdir=log-dir] [--instance=inst-name] [--version]
Scalix Installer - cleaning up...
Scalix Installer - done.
[root@subir-rhel4 scalix-11.0.0-GA]#


Please feel free to reply with your concerns. Also, make sure you refer to the "Upgrade
Alerts" in the release notes.

Thanks,
Subir

bangsters
Posts: 89
Joined: Mon May 22, 2006 1:49 am

Postby bangsters » Tue Apr 03, 2007 5:11 pm

thanks.

i got stuck in the isntallation. I keep getting a network test fail. My client is behind a router and only has 1 IP, so we configured it with NAT. Port 25 is currently pointing to the existing mailserver and not the scalix box we're setting up.

We are getting thiserror, any ideas?

* Environment check... OK
* Filesystem check... OK
* Network check... ERROR
* Dependency check... WARNING
* Running services check... OK

System check report:

Environment check passed.
Filesystem check passed.
Network check failed -- Hosts file is not configured with fully qualified domain name (FQDN)
Network check failed -- Could not find a host name in DNS that matches an IP address
Network check failed -- Could not resolve host name 'scalix.domainxyz.local' in DNS
Dependency check warning -- The following packages will be installed next to resolve conflicts:
libical
Running services check passed.

-> Please fix the problems and press Enter to run the system checks again or press CTRL-C to quit [Run Again]:

Any ideas?

Thanks

Shredder

Postby Shredder » Tue Apr 03, 2007 5:20 pm

It is saying that your machine does not have it FQDN in the /etc/hosts file

If you look at the file it will probably just have an entry for 127.0.0.1
You need to make an entry for your IP address

It should look something like:

Code: Select all

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
192.168.x.x             xxx.yyy.com xxx


Replace the IP address with yours, xxx is the machine name, yyy.com is the domain

Also if you have an actual DNS server for your network, please make sure that it has the correct values too for this machine.

The warning you get is just telling you that there is a missing package, but scalix will install that for you.

Shredder

grahamk
Posts: 134
Joined: Fri Mar 02, 2007 4:53 am

Postby grahamk » Tue Apr 03, 2007 11:35 pm

Something which i've done in the past, to make it pass the Network Check (although I'm not certain that its ok to do) is to edit /etc/resolv.conf and at the top of the file add

nameserver 127.0.0.1

If you still have dramas, but perhaps someone smarter than me can confirm this is not going to have any negative effects?

bangsters
Posts: 89
Joined: Mon May 22, 2006 1:49 am

Postby bangsters » Wed Apr 04, 2007 11:16 am

i got it to work and install...thanks....now problem i encountered is it's not taking the admin login in sac.... any idea what the default admi user/pass is?

also, now I've set up scalix behind a router, and i'm planning on installing ASSP antispam on another box, how do I configure scalix such that mail is received by the spam server and forwarded to the scalix mailserver?

Shredder

Postby Shredder » Wed Apr 04, 2007 11:42 am

To find the login name for a user, type:

Code: Select all

omshowu -n "user name"


For the sxadmin user type:

Code: Select all

omshowu -n "sxadmin"


On the resulting output there is a line called Authentication ID

That is the username you need to log in with. Once in SAC, go to the Advanced tab for the sxadmin user and change the Authentication ID to just sxadmin.

Shredder

bangsters
Posts: 89
Joined: Mon May 22, 2006 1:49 am

Postby bangsters » Wed Apr 04, 2007 11:46 am

uhmm....it's saying user can't be found or has been deleted...it's a fresh install :(

EDIT: logged in.

Thanks

Shredder

Postby Shredder » Wed Apr 04, 2007 12:22 pm

So you did get into SAC?

Thanks,
Shredder

bangsters
Posts: 89
Joined: Mon May 22, 2006 1:49 am

Postby bangsters » Wed Apr 04, 2007 12:33 pm

yup thanks :) the default login was admin and not sxadmin for me...werd lol...


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 4 guests

cron