OM Error Number: 28506

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

jochenthomas
Posts: 11
Joined: Thu Apr 26, 2007 5:54 am

OM Error Number: 28506

Postby jochenthomas » Thu Apr 26, 2007 6:13 am

Hello,
Please can anybody help?
I wanted to install a Scalix 11.0.3.31 as you can see in the attached install-log.

The OS which I use is CentOS Linux 4.4 (with a new Asterisk-Installation // or better Trixbox).
So I changed the identification text to Red Hat Enterprise Linux ES release 4 (Nahant).

Currently I use a local VMWare to install and configure, but later I will bring it on a XEN-Server.

Please after reading viewtopic.php?p=30555
[root@subir-rhel4 ~]# omsolve -n OM 28506
-------------------------------------------------------------------------------
Error Group: OM Error Number: 28506

Which Scalix system? Please set the environment variable OMCURRENT
to the desired Scalix machine.

This error indicates that a global configuration file for Scalix
was present but the particular system referred to in this session
could not be determined.

The most common cause of this problem is that the environment
variable OMCURRENT is not set or is set incorrectly.

Another possible cause could be that the Global configuration file
has become corrupt.
-------------------------------------------------------------------------------
[root@subir-rhel4 ~]#


I am not sure what I have to do.
How I can clear the omcurrent. Why is the value yet present after a new restart?

Where I have to check if old files, e.g. configs from old broken installations are still present?
Why the install-script does not check this?

Thanks for your comments :-)

Code: Select all

scalix-installer20070426.log
============================

2007-04-26 05:19:17,094 INFO Initializing Scalix Installer version 11.0.3.31
2007-04-26 05:19:17,306 INFO Platform is: Red Hat Enterprise Linux ES release 4 (Nahant) on i386 : supported.
2007-04-26 05:19:17,308 INFO Starting Scalix Installer in CLI mode
2007-04-26 05:19:17,812 INFO Current locale is  and default is en_US
2007-04-26 05:19:19,958 INFO Packages installed: {}
2007-04-26 05:19:22,278 INFO Obsolete packages installed: {}
2007-04-26 05:19:49,961 INFO Operation passed: OS release check Red Hat Enterprise Linux ES release 4 (Nahant)
2007-04-26 05:19:49,963 INFO Operation passed: Memory check 1035792
2007-04-26 05:19:49,964 INFO Operation passed: Disk space check 5428672
2007-04-26 05:19:50,286 INFO Tomcat was running when we started: False
2007-04-26 05:19:54,657 INFO Searching /root/scalix/software/scalix_server for relevant Scalix packages
2007-04-26 05:19:54,668 INFO File /root/scalix/software/scalix_server/scalix-tomcat-5.5.16-226.noarch.rpm is a Scalix file, for this platform and valid version
2007-04-26 05:19:54,669 INFO File /root/scalix/software/scalix_server/scalix-postgres-11.0.3.31-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-04-26 05:19:54,671 INFO File /root/scalix/software/scalix_server/scalix-sis-11.0.3.31-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-04-26 05:19:54,673 INFO File /root/scalix/software/scalix_server/scalix-tomcat-connector-11.0.3.31-1.rhel4.i386.rpm is a Scalix file, for this platform and valid version
2007-04-26 05:19:54,674 INFO File /root/scalix/software/scalix_server/scalix-res-11.0.3.31-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-04-26 05:19:54,677 INFO File /root/scalix/software/scalix_server/scalix-server-11.0.3.10719-1.rhel4.i386.rpm is a Scalix file, for this platform and valid version
2007-04-26 05:19:54,681 WARNING File /root/scalix/software/scalix_server/scalix-tomcat-connector-11.0.3.31-1.rhel4.x86_64.rpm is not for this platform
2007-04-26 05:19:54,683 INFO File /root/scalix/software/scalix_server/scalix-platform-11.0.3.31-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-04-26 05:19:54,683 INFO File /root/scalix/software/scalix_server/scalix-swa-11.0.3.31-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-04-26 05:19:54,684 INFO File /root/scalix/software/scalix_server/scalix-sac-11.0.3.31-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-04-26 05:19:54,685 INFO File /root/scalix/software/scalix_server/scalix-mobile-11.0.3.31-1.noarch.rpm is a Scalix file, for this platform and valid version
2007-04-26 05:20:15,838 INFO Components selected to install: {'scalix-res': ['11.0.3.31-1', '1142718', 'noarch', 'linux', '1', '(none)', '(none)', '/root/scalix/software/scalix_server/scalix-res-11.0.3.31-1.noarch.rpm'], 'scalix-sac': ['11.0.3.31-1', '9356018', 'noarch', 'linux', '1', '(none)', '(none)', '/root/scalix/software/scalix_server/scalix-sac-11.0.3.31-1.noarch.rpm'], 'scalix-tomcat': ['5.5.16-226', '4745498', 'noarch', 'linux', '226', '(none)', '(none)', '/root/scalix/software/scalix_server/scalix-tomcat-5.5.16-226.noarch.rpm'], 'scalix-sis': ['11.0.3.31-1', '7127116', 'noarch', 'linux', '1', '(none)', '(none)', '/root/scalix/software/scalix_server/scalix-sis-11.0.3.31-1.noarch.rpm'], 'scalix-platform': ['11.0.3.31-1', '6803091', 'noarch', 'linux', '1', '(none)', '(none)', '/root/scalix/software/scalix_server/scalix-platform-11.0.3.31-1.noarch.rpm'], 'scalix-server': ['11.0.3.10719-1.rhel4', '50414689', 'i386', 'linux', '1.rhel4', 'RHEL4', '(none)', '/root/scalix/software/scalix_server/scalix-server-11.0.3.10719-1.rhel4.i386.rpm'], 'scalix-tomcat-connector': ['11.0.3.31-1.rhel4', '205825', 'i386', 'linux', '1.rhel4', '(none)', '(none)', '/root/scalix/software/scalix_server/scalix-tomcat-connector-11.0.3.31-1.rhel4.i386.rpm'], 'scalix-mobile': ['11.0.3.31-1', '2990540', 'noarch', 'linux', '1', '(none)', '(none)', '/root/scalix/software/scalix_server/scalix-mobile-11.0.3.31-1.noarch.rpm'], 'scalix-swa': ['11.0.3.31-1', '4278237', 'noarch', 'linux', '1', '(none)', '(none)', '/root/scalix/software/scalix_server/scalix-swa-11.0.3.31-1.noarch.rpm'], 'scalix-postgres': ['11.0.3.31-1', '13838', 'noarch', 'linux', '1', '(none)', '(none)', '/root/scalix/software/scalix_server/scalix-postgres-11.0.3.31-1.noarch.rpm']}
2007-04-26 05:20:15,839 INFO Components to upgrade: {}
2007-04-26 05:20:15,839 INFO System check start
2007-04-26 05:20:15,908 INFO Operation passed: Environment check passed.
2007-04-26 05:20:15,913 INFO Operation passed: Filesystem check passed.
2007-04-26 05:20:16,172 INFO Network interface is  eth0
2007-04-26 05:20:16,179 WARNING Operation warning: Network check warning -- network is configured for DHCP.
2007-04-26 05:20:17,654 INFO Trying to resolve missing dependencies: ['libical >= 0.24.RC4.20050413 is needed by scalix-server-11.0.3.10719-1.rhel4.i386', 'libical.so.0 is needed by scalix-server-11.0.3.10719-1.rhel4.i386']
2007-04-26 05:20:22,658 INFO Found package /root/scalix/third_party/libical/i386/libical-0.24.RC4.20050413-1.i386.rpm which provides libical in directory /root/scalix/third_party/libical/i386
2007-04-26 05:20:27,516 INFO Found package /root/scalix/third_party/libical/i386/libical-0.24.RC4.20050413-1.i386.rpm which provides libical.so.0 in directory /root/scalix/third_party/libical/i386
2007-04-26 05:20:27,518 WARNING Operation warning: Dependency check warning -- The following packages will be installed next to resolve conflicts:
2007-04-26 05:20:27,518 WARNING Operation warning:                             libical
2007-04-26 05:20:27,677 INFO Apache 2.x appears to be installed.
2007-04-26 05:20:29,161 INFO Operation passed: Running services check passed.
2007-04-26 05:20:29,163 INFO System check end
2007-04-26 05:20:29,163 INFO System check result: 1
2007-04-26 05:20:38,952 INFO Install start
2007-04-26 05:20:40,061 INFO Trying to resolve missing dependencies: ['libical >= 0.24.RC4.20050413 is needed by scalix-server-11.0.3.10719-1.rhel4.i386', 'libical.so.0 is needed by scalix-server-11.0.3.10719-1.rhel4.i386']
2007-04-26 05:20:44,786 INFO Found package /root/scalix/third_party/libical/i386/libical-0.24.RC4.20050413-1.i386.rpm which provides libical in directory /root/scalix/third_party/libical/i386
2007-04-26 05:20:49,753 INFO Found package /root/scalix/third_party/libical/i386/libical-0.24.RC4.20050413-1.i386.rpm which provides libical.so.0 in directory /root/scalix/third_party/libical/i386
2007-04-26 05:20:49,812 WARNING Couldn't remove server system admin user: sxadmin ['userdel: user sxadmin does not exist']
2007-04-26 05:20:49,854 WARNING Couldn't remove server system admin group: sxadmin ['groupdel: group sxadmin does not exist'] , it's probably already been removed, OK.
2007-04-26 05:20:49,860 INFO Starting installation of RPM files [('/root/scalix/third_party/libical/i386/libical-0.24.RC4.20050413-1.i386.rpm', 'libical'), ('/root/scalix/software/scalix_server/scalix-server-11.0.3.10719-1.rhel4.i386.rpm', 'scalix-server'), ('/root/scalix/software/scalix_server/scalix-postgres-11.0.3.31-1.noarch.rpm', 'scalix-postgres'), ('/root/scalix/software/scalix_server/scalix-tomcat-connector-11.0.3.31-1.rhel4.i386.rpm', 'scalix-tomcat-connector'), ('/root/scalix/software/scalix_server/scalix-tomcat-5.5.16-226.noarch.rpm', 'scalix-tomcat'), ('/root/scalix/software/scalix_server/scalix-platform-11.0.3.31-1.noarch.rpm', 'scalix-platform'), ('/root/scalix/software/scalix_server/scalix-res-11.0.3.31-1.noarch.rpm', 'scalix-res'), ('/root/scalix/software/scalix_server/scalix-swa-11.0.3.31-1.noarch.rpm', 'scalix-swa'), ('/root/scalix/software/scalix_server/scalix-sac-11.0.3.31-1.noarch.rpm', 'scalix-sac'), ('/root/scalix/software/scalix_server/scalix-sis-11.0.3.31-1.noarch.rpm', 'scalix-sis'), ('/root/scalix/software/scalix_server/scalix-mobile-11.0.3.31-1.noarch.rpm', 'scalix-mobile')]
2007-04-26 05:21:22,115 INFO Operation passed: Install /bin/rpm -U -v --percent /root/scalix/third_party/libical/i386/libical-0.24.RC4.20050413-1.i386.rpm /root/scalix/software/scalix_server/scalix-server-11.0.3.10719-1.rhel4.i386.rpm /root/scalix/software/scalix_server/scalix-postgres-11.0.3.31-1.noarch.rpm /root/scalix/software/scalix_server/scalix-tomcat-connector-11.0.3.31-1.rhel4.i386.rpm /root/scalix/software/scalix_server/scalix-tomcat-5.5.16-226.noarch.rpm /root/scalix/software/scalix_server/scalix-platform-11.0.3.31-1.noarch.rpm /root/scalix/software/scalix_server/scalix-res-11.0.3.31-1.noarch.rpm /root/scalix/software/scalix_server/scalix-swa-11.0.3.31-1.noarch.rpm /root/scalix/software/scalix_server/scalix-sac-11.0.3.31-1.noarch.rpm /root/scalix/software/scalix_server/scalix-sis-11.0.3.31-1.noarch.rpm /root/scalix/software/scalix_server/scalix-mobile-11.0.3.31-1.noarch.rpm: (0) ['Preparing packages for installation...', 'scalix-tomcat-connector-11.0.3.31-1.rhel4', 'scalix-tomcat-5.5.16-226', 'libical-0.24.RC4.20050413-1', 'scalix-server-11.0.3.10719-1.rhel4', 'Stopping Scalix LDAP mapper (ldapmapper): [FAILED]\r', 'Starting Scalix LDAP mapper (ldapmapper): [  OK  ]\r', 'scalix-postgres-11.0.3.31-1', 'scalix-platform-11.0.3.31-1', 'scalix-res-11.0.3.31-1', 'Remote Execution Service (RES) successfully installed.', 'Please configure Remote Execution Service (RES) using the', 'Scalix Installer for configuration.', 'Have fun!', 'scalix-swa-11.0.3.31-1', 'Please configure Scalix Web Access (SWA) using the Scalix Installer for configuration.', 'SWA minimally requires Tomcat 4.1.29 and JDK 1.4.2+.', 'After configuring SWA you may launch SWA within Tomcat with <Tomcat_installed_dir>/bin/startup.sh.', 'To check any startup errors look at <Tomcat_installed_dir>/logs/scalix-swa_log.<date>.txt', 'scalix-sac-11.0.3.31-1', 'Scalix Administration Console (SAC) successfully installed.', 'Please configure Scalix Administration Console (SAC) using', 'the Scalix Installer for configuration.', 'Have fun!', 'scalix-sis-11.0.3.31-1', 'scalix-mobile-11.0.3.31-1']
2007-04-26 05:21:22,118 INFO Checking if any deprecated packages are installed.
2007-04-26 05:21:22,952 INFO Install end
2007-04-26 05:21:23,952 INFO Mailnode name derived from FQDN: wxxxxx
2007-04-26 05:22:00,979 WARNING configured mail domain could not be determined
2007-04-26 05:22:01,196 INFO dns domain eu does not have an MX record so user must enter default domain
2007-04-26 05:22:35,009 INFO Creating Scalix instance...(please wait -- this might take several minutes)
2007-04-26 05:22:38,504 CRITICAL Failed calling command '/opt/scalix/bin/ommakeom' with exit code 98 msg ['Copying Scalix template to /var/opt/scalix/we/s, please wait', '[OM 28506] Which Scalix Server system?']
2007-04-26 05:22:38,509 CRITICAL Operation failed: config-server function create_scalix_instance failed: Msg: Failed calling command '/opt/scalix/bin/ommakeom' with exit code 98 msg ['Copying Scalix template to /var/opt/scalix/we/s, please wait', '[OM 28506] Which Scalix Server system?']
2007-04-26 05:22:38,510 ERROR Operation failed: Aborting server configuration

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

Postby ScalixSupport » Thu Apr 26, 2007 6:29 am

Hi!

Can you send the content of file /etc/opt/scalix/instance.cfg?

Thanks,
Subir

jochenthomas
Posts: 11
Joined: Thu Apr 26, 2007 5:54 am

Postby jochenthomas » Thu Apr 26, 2007 7:45 am

Nothing easier then that :-)

Code: Select all

OMNAME=wxxxxx
OMHOSTNAME=
OMDATADIR=/var/opt/scalix/we/s
OMAUTOSTART=TRUE

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

Postby ScalixSupport » Thu Apr 26, 2007 7:49 am

Hi!

Edit the file /etc/opt/scalix-instance.cfg set the value for OMHOSTNAME as the Scalix
Server FQDN. Save and Exit this file, now run the scalix-installer to re-configure all the
components, now you should not get OM 28506 error.

Hope this helps.

Thanks,
Subir

jochenthomas
Posts: 11
Joined: Thu Apr 26, 2007 5:54 am

Postby jochenthomas » Thu Apr 26, 2007 8:41 am

Thanks for your fast response, but I am sorry to say that there is anything wrong yet, see the outcome:

Code: Select all

Please choose an action from the list:
[1] Install/Upgrade one or more Scalix components (custom)
[2] Reconfigure Scalix components
[3] Uninstall Scalix components
-> Please enter your choice: 2

