[Pkg-mono-devel] Re: Timeframe for libapache2-mod-mono

Fabian Fagerholm fabbe@paniq.net
Wed, 22 Sep 2004 08:59:41 +0300


--=-n4JvvN0fACoV9t/IPz8J
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Peter, Sam, Pablo,

Good to see your examples, they are very valuable!

On Wed, 2004-09-22 at 00:02 +0100, Sam Liddicott wrote:
> I have been doing
> killall mono ; apachectl restart
>=20
> but after a while mod-mono-server will never start again and a reboot=20
> wont fix it.
>=20
> I have to de-install with purge all mono packages and put them back=20
> again before it works.
>=20
> I havent found another way yet. I'm not sure how restarting apache was=20
> starting mod-mono-server or what makes it stop working
>=20
> I'm going to have to do another de-install re-install now.

If you see this again, and have some time to debug it, could you please
strace mono and the apache process that it is supposed to be
communicating with.

There'll be two processes named "mono", and a number of Apache
processes. Just find their pids with "ps ax" and then do "strace -p
$pid".

One mono process will be emitting something all the time, while the
other will be quite still. Apache will not move either. If this is not
the case, you're seeing a different bug than I am.


The fact that you have to purge mono packages suggests that something is
modified along the way -- perhaps in the GAC? You could do this:

        COLUMNS=3D140 dpkg --list | egrep '^ii.*mono.*$' | awk '{print
        $2}' | xargs dpkg --listfiles {} | xargs md5sum > monofiles.txt

immediately after installation. (It'll give error messages about
directories but don't worry.) Then, once the thing has stopped working,
do it again but change the output file name. You could then compare the
two files to see what has changed: diff monofiles.txt monofiles2.txt
This could give a clue as to what is changing.

Cheers,
--=20
Fabian Fagerholm <fabbe@paniq.net>

--=-n4JvvN0fACoV9t/IPz8J
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBBURTM76VUNpZBmeIRAtZcAJsFnMJ6MFbHO07sbQKeeKXgzqAI4ACfbiew
Qoay4NsmhkfbBNsn9lyejwc=
=G8rD
-----END PGP SIGNATURE-----

--=-n4JvvN0fACoV9t/IPz8J--