This one time, at band camp, Martin Lohmeier said:
:-)
Do you mean the postinst hangs, and apache2 never gets restarted?
Yes.
Try adding 'set -x' to the top of the postinst script
Done.
Run dpkg-reconfigure -plow phpldapadmin, and mail the output (you can capture the output with script). Also, any relevant looking messages from apache2's error log would be helpful. From the sounds of it, this may be an apache2 bug, and not one in this app, but it's difficult to tell just yet.
See ldap1. dpkg-reconfigure did not work (debconf was told to be low, be there were no questions?!). So I changed the postinst and rebuild the package.
"invoke-rc.d apache2 restart" and "/etc/init.d/apache2 restart" work.
I purged and reinstalled phpmyadmin - postinst use the same code to restart apache, and here apache2 restarted without no problem...very strange...
by, Martin
--
Powered by Debian GNU / Linux
ldap1
Description: Binary data
signature.asc
Description: OpenPGP digital signature