Postby marc1911 » Tue Aug 14, 2007 6:29 am
Hi there,
I'm trying to CLI install Scalix CE 11.1 on Centos 4.4. (I also tried Fedora 5) and on both systems the scalix-installer ends with the following output:
Configuring Server...
Fatal error occured: Msg: Failed to configure server -- check the log for errors.
Scalix Installer - cleaning up...
Scalix Installer - done.
And if I check the log, it ends as follows:
2007-08-14 12:05:28,794 INFO Install end
2007-08-14 12:05:28,904 INFO Mailnode name derived from FQDN: openvz204
2007-08-14 12:05:31,000 WARNING configured mail domain could not be determined
2007-08-14 12:05:31,476 INFO dns domain home.tld does not have an MX record so user must enter default domain
2007-08-14 12:05:45,419 INFO Creating Scalix instance...(please wait -- this might take several minutes)
2007-08-14 12:05:45,459 CRITICAL Failed calling command '/opt/scalix/bin/ommakeom -h openvz204.home.tld ' with exit code 126 msg ['sh: which: command not found', 'sh: server/wrappers/pyexec: Permission denied']
2007-08-14 12:05:45,459 CRITICAL Operation failed: config-server function create_scalix_instance failed: Msg: Failed calling command '/opt/scalix/bin/ommakeom -h openvz204.home.tld ' with exit code 126 msg ['sh: which: command not found', 'sh: server/wrappers/pyexec: Permission denied']
2007-08-14 12:05:45,459 ERROR Operation failed: Aborting server configuration
Does anyone know what happens here? It seems to be somekind of permission problem, but I'm root when I execute this script! As I said I above I have the exact same errors on both CentOS and Fedora and I can't figure out what I'm doing wrong.
If I manually execute:
# /opt/scalix/bin/ommakeom -h openvz204.home.tld
the script evalualtes with the following output to a log file:
ompatchom: Running patch-uninstall scripts ...
ompatchom: Running patch-preinstall scripts ...
###########################################################################
#
# ompatchom: Initializing Scalix components.
#
###########################################################################
ompatchom: Copying Scalix components, please wait
###########################################################################
#
# OM-CORE
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
Service Local Delivery set up
Service Service Router set up
Service Sendmail Interface set up
Service Test Server set up
Service Administration set up
Service Converters set up
Service Browser set up
Service Request Server set up
Service Print Server set up
Service Directory Relay Server set up
Service CDA Server set up
Service Dump Server set up
Service Omscan Server set up
Service Notification Server set up
Service Shared memory daemon set up
Service Queue Manager set up
Service Item Delete Daemon set up
Service Background Search Service set up
Service Notification Monitor set up
Service Indexer set up
Service Container Access Monitor set up
Service Item Structure Server set up
Service Database Monitor set up
Service Licence Monitor Daemon set up
Service Session Monitor set up
Service Stats Daemon set up
Service Mime Browser Controller set up
Service SMTP Relay set up
Service Archiver set up
Service Event Server set up
executing /opt/scalix/bin/queue.manager -iu
Done
NOTE: The following line has been added to /etc/services. If you run
Network Information Services (ypbind/ypserv) you should update
your server accordingly.
LINE ADDED:-
x500ms 5757/udp # Scalix X500 Directory Server.
NOTE: The following line has been added to /etc/services. If you run
Network Information Services (ypbind/ypserv) you should update
your server accordingly.
LINE ADDED:-
scalixns 5766/udp # Scalix NewMail Server.
NOTE: Creating a new Scalix default name lookup Directory called system
Added new Directory
Modified Directory
Adding any configured local users into the new default name lookup Directory
This may take some time, Please Wait ...
NOTE: Creating a new Scalix default item structure db called 0
executing /opt/scalix/bin/omsendin
NOTE: A copy of your sendmail configuration with changes for Scalix is
now in /opt/scalix/newconfig/om_sendmail.cf
Use /opt/scalix/newconfig/sm.update to install it.
executing /opt/scalix/newconfig/sm.update
NOTE: [OMINST 608] /etc/mail/sendmail.cf backed up to
NOTE: /etc/mail/sendmail.cf.1 prior to changes for Scalix.
Shutting down sm-client: sm-client
Shutting down sendmail: sendmail
Stopping Scalix LDAP mapper (ldapmapper): ldapmapper
Starting Scalix LDAP mapper (ldapmapper): ldapmapper
Starting sendmail: sendmail
Starting sm-client: sm-client
Sendmail restarted.
Done
###########################################################################
#
# Check and clear out all old directory change logs if one or more
# directory requires conversion. To initiate a resync request, use:
# omresyncds -d <directory_name>
#
###########################################################################
No directories require conversion
###########################################################################
#
# Convert all hidden directories without password
#
###########################################################################
No directories require conversion
###########################################################################
#
# Convert all shared directories without password
#
###########################################################################
No directories require conversion
###########################################################################
#
# Check any other directory with password not converted.
# Manual conversion instruction using omcnvdirs utility:
# omcnvdirs -d <name> -t <type> -p <password> -a ''
#
###########################################################################
No directories require conversion
###########################################################################
#
# OM-ADM
#
###########################################################################
###########################################################################
#
# OM-AMECAT
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-AMEPAW
#
###########################################################################
###########################################################################
#
# OM-AMEPDA
#
###########################################################################
###########################################################################
#
# OM-AMERW
#
###########################################################################
###########################################################################
#
# OM-AMEWAP
#
###########################################################################
###########################################################################
#
# OM-BB
#
###########################################################################
Service Bulletin Board Server set up
###########################################################################
#
# OM-CHSCAT
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-CHSPAW
#
###########################################################################
###########################################################################
#
# OM-CHSPDA
#
###########################################################################
###########################################################################
#
# OM-CHSRW
#
###########################################################################
###########################################################################
#
# OM-DSYNC
#
###########################################################################
Service Directory Synchronization set up
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-ENGCAT
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-ENGPAW
#
###########################################################################
###########################################################################
#
# OM-ENGPDA
#
###########################################################################
###########################################################################
#
# OM-ENGRW
#
###########################################################################
###########################################################################
#
# OM-ENGWAP
#
###########################################################################
###########################################################################
#
# OM-FINCAT
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-FINPAW
#
###########################################################################
###########################################################################
#
# OM-FINPDA
#
###########################################################################
###########################################################################
#
# OM-FINRW
#
###########################################################################
###########################################################################
#
# OM-FINWAP
#
###########################################################################
###########################################################################
#
# OM-FRECAT
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-FREPAW
#
###########################################################################
###########################################################################
#
# OM-FREPDA
#
###########################################################################
###########################################################################
#
# OM-FRERW
#
###########################################################################
###########################################################################
#
# OM-FREWAP
#
###########################################################################
###########################################################################
#
# OM-GERCAT
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-GERPAW
#
###########################################################################
###########################################################################
#
# OM-GERPDA
#
###########################################################################
###########################################################################
#
# OM-GERRW
#
###########################################################################
###########################################################################
#
# OM-GERWAP
#
###########################################################################
###########################################################################
#
# OM-IMAP4
#
###########################################################################
Service IMAP Server Daemon set up
###########################################################################
#
# OM-ITACAT
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-ITAPAW
#
###########################################################################
###########################################################################
#
# OM-ITAPDA
#
###########################################################################
###########################################################################
#
# OM-ITARW
#
###########################################################################
###########################################################################
#
# OM-ITAWAP
#
###########################################################################
###########################################################################
#
# OM-KORCAT
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-KORPAW
#
###########################################################################
###########################################################################
#
# OM-KORPDA
#
###########################################################################
###########################################################################
#
# OM-KORRW
#
###########################################################################
###########################################################################
#
# OM-LC
#
###########################################################################
Service Local Client Interface set up
###########################################################################
#
# OM-LDAP
#
###########################################################################
Service LDAP Daemon set up
###########################################################################
#
# OM-MAN
#
###########################################################################
###########################################################################
#
# OM-NIPCAT
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-NIPPAW
#
###########################################################################
###########################################################################
#
# OM-NIPPDA
#
###########################################################################
###########################################################################
#
# OM-NIPRW
#
###########################################################################
###########################################################################
#
# OM-PMOVER
#
###########################################################################
###########################################################################
#
# OM-POP3
#
###########################################################################
Service POP3 interface set up
NOTE: A new POP3 service has been installed, if you had a POP3 server
configured prior to this installation you may need to make some
manual configuration changes. See the Scalix installation guide
for details.
###########################################################################
#
# OM-PTBCAT
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-PTBPAW
#
###########################################################################
###########################################################################
#
# OM-PTBPDA
#
###########################################################################
###########################################################################
#
# OM-PTBRW
#
###########################################################################
###########################################################################
#
# OM-PTBWAP
#
###########################################################################
###########################################################################
#
# OM-RC
#
###########################################################################
Service Remote Client Interface set up
Service PC Monitor set up
NOTE: The following line has been added to /etc/services. If you run
Network Information Services (ypbind/ypserv) you should update
your server accordingly.
LINE ADDED:-
scalixual 5729/tcp #Scalix UAL port.
###########################################################################
#
# OM-SPACAT
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-SPAPAW
#
###########################################################################
###########################################################################
#
# OM-SPAPDA
#
###########################################################################
###########################################################################
#
# OM-SPARW
#
###########################################################################
###########################################################################
#
# OM-SPAWAP
#
###########################################################################
###########################################################################
#
# OM-SWECAT
#
###########################################################################
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
###########################################################################
#
# OM-SWEPAW
#
###########################################################################
###########################################################################
#
# OM-SWEPDA
#
###########################################################################
###########################################################################
#
# OM-SWERW
#
###########################################################################
###########################################################################
#
# OM-SWEWAP
#
###########################################################################
###########################################################################
#
# OM-UNIX
#
###########################################################################
Service Internet Mail Gateway set up
Updating conversion and language specific configuration files.
This may take some time, Please Wait ...
omrc : Scalix appears to be running.
If you wish to restart Scalix cleanly, run "omshut" or
kill the following processes, then run "omrc".
[OM 28655] Configuration record added
Fetching all entries from Directory ... Please wait
Sorting Directory entries ... Please wait
Building Directory Access Tables ... Please wait
FREEBUSY directory created
Extracting local user information...
[OM 16954] Entry not in the Directory
FREEBUSY directory created and local user entries added
omconfux : Scalix config file was updated successfully.
omconfux : Scalix config file was updated successfully.
###########################################################################
#
# ompatchom: Scalix Initialization Complete
#
###########################################################################
ompatchom: Running patch-postinstall scripts ...
NOTE: The above output is also contained in the
file /var/opt/scalix/o4/s/sys/install/log
---
And if I
# cd /opt/scalix/bin
# omshut
# omrc
Scalix reports
Enabling 8 subsystem(s).
Database Monitor Started
LDAP Daemon Started
IMAP Server Daemon Started
Mime Browser Controller Started
Directory Relay Server Started
Notification Server Started
SMTP Relay Started
Event Server Started
omshowmn : [OM 6623] No mailnodes currently configured
[OM 10440] omrc : Service startup has been disabled.
Scalix services NOT started.
So the install scripts fails in configuring a mailnode. Is there any other way I can configure it from here? Or what should I do before I run the scalix install script?
Thanks
Marc