Page 1 of 1

install scalix from console...possible?

Posted: Mon Apr 02, 2007 12:07 pm
by bangsters
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

Posted: Tue Apr 03, 2007 6:14 am
by ScalixSupport
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

Posted: Tue Apr 03, 2007 5:11 pm
by bangsters
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

Posted: Tue Apr 03, 2007 5:20 pm
by Shredder
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

Posted: Tue Apr 03, 2007 11:35 pm
by grahamk
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?

Posted: Wed Apr 04, 2007 11:16 am
by bangsters
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?

Posted: Wed Apr 04, 2007 11:42 am
by Shredder
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

Posted: Wed Apr 04, 2007 11:46 am
by bangsters
uhmm....it's saying user can't be found or has been deleted...it's a fresh install :(

EDIT: logged in.

Thanks

Posted: Wed Apr 04, 2007 12:22 pm
by Shredder
So you did get into SAC?

Thanks,
Shredder

Posted: Wed Apr 04, 2007 12:33 pm
by bangsters
yup thanks :) the default login was admin and not sxadmin for me...werd lol...