Project

General

Profile

Bug #60271

Installer issues on Ubuntu 14.04 x32 when hostname is FQDN

Added by Volodymyr Tomash over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Alexey Bobyr
Category:
Scalix Installer (rpm and deb based)
Target version:
Start date:
02/26/2016
Due date:
03/11/2016
% Done:

100%

Estimated time:
Operation System:
Ubuntu 14.04

Description

If set hostname like "test.scalix.com"
Scalix installer trying to create sxadmin and sxqueryadmin like:
"Username/test.scalix.com"
In this case Scalix server show error about incorrect character in mailnode
and continue installation.

Scalix services NOT started.
...
omadmidp: Unix IDs pool 66000..66099 successfully added
omaddu : [OM 8010] The address contains a dot, which is an invalid character
omconfenu : [OM 8010] The address contains a dot, which is an invalid character
omlimit : [OM 8010] The address contains a dot, which is an invalid character
....

after that all web services have configuration issues:

./deb_installer.sh: line 432: /var/opt/scalix/tm/caa/scalix.res/config/psdata: No such file or directory
Please enter the external ip address of your Scalix box? 192.168.56.224
Stopping scalix-postgres service (test): ok

Starting scalix-postgres service (test): ok

Setting up settings for web applications
./deb_installer.sh: line 449: /var/opt/scalix/tm/webmail/swa.properties.neu: No such file or directory
cp: cannot stat '/var/opt/scalix/tm/webmail/swa.properties': No such file or directory
mv: cannot stat '/var/opt/scalix/tm/webmail/swa.properties.neu': No such file or directory
grep: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 486: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 449: /var/opt/scalix/tm/caa/scalix.res/config/ubermanager.properties.neu: No such file or directory
cp: cannot stat '/var/opt/scalix/tm/caa/scalix.res/config/ubermanager.properties': No such file or directory
mv: cannot stat '/var/opt/scalix/tm/caa/scalix.res/config/ubermanager.properties.neu': No such file or directory
grep: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 486: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 449: /var/opt/scalix/tm/res/config/res.properties.neu: No such file or directory
cp: cannot stat '/var/opt/scalix/tm/res/config/res.properties': No such file or directory
mv: cannot stat '/var/opt/scalix/tm/res/config/res.properties.neu': No such file or directory
grep: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 486: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 449: /var/opt/scalix/tm/platform/platform.properties.neu: No such file or directory
cp: cannot stat '/var/opt/scalix/tm/platform/platform.properties': No such file or directory
mv: cannot stat '/var/opt/scalix/tm/platform/platform.properties.neu': No such file or directory
grep: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 486: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 449: /var/opt/scalix/tm/sis/sis.properties.neu: No such file or directory
cp: cannot stat '/var/opt/scalix/tm/sis/sis.properties': No such file or directory
mv: cannot stat '/var/opt/scalix/tm/sis/sis.properties.neu': No such file or directory
grep: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 486: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 449: /var/opt/scalix/tm/caa/config/krblogin.conf.neu: No such file or directory
cp: cannot stat '/var/opt/scalix/tm/caa/config/krblogin.conf': No such file or directory
mv: cannot stat '/var/opt/scalix/tm/caa/config/krblogin.conf.neu': No such file or directory
grep: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 486: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 449: /var/opt/scalix/tm/res/config/krblogin.conf.neu: No such file or directory
cp: cannot stat '/var/opt/scalix/tm/res/config/krblogin.conf': No such file or directory
mv: cannot stat '/var/opt/scalix/tm/res/config/krblogin.conf.neu': No such file or directory
grep: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 486: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 449: /var/opt/scalix/tm/wireless/wireless.properties.neu: No such file or directory
cp: cannot stat '/var/opt/scalix/tm/wireless/wireless.properties': No such file or directory
mv: cannot stat '/var/opt/scalix/tm/wireless/wireless.properties.neu': No such file or directory
grep: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory
./deb_installer.sh: line 486: /var/opt/scalix/tm/webmail/swa.properties: No such file or directory

History

#1

Updated by Alexey Bobyr over 3 years ago

  • Due date set to 03/11/2016
  • Status changed from New to Resolved
  • Target version changed from 12.5.2 to Scalix 12.6
  • % Done changed from 0 to 100

From now debian installer asks for mail node name with check if it does not consists dot in name.
By default it will try to figure out the name.

for e.g. for

#uname -n
test.scalix.com

Installer will use 'test' for mail node name

Do you whant to use 'test' as your primary mail node name ( yes / no ) ?
Please answer yes or no.
Do you whant to use 'test' as your primary mail node name ( yes / no ) ?n
What should be the name of your primary mail node? asdasd.asdas
Mail node contains a dot, which is an invalid character
What should be the name of your primary mail node? asdasd

changes https://github.com/scalix/Debian-installer/commit/59ea5b660eed7f21b848ebc0975fa1c3f0503ec8

#2

Updated by Alexey Bobyr over 3 years ago

To get latest debian installer please execute following command

$ wget https://raw.githubusercontent.com/scalix/Debian-installer/12_6/deb_installer.sh

Alexey Bobyr wrote:

From now debian installer asks for mail node name with check if it does not consists dot in name.
By default it will try to figure out the name.

for e.g. for
[...]

Installer will use 'test' for mail node name

[...]

changes https://github.com/scalix/Debian-installer/commit/59ea5b660eed7f21b848ebc0975fa1c3f0503ec8

Also available in: Atom PDF