使用日本技术人才

2004-04-05 Thread http://www.tpo-pvd.com

 
tpo
 http://www.tpo-pvd.com [EMAIL PROTECTED]

 

 !
  




Bug#83540: apache: Does not start when one or more vhosts are missing

2004-04-05 Thread Pieter Jansen
Package: apache
Version: 1.3.29.0.2-4
Severity: normal
Followup-For: Bug #83540

Apache does not restart when one or more vhosts have been deleted and
have not been removed from the http config. Apache will not be able to
write to it's logfiles, and therefor fails to start up. This is unwanted 
behaviour, as logfiles are usually owned by the owners of that website.
Bug #83540 describes the not-starting part of this problem.

In my case, apache died at night during a logrotate which sent a
SIGUSR1 to apache (graceful restart). One vhost should not bring down an 
entire http-system.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
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.8Debian configuration management sy
ii  dpkg1.10.18  Package maintenance system for Deb
ii  libc6   2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libdb4.24.2.52-9 Berkeley v4.2 Database Libraries [
ii  libexpat1   1.95.6-6 XML parsing C library - runtime li
ii  libmagic1   4.07-2   File type determination library us
ii  libpam0g0.76-15  Pluggable Authentication Modules l
ii  logrotate   3.6.5-2  Log rotation utility
ii  mime-support3.24-1   MIME files 'mime.types'  'mailcap
ii  perl5.8.3-3  Larry Wall's Practical Extraction 

-- debconf information:
  apache/server-name: Porphyrion.pitr.net
  apache/document-root: /home/sites/home.pitr.net/www
  apache/server-port: 80
* apache/enable-suexec: false
  apache/init: true
  apache/server-admin: [EMAIL PROTECTED]




Bug#242225: /etc/init.d/apache reload kills apache

2004-04-05 Thread Laurent Martelli
Package: apache
Version: 1.3.29.0.2-4
Severity: normal

It looks like all went fine, error.log says:

[Mon Apr  5 15:19:24 2004] [notice] SIGUSR1 received.  Doing graceful
restart

but there's no more apache process running.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (ignored: LC_ALL set to [EMAIL 
PROTECTED])

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  dpkg1.10.19  Package maintenance system for Deb
ii  libc6   2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libdb4.24.2.52-8 Berkeley v4.2 Database Libraries [
ii  libexpat1   1.95.6-4 XML parsing C library - runtime li
ii  libmagic1   4.07-2   File type determination library us
ii  libpam0g0.76-7   Pluggable Authentication Modules l
ii  logrotate   3.6.5-2  Log rotation utility
ii  mime-support3.23-1   MIME files 'mime.types'  'mailcap
ii  perl5.8.3-2  Larry Wall's Practical Extraction 

-- debconf information:
* apache/enable-suexec: false
* apache/server-name: aopsys.aopsys
* apache/document-root: /var/www
* apache/server-port: 80
* apache/init: true
* apache/server-admin: [EMAIL PROTECTED]




Re: Bug#242225: /etc/init.d/apache reload kills apache

2004-04-05 Thread Fabio Massimo Di Nitto

Hi,
   did you add any module recently? did you try to disable php4? In case
does it work?

Thanks
Fabio


On Mon, 5 Apr 2004, Laurent Martelli wrote:

 Package: apache
 Version: 1.3.29.0.2-4
 Severity: normal

 It looks like all went fine, error.log says:

 [Mon Apr  5 15:19:24 2004] [notice] SIGUSR1 received.  Doing graceful
 restart

 but there's no more apache process running.

 -- System Information:
 Debian Release: testing/unstable
   APT prefers testing
   APT policy: (990, 'testing'), (500, 'unstable')
 Architecture: i386 (i686)
 Kernel: Linux 2.4.24-1-k7
 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (ignored: LC_ALL set to [EMAIL 
 PROTECTED])

 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  dpkg1.10.19  Package maintenance system for 
 Deb
 ii  libc6   2.3.2.ds1-10 GNU C Library: Shared libraries 
 an
 ii  libdb4.24.2.52-8 Berkeley v4.2 Database Libraries 
 [
 ii  libexpat1   1.95.6-4 XML parsing C library - runtime 
 li
 ii  libmagic1   4.07-2   File type determination library 
 us
 ii  libpam0g0.76-7   Pluggable Authentication Modules 
 l
 ii  logrotate   3.6.5-2  Log rotation utility
 ii  mime-support3.23-1   MIME files 'mime.types'  
 'mailcap
 ii  perl5.8.3-2  Larry Wall's Practical Extraction

 -- debconf information:
 * apache/enable-suexec: false
 * apache/server-name: aopsys.aopsys
 * apache/document-root: /var/www
 * apache/server-port: 80
 * apache/init: true
 * apache/server-admin: [EMAIL PROTECTED]




-- 
user fajita: step one
fajita Whatever the problem, step one is always to look in the error log.
user fajita: step two
fajita When in danger or in doubt, step two is to scream and shout.




Processed: your mail

2004-04-05 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tags 238624 + pending
Bug#238624: apache: Postinst double-includes modules.conf which makes 'Order' 
an unknown command.
There were no tags set.
Tags added: pending

 stop
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)




Processed: your mail

2004-04-05 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tags 241760 + pending
Bug#241760: apache: Updated german debconf template for apache
Tags were: l10n patch
Tags added: pending

 stop
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)




