I'm sorry, but I've bad news. Last version of the script doesn't work for me.
I've extracted the list of active process at the moment of the error:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
ebox 4304 0.0 0.2 53772 2468 ? S 23:38 0:00 imap
ebox 4306 0.0 0.2 54188 2808 ? S 23:38 0:00 imap
ebox 4308 0.0 0.2 53424 2256 ? S 23:38 0:00 imap
ebox 4311 0.0 0.2 53888 2516 ? S 23:38 0:00 imap
ebox 4313 0.0 0.1 53424 1992 ? S 23:38 0:00 imap
When I try to manually kill them, the continue to pop-up.
Also, If I successfully kill ALL the processes and continue the script, I obtain the error in LDAP master sync:
Copying old ebox dirs to zentyal...
Importing old configuration...
Upgrading objects to new schema...
Upgrading ldap attributes (quotas from mail and users)...
Cannot restore slave machine when master is down: xxx.xxx.xxx.xxx run-parts: ./post-upgrade/004_upgrade_ldap exited with return code 255
Adding quota objectclasses...
Creating new core tables...
Importing old quota config
Migrating fetchmail accounts
No fetchamil accounts to migrate
Resetting data_version for all modules...
But the master is UP and running.
And after the migration, if I go in users or groups list from web interface on the server I get this message:
Zentyal is configured as slave and there are no users at the moment. You may want to add some in the master.
Help