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

Bug#239416: postinst script debugged

Package: apache
Severity: normal
Followup-For: Bug #239416


I just put in the `set -x' into the postinst.common script.

It fails when calling the invoke-rc.d script. If I do it manually, I get
the following error:
  Starting web server: apache failed
  invoke-rc.d: initscript apache, action "start" failed.

If I invoke the command `/etc/init.d/apache start' manually I get
  Starting web server: apache failed

It seems this has to do with the fact, that Apache is already running.
If I stop it first, both commands (invoke-rc.d and /etc/init.d/apache)
can start apache just fine.

Hope this helps,

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.4.24-ben1
Locale: LANG=en_US, LC_CTYPE=de_CH

Versions of packages apache depends on:
ii  apache-common      Support files for all Apache webse
ii  debconf                     1.4.21       Debian configuration management sy
ii  dpkg                        1.10.20      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-16    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.6-8     XML parsing C library - runtime li
ii  libmagic1                   4.07-2       File type determination library us
ii  libpam0g                    0.76-16      Pluggable Authentication Modules l
ii  logrotate                   3.6.5-2      Log rotation utility
ii  mime-support                3.23-1       MIME files 'mime.types' & 'mailcap
ii  perl                        5.8.3-3      Larry Wall's Practical Extraction 

-- debconf information excluded

Reply to: