[Pkg-nagios-devel] upgrade problem: /etc/apache-ssl/httpd.conf

Brian C DeRocher brian.derocher@mitretek.org
Thu, 9 Dec 2004 13:34:30 -0500


--nextPart2476841.JetXoWmE78
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 2004 December 08 16:11, sean finney wrote:
> hi brian,
>=20
> On Wed, Dec 08, 2004 at 02:56:38PM -0500, Brian C DeRocher wrote:
> > I had a problem upgrading this morning.
>=20
> could you tell us the relevant versions?

I was trying to install nagios-common 2:1.3-0+pre5.  Currently installed
is apache 1.3.33-2.  apache-ssl is not installed.

> > cp: cannot stat `/etc/apache-ssl/httpd.conf': No such file or directory
> >=20
> > This occurs on line 69 of nagios-common.postinst.
> >=20
> > On line 86 there seems to be a test as to which web servers i have
> > installed.  It comes back with Both.  This is exactly what
> > /var/cache/debconf/config.dat says, but i don't have apache-ssl install=
ed
> > according to dpkg --get-selections.
> >=20
> > These files do exist...
> > /etc/apache-ssl/
> > /etc/apache-ssl/conf.d
> > /etc/apache-ssl/conf.d/w3c-markup-validator.conf
> >=20
> > I _may_ have had it installed once before, but now i use libapache-mod-=
ssl.
> >=20
> > What are your recommendations on fixing this?
>=20
> the maintainer scripts for nagios are... "legacy" code to put it
> lightly.  one of my current projects is cleaning these scripts up.
>=20
> as far solid suggestions:
>=20
> - please open a bug against nagios with as much information as you
>   can provide, including versions of relevant packages.  this helps
>   us keep track of what to focus on :)

It didn't really seem like a bug, but more like a rare abnormality in my
/var/cache/debconf/config.dat file.  But i'll file one.

> - try to dpkg-reconfigure your version of nagios, which may let you
>   re-specify the debconf settings.

dpkg-reconfigure nagios-common =3D> not fully installed.
dpkg-reconfigure nagios-text returns to prompt quickly and the problem=20
persists.

> - try tarring up your /etc/nagios, completely purgeing nagios,
>   reinstalling, and massaging your config back in.  this should only be
>   your last resort

I was afraid of this.  After purging nagios-text, nagios-common fully
installed, so i purged that too.  Then i tried to install nagios-text
and the problem reappeared.

Setting up nagios-common (1.3-0+pre5) ...
cp: cannot stat `/etc/apache-ssl/httpd.conf': No such file or directory

I'll be reporting a bug.

=2D-=20
Brian C. DeRocher @ Mitretek Systems
This email was signed using OpenPGP.

--nextPart2476841.JetXoWmE78
Content-Type: application/pgp-signature

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

iQCVAwUAQbiauW5Q6fdPj+zIAQI5VwQAhLM+9ALdL890dIzjdfCSFwRcvno1hlDz
xMEMUDU5AvTuRT7ub66c0jONW2fXIBE6iiRF0yQDBJHmuRAZVH898j+ZdrTw2hxj
+f5A+GwEfMC2o8NHDf0y5CT3/wTrd7RCPOa5ykhe/gaTVD0sdFJXCR7+Xrj7k3TV
rtycJYLqeLM=
=Rqa/
-----END PGP SIGNATURE-----

--nextPart2476841.JetXoWmE78--