Please choose one or more components to configure:
[1] Scalix DB
    (version 11.0.3.31-1)
[2] Scalix Tomcat
    (version 5.5.16-226)
[3] Scalix Messaging Services
    (version 11.0.3.31-1)
[4] Scalix Management Agent
    (version 11.0.3.31-1)
[5] Scalix Web Access
    (version 11.0.3.31-1)
[6] Scalix Management Services
    (version 11.0.3.31-1)
[7] Scalix Search and Index Service
    (version 11.0.3.31-1)
[8] Scalix Mobile Client
    (version 11.0.3.31-1)
-> Please enter comma-separated list of numbers: 3

=== Messaging Services ===


-> Scalix Server hostname (IMAP) [wxxxxx.eu]:

-> SMTP server hostname [wxxxxx.eu]:

-> Enter LDAP port number: [389]:

-> Please enter fully qualified host name of the machine where the PostgreSQL database is installed [wxxxxx.eu]: wxxxxx.eu

-> Enter database password:

-> Confirm password:


Configuring Web applications...
Fatal error occured: Msg: An error occurred configuring Web applications -- check the log for errors.
Scalix Installer - cleaning up...
Scalix Installer - done.
[root@wixxxxx ~]#


Please can you let me know if I can prepare this cfg-file?
So it would be possible to say the installer what he has to do...
I tried different ways without success :-(

Thanks again

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

Postby ScalixSupport » Fri Apr 27, 2007 1:34 am

Hi!

Check the file ownership and permissions, for me it is:
[root@subir-rhel4 ~]# ll /etc/opt/scalix/instance.cfg
-rw-r--r-- 1 scalix scalix 103 Jan 1 00:20 /etc/opt/scalix/instance.cfg
[root@subir-rhel4 ~]#


Can you try installing in debug mode instead of the cli mode, this would give you better idea
why installer fails, use the command instead:

Code: Select all

sh scalix-installer --debug

Thanks,
Subir

jochenthomas
Posts: 11
Joined: Thu Apr 26, 2007 5:54 am

Postby jochenthomas » Fri May 04, 2007 10:19 am

Hello,
thanks, I was away, but will try it next week :-)


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 5 guests