[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#225487: apache-ssl: Postinstall fails with a "sed" error



reassign 225487 ssl-cert
stop
quit

Hi Douglas,
	I am just going trough the bug again and i noticed that there is
stuff missing from the information required to generate the certificate
like Locality Name.

All the fields are required to generate the certificate. Can you kindly
try again removing /etc/apache-ssl/apache.pem, create a certificate with
all the fields filled up?

This would explain the error you get that some strings are empty and the
minimum size is 1. In any case i am reassining the bug to ssl-cert
regarding the sed stuff.

Thanks
Fabio

On Fri, 2 Jan 2004, Douglas Maxwell wrote:

> Hi Fabio-
>
> (forgot to CC debian-bugs, sorry for the dup)
> > Sorry I need to ask you to do the last test. What happens if you
> > create
> > the certificate with default values?? just for testing of course. If
> > this
> > work there might be something wrong in the data you pass to
> > make-ssl-cert
> > via debconf or a bug in it that make the certificate wrong.
>
> The thought had occurred to me, too. I don't recall what the original
> defaults were - debconf seems to remember my answers to the cert
> questions from one invocation to the next (normally a great
> feature...;-)).
>
> I did try to generate a new cert with very generic information - only
> "localhost" for hostname and "webmaster@localhost" for email, with the
> other settings left blank (I think that was the default...).  I also
> tried with some generic settings for country/state/organization. Same
> results.
>
> I attached a script output where you can see my responses to debconf's
> questions, also with the output of "set -x" in the postinst shell
> script.
>
> This error doesn't seem to matter (/etc/apache-ssl/conf.d is empty):
>
> "Starting web server: apache-ssl
> Processing config directory: /etc/apache-ssl/conf.d failed"
>
> Just as a test, I commented out the "include" directive in
> /etc/apache-ssl/httpd.conf that included
> /etc/apache-ssl/conf.d/, and just got this, generic error:
>
> hades:/home/doug# apt-get -f install
> Reading Package Lists... Done
> Building Dependency Tree... Done
> 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 0B of additional disk space will be used.
> Setting up apache-ssl (1.3.29.0.1-3) ...
> Starting web server: apache-ssl failed
> invoke-rc.d: initscript apache-ssl, action "start" failed.
> dpkg: error processing apache-ssl (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  apache-ssl
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> hades:/home/doug#
>
>
> Thanks,
>
> Doug
>

-- 
Our mission: make IPv6 the default IP protocol
"We are on a mission from God" - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp00004.html



Reply to: