Ensim cannot exit post maintenance mode
June 27, 2009 | In: ensim
The error
Maintenance State is : 4
Upgrading complete, 1 domains skipped
If the start up shows that it has skipped any domains, it is sure that the services are not going to start.
The first thing to do is to take a new shell and tail the contents of /var/log/appliance/ensim_appliance.log or /var/log/messages
tail -f /var/log/appliance/ensim_appliance.log
In another shell restart epld.
/etc/init.d/epld restart
This will give your the exact error in the other shell.
The error which I received was
===============
Jun 27 06:35:46 ensim [13222]: UpgradeActiveVirtDomains: upgrading site76
Jun 27 06:35:46 ensim [13222]: Pickle File does not exist — created
Jun 27 06:35:46 ensim [13222]: mysql: Write service configuration failed
Jun 27 06:35:46 ensim [13222]: – (ERROR: 1600000000000001) field ‘dbaseadmin’: This database user name is already in use. P
lease select another user name.
===============
Fix which I applied was just a try
================
In file
/etc/virtualhosting/mappings/mysql.usermap
added the entry given below (the name myonlytest is just any word)
myonlytest = site76
then copied mysql file from another site which is working fine
cp -pr /home/virtual/site77/info/current/mysql /home/virtual/site76/info/current/
I edited the contents as
—————
[DEFAULT]
dbaseadmin = myonlytest
version = 10.3.0-rhel.4ES.11
enabled = 1
dbasenum = 1
—————
================
Restarted epld. That fixed the issue.




