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

sean finney seanius@debian.org
Wed, 8 Dec 2004 16:11:53 -0500

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?

> 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 installed
> 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-ss=
> 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 :)
- try to dpkg-reconfigure your version of nagios, which may let you
  re-specify the debconf settings.
- try tarring up your /etc/nagios, completely purgeing nagios,
  reinstalling, and massaging your config back in.  this should only be
  your last resort



Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.2.4 (GNU/Linux)