Ubuntu 14.04 default locale sorts files differently then OSX. The db scripts are order dependent on the order of the scripts executing. It a terminal, type locale to see the currently set locales, the LC_ALL may be blank Set LC_ALL=C so that ubuntu sorts the same as OSX This can be set in .profile, .bashrc, and /etc/environment