[Pkg-nagios-devel] upgrade problem: /etc/apache-ssl/httpd.conf
Brian C DeRocher
Thu, 9 Dec 2004 13:34:30 -0500
On Wednesday 2004 December 08 16:11, sean finney wrote:
> hi brian,
> On Wed, Dec 08, 2004 at 02:56:38PM -0500, Brian C DeRocher wrote:
> > I had a problem upgrading this morning.
> 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
> > This occurs on line 69 of nagios-common.postinst.
> > 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=
> > according to dpkg --get-selections.
> > These files do exist...
> > /etc/apache-ssl/
> > /etc/apache-ssl/conf.d
> > /etc/apache-ssl/conf.d/w3c-markup-validator.conf
> > I _may_ have had it installed once before, but now i use libapache-mod-=
> > What are your recommendations on fixing this?
> the maintainer scripts for nagios are... "legacy" code to put it
> lightly. one of my current projects is cleaning these scripts up.
> as far solid suggestions:
> - 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
> - 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.
Brian C. DeRocher @ Mitretek Systems
This email was signed using OpenPGP.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
-----END PGP SIGNATURE-----