Bug#239416: Re: Bug#239416: apache: Apache 1.3.29.0.2-4 failling to upgrade

2004-04-05 Thread Jens Seidel
Hi,

I also recognized this problem during an update from version 1.3.29.0.1-3.
I do not have php4 installed nor libapache-mod-ssl but ucf version 1.00.

As suggested by Fabio I added set -x to /usr/share/apache/postinst.common
and attached the output.

Florian started apache (using apachectl start) and got an error, 
that suexec isn't configured right.

pluto:/home/jens# apachectl start
/usr/sbin/apachectl start: httpd (pid 1418) already running
pluto:/home/jens# apachectl stop
/usr/sbin/apachectl stop: httpd stopped
pluto:/home/jens# apachectl start
/usr/sbin/apachectl start: httpd started
pluto:/home/jens# apachectl stop
/usr/sbin/apachectl stop: httpd stopped

As you can see I did not get an error related to suexec, but after
restarting apt-get it works!

pluto:/home/jens# apt-get install apache
Reading Package Lists... Done
Building Dependency Tree... Done
apache is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 76 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache (1.3.29.0.2-4) ...
Starting web server: apache.

Setting up dwww (1.9.8) ...

Building dwww pages in the background...

It seems that apachectl stop does the magic ...

I hope it helps.

Jens
Reading Package Lists...
Building Dependency Tree...
apache is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 76 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up apache (1.3.29.0.2-4) ...
+ '[' configure '!=' configure ']'
+ HIDE=
+ '[' 1.3.29.0.1-3 '!=' '' ']'
+ UPGRADE=true
+ dpkg --compare-versions 1.3.29.0.1-3 ge 1.3.28-1
+ HIDE=quiet
+ dpkg --compare-versions 1.3.29.0.1-3 eq 1.3.29.0.2-4
+ /usr/sbin/modules-config apache internal quiet
+ '[' true '!=' true ']'
+ do_all apache
+ '[' 1 -ne 1 ']'
+ pkg=apache
+ '[' '!' -e /etc/apache/modules.conf ']'
++ printf '\x07'
+ export $'IFS=\a'
+ IFS=
++ /usr/share/apache/listconffiles /etc/apache/httpd.conf.dpkg-inst.queue
+ CONFS=/etc/apache/modules.conf
++ printf '\x07'
+ export 
$'CONFS=/etc/apache/httpd.conf.dpkg-inst.queue\a/etc/apache/modules.conf\a'
+ CONFS=/etc/apache/httpd.conf.dpkg-inst.queue/etc/apache/modules.conf
+ prepare_ucf apache
+ '[' 1 -ne 1 ']'
+ pkg=apache
+ '[' '!' -e /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue ']'
+ cp -f /etc/apache/httpd.conf.dpkg-inst.queue 
/etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue
+ '[' '!' -e /etc/apache/modules.conf.dpkg-inst.queue ']'
+ do_debconf_configs apache
+ '[' 1 -ne 1 ']'
+ pkg=apache
+ i=/etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue
+ '[' '!' '' ']'
++ pget /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue servername
++ perl -e ' OUTER: while () {next OUTER if /^\s*#/;next OUTER if /^$/;if ( 
(/virtualhost/i   ! /#.*virtualhost/i)
 || /virtualhost.*#.*virtualhost/i ){ INNER: while () { next INNER until 
/\/virtualhost/i }};print if /^\s*servername/i}'
++ tail -n 1
++ awk '{print $2}'
+ SERNAME=localhost
+ SERNAMERB=localhost
+ '[' '!' '' ']'
++ pget /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue serveradmin
++ tail -n 1
++ awk '{print $2}'
++ perl -e ' OUTER: while () {next OUTER if /^\s*#/;next OUTER if /^$/;if ( 
(/virtualhost/i   ! /#.*virtualhost/i)
 || /virtualhost.*#.*virtualhost/i ){ INNER: while () { next INNER until 
/\/virtualhost/i }};print if /^\s*serveradmin/i}'
+ [EMAIL PROTECTED]
+ [EMAIL PROTECTED]
+ '[' '!' '' ']'
++ pget /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue documentroot
++ tail -n 1
++ awk '{print $2}'
++ perl -e ' OUTER: while () {next OUTER if /^\s*#/;next OUTER if /^$/;if ( 
(/virtualhost/i   ! /#.*virtualhost/i)
 || /virtualhost.*#.*virtualhost/i ){ INNER: while () { next INNER until 
/\/virtualhost/i }};print if /^\s*documentroot/i}'
+ DOCROOT=/var/www
+ DOCROOTRB=/var/www
+ '[' apache '!=' apache-ssl ']'
+ '[' '!' '' ']'
++ pget /etc/apache/httpd.conf.dpkg-inst.queue.dpkg-inst.queue port
++ perl -e ' OUTER: while () {next OUTER if /^\s*#/;next OUTER if /^$/;if ( 
(/virtualhost/i   ! /#.*virtualhost/i)
 || /virtualhost.*#.*virtualhost/i ){ INNER: while () { next INNER until 
/\/virtualhost/i }};print if /^\s*port/i}'
++ tail -n 1
++ awk '{print $2}'
+ PORT=80
+ PORTRB=80
+ i=/etc/apache/modules.conf.dpkg-inst.queue
+ '[' '!' localhost ']'
+ '[' '!' [EMAIL PROTECTED] ']'
+ '[' '!' /var/www ']'
+ '[' apache '!=' apache-ssl ']'
+ '[' '!' 80 ']'
+ '[' '!' localhost ']'
+ db_set apache/server-name localhost
+ echo 'SET apache/server-name' localhost
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=value set
+ return 0
+ db_set apache/server-admin [EMAIL PROTECTED]
+ echo 'SET apache/server-admin' [EMAIL PROTECTED]
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ RET=value set
+ return 0
+ db_set apache/document-root /var/www
+ echo 'SET apache/document-root' /var/www
+ local 'IFS=
'
+ local _LINE
+ read -r _LINE
+ 

Processed: Re: Bug#242270: subversion: during install, tries to start apache instead of restarting it, thus fails

2004-04-05 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 242270 apache
Bug#242270: subversion: during install, tries to start apache instead of 
restarting it, thus fails
Bug reassigned from package `subversion' to `apache'.

 retitle 242270 init script 'start' fails if already running
Bug#242270: subversion: during install, tries to start apache instead of 
restarting it, thus fails
Changed Bug title.

 quit
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)




Bug#242270: subversion: during install, tries to start apache instead of restarting it, thus fails

2004-04-05 Thread Nicolas Chauvat
On Mon, Apr 05, 2004 at 06:47:06PM +0200, GCS wrote:

  IMHO it was _NOT_ a problem of Subversion, but you might overlook the
 ...
 So my bet would be that the configuration step failed in a previous
 apt-get [install|upgrade], but as Apache was unpacked, you could start
 and use it. This time, dpkg tried again to put the package's state into
 a sane one, so it re-tried to configure Apache independent of
 Subversion, but failed again for the reason you already gave.

Makes sense. sorry for mistakenly attributing the bug to subversion.

-- 
Nicolas Chauvat

logilab.fr - services en informatique avancée et gestion de connaissances  




Bug#239416: apache upgrade failing for me also

2004-04-05 Thread bwest
Package: apache
Version: 1.3.29.0.2-4
Severity: normal
Followup-For: Bug #239416



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
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.21   Debian configuration management sy
ii  dpkg1.10.20  Package maintenance system for Deb
ii  libc6   2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libdb4.24.2.52-16Berkeley 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  libpam0g0.76-16  Pluggable Authentication Modules l
ii  logrotate   3.6.5-2  Log rotation utility
ii  mime-support3.26-1   MIME files 'mime.types'  'mailcap
ii  perl5.8.3-3  Larry Wall's Practical Extraction 

-- debconf information:
  apache/enable-suexec: false
  apache/server-name: localhost
  apache/document-root: 
  apache/server-port: 80
  apache/init: true
  apache/server-admin: [EMAIL PROTECTED]

synergy:/home/wingman# dpkg --configure -a
Setting up apache (1.3.29.0.2-4) ...
update-rc.d: warning: /etc/rc0.d/K20apache is not a link to ../init.d/apache
update-rc.d: warning: /etc/rc1.d/K20apache is not a link to ../init.d/apache
update-rc.d: warning: /etc/rc2.d/S95apache is not a link to ../init.d/apache
update-rc.d: warning: /etc/rc3.d/S20apache is not a link to ../init.d/apache
update-rc.d: warning: /etc/rc4.d/S20apache is not a link to ../init.d/apache
update-rc.d: warning: /etc/rc5.d/S20apache is not a link to ../init.d/apache
update-rc.d: warning: /etc/rc6.d/K20apache is not a link to ../init.d/apache
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
Errors were encountered while processing:
 apache

Nice informative error message but thats all its giving me. Downgrading
doesn't help either. 

-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.





Bug#239416: Re: Bug#239416: apache: Apache 1.3.29.0.2-4 failling to upgrade

2004-04-05 Thread Jens Seidel
On Mon, Apr 05, 2004 at 11:08:44PM +0200, Jens Seidel wrote:
 Hi,
 
 I also recognized this problem during an update from version 1.3.29.0.1-3.
 
 As you can see I did not get an error related to suexec, but after
 restarting apt-get it works!
 
 It seems that apachectl stop does the magic ...

I noticed a very similar problem with fam. See bug #234892.
Maybe the problem is related to /sbin/start-stop-daemon???

I'm using dpkg 1.10.20.

Jens