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

Bug#239416: apache: Problem with suexec upgrading woody -> sarge



Package: apache
Version: 1.3.29.0.2-4
Severity: normal
Followup-For: Bug #239416



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache depends on:
ii  apache-common               1.3.29.0.2-4 Support files for all Apache webse
ii  debconf                     1.4.16       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-15    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-15      Pluggable Authentication Modules l
ii  logrotate                   3.6.5-2      Log rotation utility
ii  mime-support                3.26-1       MIME files 'mime.types' & 'mailcap
ii  perl                        5.8.3-2      Larry Wall's Practical Extraction 

-- debconf information excluded

Hi!

I upgraded from woody to sarge and dpkg exited while configuration:

---
Setting up apache (1.3.29.0.2-4) ...
Starting web server: apache failed
invoke-rc.d: initscript apache, action "start" failed.
dpkg: error processing apache (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libapache-mod-ssl:
 libapache-mod-ssl depends on apache (>= 1.3.29.0.1-4) | apache-perl (>= 
1.3.29.0.1-4); however:
  Package apache is not configured yet.
  Package apache-perl is not installed.
dpkg: error processing libapache-mod-ssl (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 apache
 libapache-mod-ssl
E: Sub-process /usr/bin/dpkg returned an error code (1)
--

Then I tried to start apache (using apachectl start) and got an error, 
that suexec isn't configured right. After

dpkg-divert --local --divert /usr/lib/apache/suexec --rename 
/usr/lib/apache/suexec.disabled

this problem was solved and the apache starts.

During every apt-get update && apt-get upgrade the same problem occurs 
and the state of the paket remains "unconfigured".

I' using these modules:

mod_log_config
mod_mime_magic
mod_mime
mod_negotiation
mod_status
mod_info
mod_autoindex
mod_dir
mod_cgi
mod_userdir
mod_alias
mod_rewrite
mod_access
mod_auth
mod_expires
mod_unique_id
mod_setenvif
mod_ssl
mod_php4

Now there's no suexec or suexec.disabled file inside /usr/lib/apache and 
I had to disable every suexec (user/group) directive in my virtual 
hosts.

Perhaps this helps?


Florian 



Reply to: