Moderators: ScalixSupport, admin
Code: Select all
echo -n "What should the name of your primary mailnode be? "; read mnode
echo -n "Please enter the admin password for the Scalix admin user (sxadmin)? "; read admpwd
echo -n "Please enter a password for the ldap query user? "; read ldappwd
echo -n "Please enter a password for the db user? "; read dbpwd
echo -n "Please enter the external ip address of your Scalix box? "; read ip
Code: Select all
export PATH=/opt/scalix/bin:$PATH
ommakeom
Code: Select all
#!/bin/bash
#
# (C) 2006-2008 Christoph Lukas <christoph.lukas@gmx.net>
# 05-23-2007 modified to setup the mobile client by Peter Ulrich
# 06-11-2007 adapted for 11.1.0 Till Wimmer <scalix@tonarchiv.ch>
# 01-09-2008 adapted for 11.3.0 Christoph Lukas <christoph.lukas@gmx.net>
#
# private message via scalix forums: http://www.scalix.com/forums/privmsg.php?mode=post&u=4501
set -e
cat << EOF
############################################################
# SCALIX INSTALLTION SCRIPT FOR DEBIAN ETCH
#
# (C) 2006-2008 Christoph Lukas, Till Wimmer, Peter Ulrich
############################################################
EOF
echo -n "What should the name of your primary mailnode be? "; read mnode
echo -n "Please enter the admin password for the Scalix admin user (sxadmin)? "; read admpwd
echo -n "Please enter a password for the ldap query user? "; read ldappwd
echo -n "Please enter a password for the db user? "; read dbpwd
echo -n "Please enter the external ip address of your Scalix box? "; read ip
tomcatport=80
ldapport=389
scalix11downloadurl="http://downloads.scalix.com/.community/11.3/scalix-11.3.0-GA-unsupported-debian-intel.bin"
scalix11bin="scalix-11.3.0-GA-unsupported-debian-intel.bin"
scalix11dir="scalix-debian-11.3.0-GA/software/scalix_server"
ldomain=$(hostname -d)
host=$(hostname)
fqdn=$(hostname -f)
short=${host:0:1}${host: -1:1}
cat << EOF
EOF
sleep 2
# Download Scalix 11
cd /tmp/
#wget -N $scalix11downloadurl
#chmod 755 $scalix11bin
cat << EOF
EOF
sleep 2
# Extract and install packages
#./$scalix11bin
cat << EOF
EOF
sleep 2
cd $scalix11dir
#dpkg -i scalix-libical_*.deb scalix-chardet_*.deb
#dpkg -i scalix-server_*.deb
#dpkg -i scalix-postgres_*.deb scalix-tomcat-connector_*.deb scalix-tomcat_*.deb \
# scalix-mobile_*.deb scalix-platform_*.deb scalix-res_*.deb scalix-sac_*.deb \
# scalix-sis_*.deb scalix-swa_*.deb
#cd
cat << EOF
EOF
sleep 2
# Setup mailnode
export PATH=/opt/scalix/bin:$PATH
Code: Select all
ERROR: ompatchom script failed
/var/opt/scalix/lt/s/sys/install/log contains error messages
Code: Select all
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.
Adding system startup for /etc/init.d/scalix ...
/etc/rc0.d/K18scalix -> ../init.d/scalix
/etc/rc1.d/K18scalix -> ../init.d/scalix
/etc/rc6.d/K18scalix -> ../init.d/scalix
/etc/rc2.d/S22scalix -> ../init.d/scalix
/etc/rc3.d/S22scalix -> ../init.d/scalix
/etc/rc4.d/S22scalix -> ../init.d/scalix
/etc/rc5.d/S22scalix -> ../init.d/scalix
Adding system startup for /etc/init.d/ldapmapper ...
/etc/rc0.d/K19ldapmapper -> ../init.d/ldapmapper
/etc/rc1.d/K19ldapmapper -> ../init.d/ldapmapper
/etc/rc6.d/K19ldapmapper -> ../init.d/ldapmapper
/etc/rc2.d/S21ldapmapper -> ../init.d/ldapmapper
/etc/rc3.d/S21ldapmapper -> ../init.d/ldapmapper
/etc/rc4.d/S21ldapmapper -> ../init.d/ldapmapper
/etc/rc5.d/S21ldapmapper -> ../init.d/ldapmapper
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
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER()
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.
Stopping Mail Transport Agent: sendmail.
Stopping Scalix LDAP mapper (ldapmapper): .
Starting Scalix LDAP mapper (ldapmapper): .
Starting Mail Transport Agent: sendmail.
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/lt/s/sys/install/log
Code: Select all
sxconfig --set -t general.usrl_authid_rule='l@'
sxconfig --set -t orniasys.name_part_1='"C" <S>' -t orniasys.domain_part_1="$ldomain"
omaddmn -m $mnode
omrc -n
omadmidp -a -s 66000 -n 100
omaddu -n sxadmin/$mnode --class limited -c admin -p "$admpwd" sxadmin
omconfenu -n "sxadmin/$mnode"
omlimit -u "sxadmin/$mnode" -o -i 0 -m 0
omaddu -n sxqueryadmin/$mnode --class limited -c admin -p $ldappwd sxqueryadmin@$fqdn
omaddpdl -l ScalixUserAdmins/$mnode
omaddpdl -l ScalixUserAttributesAdmins/$mnode
omaddpdl -l ScalixGroupAdmins/$mnode
omaddpdl -l ScalixAdmins/$mnode
omon -s all
cat << EOF
Code: Select all
The specified tag and value has been added or modified if present.
The specified tag and value has been added or modified if present.
The specified tag and value has been added or modified if present.
The specified tag and value has been added or modified if present.
omaddmn : Mailnode added as primary mailnode on machine
Scalix 11.3.0.11339
Copyright (c) 2002-2007 Scalix, Inc. All rights reserved.
Copyright (c) 2002 Hewlett-Packard Development Company, L.P. All rights reserved.
(c) Copyright Hewlett-Packard Company 1989-2001. All rights reserved.
Portions (c) Copyright Raima(TM) Corporation 1984,1990. All rights reserved.
Portions (c) Copyright 1991-1995 Regents of the University of Michigan.
All rights reserved.
Portions (c) Copyright 1989-1994 Regents of the University of California.
All rights reserved.
Portions (c) Copyright 1999 The MITRE Corporation, Keith Visco.
All rights reserved.
Portions (c) Copyright 1998-1999 James Clark. All rights reserved.
Portions (c) Copyright 1998-1999 Zveno Pty Ltd, Steve Ball. All rights reserved.Portions (c) Copyright 1994-1999 Australian National University, CSIRO.
All rights reserved.
Portions (c) Copyright 1996-1999 Andrew G. Morgan. All rights reserved.
Portions (c) Copyright 1996,1998 Cristian Gafton, CRYPTOCard Inc.
Portions (c) Copyright 1994-1999 Sun Microsystems Inc, Scriptics Corporation.
The Logictran R2Net Converter is copyright (c) 2000, Logictran, Inc. Portions
of the R2Net Converter are based in part on the work of the University of
Toronto.
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.
Scalix, Inc.
149 Madison Avenue
Suite 302
New York, NY 10016
USA
Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
Enabling 8 subsystem(s).
Directory Relay Server Started
Notification Server Started
Database Monitor Started
LDAP Daemon Started
IMAP Server Daemon Started
SMTP Relay Started
Mime Browser Controller Started
Event Server Started
[OM 10440] omrc : Service startup has been disabled.
Scalix services NOT started.
omadmidp: Unix IDs pool 66000..66099 successfully added
omaddu : The user was added successfully
omconfenu : Error Notification user correctly configured
The user's limits were modified successfully
omaddu : The user was added successfully
The public distribution list was added successfully
The public distribution list was added successfully
The public distribution list was added successfully
The public distribution list was added successfully
Enabling 13 subsystem(s).
Code: Select all
./sxinst.sh: line 111: /var/opt/scalix/F0/webmail/swa.properties.neu: No such file or directory
Code: Select all
#!/bin/bash
#
# (C) 2006-2008 Christoph Lukas <christoph.lukas@gmx.net>
# 05-23-2007 modified to setup the mobile client by Peter Ulrich
# 06-11-2007 adapted for 11.1.0 Till Wimmer <scalix@tonarchiv.ch>
# 01-09-2008 adapted for 11.3.0 Christoph Lukas <christoph.lukas@gmx.net>
#
# private message via scalix forums: http://www.scalix.com/forums/privmsg.php?mode=post&u=4501
set -e
cat << EOF
############################################################
# SCALIX INSTALLTION SCRIPT FOR DEBIAN ETCH
#
# (C) 2006-2008 Christoph Lukas, Till Wimmer, Peter Ulrich
############################################################
EOF
echo -n "What should the name of your primary mailnode be? "; read mnode
echo -n "Please enter the admin password for the Scalix admin user (sxadmin)? "; read admpwd
echo -n "Please enter a password for the ldap query user? "; read ldappwd
echo -n "Please enter a password for the db user? "; read dbpwd
echo -n "Please enter the external ip address of your Scalix box? "; read ip
tomcatport=80
ldapport=389
scalix11downloadurl="http://downloads.scalix.com/.community/11.3/scalix-11.3.0-GA-unsupported-debian-intel.bin"
scalix11bin="scalix-11.3.0-GA-unsupported-debian-intel.bin"
scalix11dir="scalix-debian-11.3.0-GA/software/scalix_server"
ldomain=$(hostname -d)
host=$(hostname)
fqdn=$(hostname -f)
short=${host:0:1}${host: -1:1}
cat << EOF
EOF
sleep 2
# Download Scalix 11
cd /tmp/
#wget -N $scalix11downloadurl
#chmod 755 $scalix11bin
cat << EOF
EOF
sleep 2
# Extract and install packages
#./$scalix11bin
cat << EOF
EOF
sleep 2
cd $scalix11dir
#dpkg -i scalix-libical_*.deb scalix-chardet_*.deb
#dpkg -i scalix-server_*.deb
#dpkg -i scalix-postgres_*.deb scalix-tomcat-connector_*.deb scalix-tomcat_*.deb \
# scalix-mobile_*.deb scalix-platform_*.deb scalix-res_*.deb scalix-sac_*.deb \
# scalix-sis_*.deb scalix-swa_*.deb
cd
cat << EOF
EOF
sleep 2
# Setup mailnode
#export PATH=/opt/scalix/bin:$PATH
#ommakeom
#sxconfig --set -t general.usrl_cn_rule='G S'
#sxconfig --set -t general.usrl_authid_rule='l@'
#sxconfig --set -t orniasys.name_part_1='"C" <S>' -t orniasys.domain_part_1="$ldomain"
#omaddmn -m $mnode
#omrc -n
#omadmidp -a -s 66000 -n 100
#omaddu -n sxadmin/$mnode --class limited -c admin -p "$admpwd" sxadmin
#omconfenu -n "sxadmin/$mnode"
#omlimit -u "sxadmin/$mnode" -o -i 0 -m 0
#omaddu -n sxqueryadmin/$mnode --class limited -c admin -p $ldappwd sxqueryadmin@$fqdn
#omaddpdl -l ScalixUserAdmins/$mnode
#omaddpdl -l ScalixUserAttributesAdmins/$mnode
#omaddpdl -l ScalixGroupAdmins/$mnode
#omaddpdl -l ScalixAdmins/$mnode
#omon -s all
cat << EOF
EOF
sleep 2
# Setup DB
#cd /opt/scalix-postgres/bin
#./sxpsql-setpwd $dbpwd
#./sxpsql-whitelist 127.0.0.1 $ip
cat << EOF
EOF
sleep 2
# Configure Scalix
base=/var/opt/scalix/${short}
files="$base/webmail/swa.properties \
$base/caa/scalix.res/config/ubermanager.properties \
$base/res/config/res.properties \
$base/platform/platform.properties \
$base/mobile/mobile.properties \
$base/sis/sis.properties"
for file in $files; do
sed -e "s;%LOCALDOMAIN%;$ldomain;g" \
-e "s;%LOCALHOST%;$fqdn;g" \
-e "s;swa.platform.url=http://%PLATFORMURL%:8080/api;swa.platform.url=http://$fqdn/api;g" \
-e "s;%PLATFORMURL%;http://$fqdn/api;g" \
-e "s;__SECURED_MODE__;false;g" \
-e "s;ubermanager/__FQHN_HOST__@__KERBEROS_REALM__;;g" \
-e "s;__KERBEROS_REALM__;;g" \
-e "s;__FQHN_FOR_KDC_HOST__;;g" \
-e "s;__FQHN_QUERY_SERVER_NAME__;$fqdn;g" \
-e "s;__UBERMGR_USE_EXTERNAL_AUTH__;false;g" \
-e "s;__UBERMGR_ALLOW_EXTERNAL_AUTH__;false;g" \
-e "s;__UBERMGR_MAXLIST_SIZE__;100;g" \
-e "s;__UBERMGR_MAIL_DOMAINS_LIST__;$ldomain;g" \
-e "s;__UBERMGR_EXTERNAL_DOMAIN_AUTH_LIST__;;g" \
-e "s;__CONFIGURED__;true;g" \
-e "s;__FQHN_FOR_UBERMANAGER__;$fqdn;g" \
-e "s;__TOMCAT_PORT__;$tomcatport;g" \
-e "s;localhost;$fqdn;g" \
-e "s;%SIS-LANGUAGE%;German;g" \
-e "s;%INDEX-WHITELIST%;$fqdn;g" \
-e "s;%SEARCH-WHITELIST%;$fqdn;g" \
-e "s;%IMAPHOST%;$fqdn;g" \
-e "s;%SMTPHOST%;$fqdn;g" \
-e "s;%LDAPPORT%;389;g" \
-e "s;%DBHOST%;$fqdn:5733;g" \
-e "s;%DBPASSWD%;$dbpwd;g" \
$file > $file.neu
mv $file.neu $file
done
cat << EOF
Code: Select all
root 3008 4.2 20.6 518632 106356 ? Sl 19:08 0:30 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java -server -Xms256m -Xmx256m -Dscalix.instance=/var/opt/scalix/lt -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/lt/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/lib/jvm/java-1.5.0-sun/jre/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/var/opt/scalix/lt/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/lt/tomcat/temp org.apache.catalina.startup.Bootstrap start
root 4237 0.0 0.1 2848 696 pts/0 R+ 19:20 0:00 grep java
Code: Select all
Authentication ID: sxadmin
Globally Unique ID: 1500000024da6b84-1.0.0.721
User Name : sxadmin /CN=sxadmin
MailNode : ferrari3200
Internet Address : "sxadmin" <sxadmin@localhost>
System Login : 60534
Password : set
Admin Capabilities : YES
Mailbox Admin Capabilities : NO
Language : C
Mail Account: Unlocked
Last Signon : Never.
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
Recovery Folder visible : NO
User Class : Limited
SIS URL : sxidx://localhost/0500000024da6b84-1.0.0.721
Code: Select all
Authentication ID: sxqueryadmin@localhost
Globally Unique ID: 1900000024da6b84-1.0.0.721
User Name : sxqueryadmin /CN=sxqueryadmin
MailNode : ferrari3200
Internet Address : "sxqueryadmin" <sxqueryadmin@localhost>
System Login : 60535
Password : set
Admin Capabilities : YES
Mailbox Admin Capabilities : NO
Language : C
Mail Account: Unlocked
Last Signon : Never.
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
Recovery Folder visible : NO
User Class : Limited
SIS URL : sxidx://localhost/0900000024da6b84-1.0.0.721
Code: Select all
PC Monitor Started NON-STOP 0
Directory Relay Server Started 19:08:29
Notification Server Started 19:08:29 0
Shared memory daemon Started NON-STOP
Notification Monitor Started NON-STOP
Session Monitor Started NON-STOP
Indexer Started NON-STOP
Stats Daemon Started NON-STOP
Container Access Monitor Started NON-STOP
Item Structure Server Stopped
Database Monitor Started 19:08:29
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 19:08:32
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Started 19:08:32
SMTP Relay Started 19:08:32
Mime Browser Controller Started 19:08:32
Event Server Started 19:08:33
Code: Select all
Service Router Started 19:08:35 0
Local Delivery Started 19:08:35 0
Internet Mail Gateway Started 19:08:35 0
Local Client Interface Enabled 19:08:35 0
Remote Client Interface Enabled 19:08:35 0
Test Server Started 19:08:35 0
Request Server Started 19:08:35 0
Print Server Started 19:08:35 0
Bulletin Board Server Started 19:08:35 0
Background Search Service Started 19:08:35 0
CDA Server Aborted 19:08:35 0
POP3 interface Started 19:08:35 0
Omscan Server Started 19:08:35 0
Code: Select all
sxadmin /ferrari3200/CN=sxadmin
sxqueryadmin /ferrari3200/CN=sxqueryadmin
Code: Select all
3008 ? Sl 0:31 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java -server -Xms256m -Xmx256m -Dscalix.instance=/var/opt/scalix/lt -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/lt/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/lib/jvm/java-1.5.0-sun/jre/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/var/opt/scalix/lt/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/lt/tomcat/temp org.apache.catalina.startup.Bootstrap start
4702 pts/0 R+ 0:00 grep tomcat
Code: Select all
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
4745 pts/0 R+ 0:00 grep httpd
Code: Select all
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
3613 ? Ss 0:00 /usr/sbin/apache2 -k start
3614 ? S 0:00 /usr/sbin/apache2 -k start
3615 ? Sl 0:00 /usr/sbin/apache2 -k start
3617 ? Sl 0:00 /usr/sbin/apache2 -k start
4751 pts/0 R+ 0:00 grep apache2
Code: Select all
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
2662 ? S 0:00 /usr/lib/postgresql/7.4/bin/postmaster -D /var/lib/postgresql/7.4/main
2665 ? S 0:00 postgres: stats buffer process
2666 ? S 0:00 postgres: stats collector process
2942 ? S 0:00 /usr/lib/postgresql/7.4/bin/postmaster -i -h localhost -p 5733 -D /var/opt/scalix/lt/postgres/data -k /var/opt/scalix/lt/postgres/data
2944 ? S 0:00 postgres: stats buffer process
2945 ? S 0:00 postgres: stats collector process
4827 pts/0 R+ 0:00 grep post
Code: Select all
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:2208 *:* LISTEN 2617/hpiod
tcp 0 0 *:scalixual *:* LISTEN 3217/advmail.sckd
tcp 0 0 *:1698 *:* LISTEN 3094/rpc.statd
tcp 0 0 *:ldap *:* LISTEN 3269/omslapd
tcp 0 0 localhost:5733 *:* LISTEN 2942/postmaster
tcp 0 0 *:5768 *:* LISTEN 3278/sxeventserver
tcp 0 0 *:pop3 *:* LISTEN 3340/pop3.server
tcp 0 0 *:imap2 *:* LISTEN 3259/in.imap41d
tcp 0 0 *:sunrpc *:* LISTEN 2334/portmap
tcp 0 0 *:auth *:* LISTEN 2871/inetd
tcp 0 0 localhost:ipp *:* LISTEN 2765/cupsd
tcp 0 0 localhost:1528 *:* LISTEN 2620/python
tcp 0 0 ferrari3200.optipl:smtp *:* LISTEN 3260/omsmtpd SMTP
tcp 0 0 localhost:6010 *:* LISTEN 4226/0
tcp 0 0 localhost:5757 *:* LISTEN 3090/ldapmapper
tcp6 0 0 localhost:8005 *:* LISTEN 3008/java
tcp6 0 0 *:8009 *:* LISTEN 3008/java
tcp6 0 0 *:www *:* LISTEN 3613/apache2
tcp6 0 0 *:ssh *:* LISTEN 3028/sshd
tcp6 0 0 ip6-localhost:6010 *:* LISTEN 4226/0
tcp6 0 0 ferrari3200.optiple:ssh ::ffff:192.168.1.:51331 ESTABLISHED4226/0
sparky wrote:Ok this is the result of adding ommakeom into the script:Code: Select all
ERROR: ompatchom script failed
/var/opt/scalix/lt/s/sys/install/log contains error messages
the error log shows this:Code: Select all
[..]
executing /opt/scalix/bin/omsendin
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER()
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.
sparky wrote:Ok this error: /var/opt/scalix/F0/webmail/
is coming up because my instance is lt and not F0!
I changed this: base=/var/opt/scalix/${short}
to: base=/var/opt/scalix/lt/
and then it worked!
gone through the script now and hopefully eliminated all the errors in there?
Admin console not starting though
Code: Select all
#!/bin/bash
#
# (C) 2006-2008 Christoph Lukas <christoph.lukas@gmx.net>
# 05-23-2007 modified to setup the mobile client by Peter Ulrich
# 06-11-2007 adapted for 11.1.0 Till Wimmer <scalix@tonarchiv.ch>
# 01-09-2008 adapted for 11.3.0 Christoph Lukas <christoph.lukas@gmx.net>
#
# private message via scalix forums: http://www.scalix.com/forums/privmsg.php?mode=post&u=4501
set -e
cat << EOF
############################################################
# SCALIX INSTALLTION SCRIPT FOR DEBIAN ETCH
#
# (C) 2006-2008 Christoph Lukas, Till Wimmer, Peter Ulrich
############################################################
EOF
echo -n "What should the name of your primary mailnode be? "; read mnode
echo -n "Please enter the admin password for the Scalix admin user (sxadmin)? "; read admpwd
echo -n "Please enter a password for the ldap query user? "; read ldappwd
echo -n "Please enter a password for the db user? "; read dbpwd
echo -n "Please enter the external ip address of your Scalix box? "; read ip
tomcatport=80
ldapport=389
scalix11downloadurl="http://downloads.scalix.com/.community/11.3/scalix-11.3.0-GA-unsupported-debian-intel.bin"
scalix11bin="scalix-11.3.0-GA-unsupported-debian-intel.bin"
scalix11dir="scalix-debian-11.3.0-GA/software/scalix_server"
ldomain=$(hostname -d)
host=$(hostname)
fqdn=$(hostname -f)
short=${host:0:1}${host: -1:1}
cat << EOF
EOF
sleep 2
# Download Scalix 11
cd /tmp/
#wget -N $scalix11downloadurl
#chmod 755 $scalix11bin
cat << EOF
EOF
sleep 2
# Extract and install packages
#./$scalix11bin
cat << EOF
EOF
sleep 2
#cd $scalix11dir
#dpkg -i scalix-libical_*.deb scalix-chardet_*.deb
#dpkg -i scalix-server_*.deb
#dpkg -i scalix-postgres_*.deb scalix-tomcat-connector_*.deb scalix-tomcat_*.deb \
# scalix-mobile_*.deb scalix-platform_*.deb scalix-res_*.deb scalix-sac_*.deb \
# scalix-sis_*.deb scalix-swa_*.deb
cd
cat << EOF
EOF
sleep 2
# Setup mailnode
#export PATH=/opt/scalix/bin:$PATH
#ommakeom
#sxconfig --set -t general.usrl_cn_rule='G S'
#sxconfig --set -t general.usrl_authid_rule='l@'
#sxconfig --set -t orniasys.name_part_1='"C" <S>' -t orniasys.domain_part_1="$ldomain"
#omaddmn -m $mnode
#omrc -n
#omadmidp -a -s 66000 -n 100
#omaddu -n sxadmin/$mnode --class limited -c admin -p "$admpwd" sxadmin
#omconfenu -n "sxadmin/$mnode"
#omlimit -u "sxadmin/$mnode" -o -i 0 -m 0
#omaddu -n sxqueryadmin/$mnode --class limited -c admin -p $ldappwd sxqueryadmin@$fqdn
#omaddpdl -l ScalixUserAdmins/$mnode
#omaddpdl -l ScalixUserAttributesAdmins/$mnode
#omaddpdl -l ScalixGroupAdmins/$mnode
#omaddpdl -l ScalixAdmins/$mnode
#omon -s all
cat << EOF
EOF
sleep 2
# Setup DB
#cd /opt/scalix-postgres/bin
#./sxpsql-setpwd $dbpwd
#./sxpsql-whitelist 127.0.0.1 $ip
cat << EOF
EOF
sleep 2
# Configure Scalix
base=/var/opt/scalix/lt/
files="$base/webmail/swa.properties \
$base/caa/scalix.res/config/ubermanager.properties \
$base/res/config/res.properties \
$base/platform/platform.properties \
$base/mobile/mobile.properties \
$base/sis/sis.properties"
for file in $files; do
sed -e "s;%LOCALDOMAIN%;$ldomain;g" \
-e "s;%LOCALHOST%;$fqdn;g" \
-e "s;swa.platform.url=http://%PLATFORMURL%:8080/api;swa.platform.url=http://$fqdn/api;g" \
-e "s;%PLATFORMURL%;http://$fqdn/api;g" \
-e "s;__SECURED_MODE__;false;g" \
-e "s;ubermanager/__FQHN_HOST__@__KERBEROS_REALM__;;g" \
-e "s;__KERBEROS_REALM__;;g" \
-e "s;__FQHN_FOR_KDC_HOST__;;g" \
-e "s;__FQHN_QUERY_SERVER_NAME__;$fqdn;g" \
-e "s;__UBERMGR_USE_EXTERNAL_AUTH__;false;g" \
-e "s;__UBERMGR_ALLOW_EXTERNAL_AUTH__;false;g" \
-e "s;__UBERMGR_MAXLIST_SIZE__;100;g" \
-e "s;__UBERMGR_MAIL_DOMAINS_LIST__;$ldomain;g" \
-e "s;__UBERMGR_EXTERNAL_DOMAIN_AUTH_LIST__;;g" \
-e "s;__CONFIGURED__;true;g" \
-e "s;__FQHN_FOR_UBERMANAGER__;$fqdn;g" \
-e "s;__TOMCAT_PORT__;$tomcatport;g" \
-e "s;localhost;$fqdn;g" \
-e "s;%SIS-LANGUAGE%;German;g" \
-e "s;%INDEX-WHITELIST%;$fqdn;g" \
-e "s;%SEARCH-WHITELIST%;$fqdn;g" \
-e "s;%IMAPHOST%;$fqdn;g" \
-e "s;%SMTPHOST%;$fqdn;g" \
-e "s;%LDAPPORT%;389;g" \
-e "s;%DBHOST%;$fqdn:5733;g" \
-e "s;%DBPASSWD%;$dbpwd;g" \
$file > $file.neu
mv $file.neu $file
done
cat << EOF
EOF
sleep 2
# Write Ldappassword to psdata
cd ${base}/caa/scalix.res/config
echo "$ldappwd" > psdata
chown root:root psdata
chmod 400 psdata
cd
cat << EOF
EOF
sleep 2
# Setup Apache
#ln -s /opt/scalix/global/httpd/scalix-web-client.conf /etc/#apache2/conf.d
#cat << EOF > /etc/apache2/conf.d/scalix-access.conf
#<Location />
# Allow from all
#</Location>
#EOF
cat << EOF
EOF
sleep 2
# Restart Tomcat
/etc/init.d/scalix-tomcat restart
/etc/init.d/apache2 restart
cat << EOF
Users browsing this forum: No registered users and 5 guests