Page 1 of 1

Instance ... doesn't exist

Posted: Mon Jul 09, 2007 10:14 am
by marato
Hello all,

When following the manual installation wiki I ran into the next problem:
Almost at the end of the wiki, where it says to restart tomcat, I type

/etc/init.d/scalix-tomcat restart

Terminal returns:
Error: Instance mailserver doesn't exist

This is how my /opt/scalix/global/config file looks like:

OMNAME=mailserver
OMHOSTNAME=mailserver.internetstarters.nl
OMDATADIR=/var/opt/scalix/mr/s
OMAUTOSTART=TRUE

Can anyone help me out here?

Thanks,

Posted: Tue Jul 10, 2007 5:11 am
by Valerion
Do a ls /var/opt/scalix/mr/s and ls /var/opt/scalix/mr for me please?

Posted: Tue Jul 10, 2007 8:59 am
by marato
Hello,

This is the outcome of ls /var/opt/scalix/mr/s:

acl dir logs plugin rules.eg toupper
admin dirchlog msglists pmove.store scan.serv trace
bb dits msgpool pop3 scan.work user
cda ds nits queues se webusers
Copyright indexwork nls release.cst structdb xport.hold
csetconv is notifs release.sys structlog
data lic notify release.tou sys
dblogs License oldDbLogs req temp
diag LicenseKeys omhtml rules tmp

And this the outcome of ls /var/opt/scalix/mr:

postgres s

Hope you can help me out!

Thanks,

Posted: Wed Jul 11, 2007 7:02 am
by marato
Something missing in those files or what?
Anyone ideas?

Posted: Wed Jul 11, 2007 9:37 am
by Derek
What does "/etc/opt/scalix/instance.cfg" contain?

Posted: Fri Jul 13, 2007 4:50 am
by Valerion
There is a lot of stuff missing in the root of your mail instance (/var/opt/scalix/mr). Mine is as follows:

Code: Select all

drwxr-xr-x   4 root     root     4096 Jun  1 04:09 caa
drwxr-xr-x  18 root     root     4096 Jun 18 15:56 indexes
drwxr-xr-x   2 root     root     4096 Jun  9 15:43 mobile
drwxr-xr-x   2 root     root     4096 Jun  9 15:43 platform
drwxr-xr-x   3 postgres postgres 4096 Jan  2  2007 postgres
drwxr-xr-x   3 root     root     4096 Jun  1 04:09 res
drwxrwxr-x  55 scalix   scalix   4096 Mar 20 12:36 s
drwxr-xr-x   2 root     root     4096 Jun  9 15:43 sis
drwxr-xr-x   7 root     root     4096 Jul 12 02:01 tomcat
drwxr-xr-x   2 root     root     4096 Jun  9 15:43 webmail


I would suggest you stop Scalix, then use the installer to uninstall everything except the server (or if you do the server, remember to keep the mailstore), then re-install so all the relevant config files can be created for you.