Failed calling command '/opt/scalix/bin/ommakeom

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

marc1911

Failed calling command '/opt/scalix/bin/ommakeom

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

marc1911

Postby marc1911 » Wed Aug 15, 2007 8:48 pm

I've solved it by installing KDE and start the script again. The script detects a GUI environment and the installation is from that moment a walk in the park. It leaves on the otherhand still the problem that installing through SSH on a remote server or for instance on OpenVZ by making use of the script seems impossible.

Has anyone experienced similar problems or even better who succeeded in installing this way?

Marc

etnazraz
Posts: 10
Joined: Tue Aug 28, 2007 12:09 pm

I have the same problem

Postby etnazraz » Tue Aug 28, 2007 12:11 pm

I have the same problem and I would like to install scalix via ssh any help please?

kanderson

Postby kanderson » Tue Aug 28, 2007 12:14 pm

Is the location defined in /etc/opt/scalix/instance.cfg correct? That's usually where this problem comes from.

Kev.

etnazraz
Posts: 10
Joined: Tue Aug 28, 2007 12:09 pm

Postby etnazraz » Tue Aug 28, 2007 12:20 pm

OMDATADIR=/var/opt/scalix/oc/s

is this incorrect?

kanderson

Postby kanderson » Tue Aug 28, 2007 12:25 pm

Is that where the data is? You should see a variety of directories there, especially look for data or sys.

Make sure it's there rather than /var/opt/scalix/oc/s/oc/s which seems to be where most of the failures end up pointing to.

Kev.

etnazraz
Posts: 10
Joined: Tue Aug 28, 2007 12:09 pm

Postby etnazraz » Tue Aug 28, 2007 12:36 pm

no there are no directories
in /etc/opt/scalix/ there is only instance.cfg

this is the error message i got during install

2007-08-28 17:22:15,304 CRITICAL Failed calling command '/opt/scalix/bin/ommakeom -h mailsever23.dvscorp.com ' with exit code 126 msg ['sh: which: command not found', 'sh: server/wrappers/pyexec: Permission denied']
2007-08-28 17:22:15,304 CRITICAL Operation failed: config-server function create_scalix_instance failed: Msg: Failed calling command '/opt/scalix/bin/ommakeom -h mailsever23.dvscorp.com' with exit code 126 msg ['sh: which: command not found', 'sh: server/wrappers/pyexec: Permission denied']
2007-08-28 17:22:15,305 ERROR Operation failed: Aborting server configuration

I then run /opt/scalix/bin/ommakeom -h mailsever23.dvscorp.com which gave me the same log as above more or less

kanderson

Postby kanderson » Tue Aug 28, 2007 12:38 pm

Can you please post the output from

ls -alh /var/opt/scalix/oc/s

Thanks
Kev.

etnazraz
Posts: 10
Joined: Tue Aug 28, 2007 12:09 pm

Postby etnazraz » Tue Aug 28, 2007 12:51 pm

ls -alh /var/opt/scalix/oc/s
ls: /var/opt/scalix/oc/s: No such file or directory

kanderson

Postby kanderson » Tue Aug 28, 2007 12:53 pm

And that's the problem. Your instance is defined as being there...

OMDATADIR=/var/opt/scalix/oc/s

But it isn't. you need to correct the datadir. entry in /etc/opt/scalix/instance.cfg to point to where your data is.

What is the result of "ls -alh /var/opt/scalix"?

Thanks
KEv.

etnazraz
Posts: 10
Joined: Tue Aug 28, 2007 12:09 pm

Postby etnazraz » Tue Aug 28, 2007 12:55 pm

ls -alh /var/opt/scalix
total 12K
drwxr-xr-x 3 root root 4.0K Aug 28 20:49 .
drwxr-xr-x 3 root root 4.0K Aug 28 20:49 ..
drwxr-xr-x 4 root root 4.0K Aug 28 20:49 oc

kanderson

Postby kanderson » Tue Aug 28, 2007 12:57 pm

Ok, what's "ls -alh /var/opt/scalix/oc"

Kev.

etnazraz
Posts: 10
Joined: Tue Aug 28, 2007 12:09 pm

Postby etnazraz » Tue Aug 28, 2007 1:00 pm

ls -alh /var/opt/scalix/oc
total 16K
drwxr-xr-x 4 root root 4.0K Aug 28 20:49 .
drwxr-xr-x 3 root root 4.0K Aug 28 20:49 ..
drwxr-xr-x 2 postgres postgres 4.0K Aug 28 20:49 postgres
drwxr-xr-x 7 root root 4.0K Aug 28 20:49 tomcat

kanderson

Postby kanderson » Tue Aug 28, 2007 1:23 pm

Ok, there's no mailstore there.

Is this a new server? Or a migrated one?

Kev.

etnazraz
Posts: 10
Joined: Tue Aug 28, 2007 12:09 pm

Postby etnazraz » Tue Aug 28, 2007 1:23 pm

new


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 8 guests

cron