By: Thomas Maerz user 20 Apr 2016 at 6:01 p.m. CDT

2 Responses
Thomas Maerz gravatar
I filed a [request](https://github.com/GluuFederation/docs/issues/94) on Github but was told to post here. Following [https://github.com/GluuFederation/docs/blob/master/sources/deployment/upgrading.md](url), when I execute `./import24.py backup_24` I see errors stopping Tomcat and OpenDJ. I'm upgrading from gluu-server24 to gluu-server-2.4.2. ``` GLUU.[root@localhost ~]# ./import24.py backup_24 INFO Stopping Tomcat ... sh: /usr/sbin/service: No such file or directory INFO Stopping Directory Server ... sh: /usr/sbin/service: No such file or directory CRITICAL OpenDJ did not stop properly... exiting. Check /opt/opendj/logs/errors ``` On CentOS in the gluu CHROOT in gluu-server-2.4.2, the service command is at /sbin/service, not /usr/sbin/service. I am not sure if this will affect Ubuntu, but the relevant line in the script is here: https://github.com/GluuFederation/community-edition-setup/blob/master/static/scripts/import24.py#L29 I was able to successfully upgrade by changing that line to /sbin/service instead of /usr/sbin/service on my system. As a sidenote, during the ldif import, I received a series of import error messages: [http://pastebin.com/raw/hRAVXcru](http://pastebin.com/raw/hRAVXcru) Are these errors important or can they be ignored?

By Arunmozhi P user 21 Apr 2016 at 12:20 a.m. CDT

Arunmozhi P gravatar
Hi Thomas, Thank you for the feedback. I am the developer who is working on the migration scripts. - The list will be made OS aware so that it can work with both Debian based and RPM based systems. - The import failures you have experienced were mainly because of the missing parent entries. The script is written to make sure such forwards jumps of entry insertions do not occur. I will fix this and let you know.

By Arunmozhi P user 21 Apr 2016 at 2:13 a.m. CDT

Arunmozhi P gravatar
Hi Thomas, I am happy to say that the script has been improved, tested to work on CentOS. Marking the issue closed :) Thank you for the valuable feedback and helping us built better software.