Thursday, November 7, 2013

ebox Zentyal .. i hate that

last night i was working for fbconnect for one of my applications, well they have changed the rules, if u want your application to run out of sandbox(i.e. visible to all users) you need both an http and https link for the app canvas, ok next step is to start ssl server with apache. well i enabled the ssl mod with apache and all thing gone. deactivated ssl again everything up with apache restart.

debugging into things found that two different instants of apache running with different PIDs and the second instance is also does not response ubuntu service restart command.

Second instance running with another conf file /var/lib/zentyal/conf/apache2.conf with a root folder at /var/lib/zentyal/dynamicwww/ and /usr/share/zentyal/www and listening on 443 (which was the problem which kills the apache instance)

first i tried to change the reset password and listening port with dpkg-reconfigure command, but it was all silent command no reply. i tried to uninstall ebox/zentyal and all its module

as i had installed with
apt-get install ebox
apt-get install ebox-network
apt-get install ebox-usergroups
apt-get install ebox-samba
so for the reverse i should replace install with "remove" or "purge", but still that wicked apache was running on port 443

i tried a lot of things to stop that, install uninstall, remove purge ...

lastly which did worked is

apt-get purge ebox
apt-get autoremove (which removes zentyal-samba or the ebox-samba)
and most essential step
apt-get purge zentyal-core (i was missing this everytime as the name was different)

now the service stopped yet to activate ssl mod on apache !!!!!!