Bug#199059: apache-ssl: postinst install error on startup
Package: apache-ssl
Version: 1.3.27.0-2
Severity: normal
Tags: patch
I got this error on install:
Launching... /usr/lib/apache-ssl/gcache
pid=14059
/usr/sbin/apache-sslctl start: httpsd started
Starting web server: apache-ssl/usr/sbin/apache-ssl already running.
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
Instead of "start" in postinst, you should call "restart" like this:
# restart on upgrade, the right way. Remove when apache is debhelperized
if [ -x "/etc/init.d/apache-ssl" ]; then
update-rc.d apache-ssl defaults 91 20 > /dev/null
if [ -x /usr/sbin/invoke-rc.d ]; then
invoke-rc.d apache-ssl restart
else
/etc/init.d/apache-ssl restart
fi
fi
Ciao, Bastian
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux treasure 2.4.20-treasure4 #1 Mon Jun 23 17:34:13 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=de_DE@euro
Versions of packages apache-ssl depends on:
ii apache-common 1.3.27.0-2 Support files for all Apache webse
hi debconf 1.2.42 Debian configuration management sy
hi dpkg 1.10.10 Package maintenance system for Deb
hi libc6 2.3.1-17 GNU C Library: Shared libraries an
hi libdb4.1 4.1.25-4 Berkeley v4.1 Database Libraries [
hi libexpat1 1.95.6-4 XML parsing C library - runtime li
hi libmagic1 4.02-4 File type determination library us
hi libssl0.9.7 0.9.7b-2 SSL shared libraries
hi logrotate 3.6.5-2 Log rotation utility
hi mime-support 3.23-1 MIME files 'mime.types' & 'mailcap
hi openssl 0.9.7b-2 Secure Socket Layer (SSL) binary a
hi perl [perl5] 5.8.0-18 Larry Wall's Practical Extraction
-- debconf information:
apache-ssl/enable-suexec: false
Reply to: