Installation on FC4 fails after creating admin user

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

Bryan

Installation on FC4 fails after creating admin user

Postby Bryan » Thu Mar 23, 2006 6:08 pm

I am doing a very plain console install on a new FC4 installation only updated to satisfy Scalix requirements. The installation gets, seemingly, quite far, and then abruptly fails:

...snip...

Code: Select all

Creating Scalix Server primary mail node...
Creating Scalix Server admin user...
Fatal error occured: Msg: Failed to configure server -- check the log for errors.
Scalix Installer - cleaning up...
Scalix Installer - stopped.


Looking at the log (below), I think it succeeds in creating the admin user, and then fails at whatever is the next step.

Running the installer with --debug, here are the last (almost) 20 lines of the installation log:

Code: Select all

2006-03-23 13:27:10,072 INFO Successfully added name generation rules
2006-03-23 13:27:10,073 DEBUG Called config-server function set_generation_rules with success True
2006-03-23 13:27:10,074 DEBUG Calling config-server function create_primary_mailnode
2006-03-23 13:27:10,075 INFO Creating Primary mailnode on ox
2006-03-23 13:27:10,717 DEBUG Called config-server function create_primary_mailnode with success True
2006-03-23 13:27:10,718 DEBUG Calling config-server function create_server_admin_user
2006-03-23 13:27:10,719 INFO Configuring server Unix user and server admin user...
2006-03-23 13:27:10,876 INFO Created system group 'sxadmin'
2006-03-23 13:27:11,011 INFO Created system user 'sxadmin'
2006-03-23 13:27:11,012 INFO Adding user sxadmin/ox/IA=sxadmin-ox@ox.flyingiranch.com as server admin user authid sxadmin (use authid to log in at administration console)
2006-03-23 13:27:12,758 INFO Setting user sxadmin@66-224-122-116.atgi.net as server error notification user
2006-03-23 13:27:13,447 INFO Setting error notification user (sxadmin) with no mailbox size limits
2006-03-23 13:27:13,762 DEBUG Called config-server function create_server_admin_user with success True
2006-03-23 13:27:13,764 DEBUG Calling config-server function do_tweaks
2006-03-23 13:27:13,765 ERROR general.cfg does not exist, can't do tweaks
2006-03-23 13:27:13,766 DEBUG Called config-server function do_tweaks with success False
2006-03-23 13:27:13,767 CRITICAL Operation failed: config-server function do_tweaks failed to execute successfully
2006-03-23 13:27:13,768 ERROR Operation failed: Aborting server configuration


I do have three files called general.cfg, all part of scalix:
    /var/opt/scalix/release.sys/general.cfg
    /var/opt/scalix/sys/general.cfg
    /opt/scalix/template/release.sys/general.cfg


This is the Scalix CE, by the way.

Thanks for any help,

Bryan

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

Postby ScalixSupport » Fri Mar 24, 2006 4:15 pm

Hi Bryan,

Two things to note. First, your reverse DNS has not been setup correctly:

Non-authoritative answer:
116.122.224.66.in-addr.arpa name = 66-224-122-116.atgi.net.

which should return name = ox.flyingiranch.com.

so, you'll need to get that taken care of.

Second, please post the output from:

ls -l /var/opt/scalix/sys/general.cfg

and also verify that you're running the installer as root.

Thanks,
Rachel

Bryan

Postby Bryan » Sat Mar 25, 2006 2:13 pm

I will work on the DNS reverse lookup; we do not run our own DNS in my organization, so I will need to interface with my connectivity provider to get that resolved.

However, I don't think (and I don't think you think) this is the problem that is causing my install to fail. Here's the information you asked for:

[root@ox ~]# ls -l /var/opt/scalix/sys/general.cfg
-rw-rw-r-- 1 scalix scalix 579 Mar 24 07:37 /var/opt/scalix/sys/general.cfg

Yes, I am positive that I am running the installer as root.

Thanks for your help - I am eager to get this set up and running. FYI, we previously used Samsung Contact, which we were never really happy with for a number of reasons - had I known about Scalix earlier, I certainly would have tried it, as it looks much more robust and much better supported.

Bryan

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

Postby ScalixSupport » Sat Mar 25, 2006 3:30 pm

Hi Bryan,

Your /var/opt/scalix/sys/general.cfg file looks kind of small, could you post the contents here?

Thanks,
Rachel

Bryan

Postby Bryan » Sat Mar 25, 2006 3:35 pm

Code: Select all

[root@ox ~]# cat /var/opt/scalix/sys/general.cfg
# @(#) $Id: general.cfg,v 1.3 2003/01/14 16:12:27 tonyn Exp $
#
#
# File: general.cfg  - general customization file for Scalix
#
# This file is used to override hard-coded configuration settings.
# See the Scalix Technical Guide for details of the options that
# can be specified in this file.
#
# Options in this file use the syntax:
#
#    <tag>=<value>
#
# You cannot enter a <value> containing an underscore character (_);
# the underscore character is used to represent a space.
#
USRL_AUTO_GEN_SGI_2_CN=G S
USRL_AUTO_GEN_AUTHID=gS
INET_AUTO_GEN_DOMAIN=ox.flyingiranch.com


Thanks again!

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

Postby ScalixSupport » Mon Mar 27, 2006 4:15 pm

Hi Bryan,

Could you post the output from:

Code: Select all

omrealpath '~/'


It should return /var/opt/scalix

If it does, then could you try completely uninstalling Scalix, then re-installing from scratch. It may be that the installer is seeing the partially written /var/opt/scalix/general.cfg and having problems with that.

Thanks,
Rachel

Bryan

Postby Bryan » Mon Mar 27, 2006 4:29 pm

Thanks - the output from the command you suggest is exactly the response you said to expect (but with a trailing slash, actually - '/var/opt/scalix/').

I have gone the full uninstall, then reinstall, path several times now. Do I need to do any manual steps once I do the uninstall using scalix-installer?

Thanks again,

Bryan

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

Postby ScalixSupport » Mon Mar 27, 2006 5:39 pm

Hi Bryan,

Hmm... Okay could you do the fresh install, but this time use the --debug option, then post the entire scalix-installer-xxxxxx.log file. That should give us an idea of where things are going wrong.

Thanks,
Rachel

Bryan

Postby Bryan » Mon Mar 27, 2006 6:02 pm


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

Postby ScalixSupport » Mon Mar 27, 2006 8:59 pm

Hi Bryan,

These lines are telling:

Code: Select all

2006-03-27 13:20:59,921 DEBUG Message store checking: perl: warning: Setting locale failed./sys/version  exists: False
2006-03-27 13:20:59,923 DEBUG Message store checking: perl: warning: Setting locale failed./sys/version  exists: False
2006-03-27 13:20:59,924 DEBUG Message store checking: perl: warning: Setting locale failed./sys/version  exists: False


as they should show /var/opt/scalix/sys/version rather than /sys/version. In the /etc/passwd file, what is the scalix user's home set to? Also, what is the LANG variable set to with your shell?

Thanks,
Rachel

Bryan

Postby Bryan » Mon Mar 27, 2006 9:08 pm

Home for user scalix is /var/opt/scalix. echo $LANG returns "en_US.UTF-8" - these are defaults, I have not explicitly set these.

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

Postby ScalixSupport » Mon Mar 27, 2006 9:38 pm

Hi Bryan,

I googled for the error "perl: warning: Setting locale failed." and it sounds like you have something misconfigured there. Could you post your /etc/sysconfig/i18n file? As a workaround, it sounds like you can do an:

export PERL_BADLANG=0

then run the installer, but that will only mask the problem with your language setting and it would be interesting to get to the root of the problem.

Thanks,
Rachel

Bryan

Postby Bryan » Mon Mar 27, 2006 9:51 pm

Code: Select all

[root@ox ~]# cat /etc/sysconfig/i18n
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
SUPPORTED="en_US.UTF-8:en_US:en"


I'll try the suggestion tomorrow early in the AM and post results - thanks again for the help!

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

Postby ScalixSupport » Mon Mar 27, 2006 10:15 pm

Hi Bryan,

A little more googling and I found this link at the perl site:

http://www.perl.com/doc/manual/html/pod/perllocale.html

Can you type "locale" on your system and post the output? From the log file you posted earlier, perl returns this warning on your system whenever it runs:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


You should be able to take this information and the information from perl.com and get your system setup correctly so perl stops returning that warning message.

Thanks,
Rachel

Bryan

Postby Bryan » Tue Mar 28, 2006 2:33 pm

Wow - the locale problem does appear to have been the issue. To my surprise, I did 'export LC_ALL=C' before running the installer, walked away expecting it to fail, and when I glanced back, I'm being asked for the license... so THANK YOU - I appear to be moving forward.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests