Apache2 fails to start properly after upgrade to Hardy from Gutsy

Bug #223494 reported by Stephen Hill
10
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I upgraded from Gutsy to Hardy Heron. Apache2 now doesn't appear to start. I was serving gallery2 from it.

When apache2 is being started there are no errors generated but I cannot find any apache2 processes running and "sudo apache2ctl stop" produces: "httpd (no pid file) not running". Also Apache2s error log hasn't been updated since the upgrade. "sudo apache2ctl start" produces no errors either. "netstat -l" shows no port 80 being listened on either. daemon.log doesn't show apache either!
Someone reported a while ago that apache2-mpm-worker was now needed in Hardy, but when I try to install it, it tries to uninstall php5, which I'm using for gallery2.

Strangely webmin is still working (on port 10000).

Here's the output of top:
 5880 root 20 0 2300 976 760 R 3.9 0.1 0:00.07 top
 5685 stephen 20 0 5740 3176 1436 S 1.9 0.3 0:01.04 bash
    1 root 20 0 1800 820 604 S 0.0 0.1 0:01.54 init
    2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
    3 root 15 -5 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
    4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
    5 root 15 -5 0 0 0 S 0.0 0.0 0:00.03 events/0
    6 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
   45 root 15 -5 0 0 0 S 0.0 0.0 0:00.06 kblockd/0
   48 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
   49 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify
  118 root 15 -5 0 0 0 S 0.0 0.0 0:00.01 kseriod
  138 root 15 -5 0 0 0 S 0.0 0.0 0:00.04 kondemand/0
  152 root 20 0 0 0 0 S 0.0 0.0 0:00.11 pdflush
  153 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
  154 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kswapd0
  192 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
 1132 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ksnapd
 1933 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ksuspend_usbd
 1943 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
 2149 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0
 2150 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ata_aux
 2416 root 15 -5 0 0 0 S 0.0 0.0 0:00.02 kjournald
 2587 root 16 -4 2220 688 376 S 0.0 0.1 0:00.60 udevd
 3611 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused
 4089 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald
 4224 root 20 0 2436 592 276 S 0.0 0.1 0:00.00 dhclient3
 4530 root 20 0 1712 504 436 S 0.0 0.0 0:00.00 getty
 4531 root 20 0 1712 508 436 S 0.0 0.0 0:00.00 getty
 4638 root 20 0 2452 1352 688 S 0.0 0.1 0:00.02 acpid
 4668 syslog 20 0 1932 644 508 S 0.0 0.1 0:00.07 syslogd
 4717 root 20 0 1868 532 440 S 0.0 0.1 0:00.05 dd
 4720 klog 20 0 3144 2048 420 S 0.0 0.2 0:00.38 klogd
 4748 root 20 0 2256 840 684 S 0.0 0.1 0:00.04 dnsmasq
 4767 root 20 0 5308 1024 672 S 0.0 0.1 0:00.00 sshd
 4840 root 20 0 4120 1224 936 S 0.0 0.1 0:00.04 ntpd
 4841 root 20 0 6184 3844 876 S 0.0 0.4 0:00.19 ddclient
 4861 root 20 0 1736 472 392 S 0.0 0.0 0:00.27 ifplugd
 4874 root 20 0 1736 468 392 S 0.0 0.0 0:00.16 ifplugd
 5129 root 20 0 1768 520 432 S 0.0 0.1 0:00.03 mysqld_safe
 5171 mysql 20 0 124m 23m 4884 S 0.0 2.3 0:05.40 mysqld
 5172 root 20 0 1696 544 476 S 0.0 0.1 0:00.00 logger
 5261 root 15 -5 0 0 0 S 0.0 0.0 0:00.01 fakephp
 5297 root 20 0 8068 1296 816 S 0.0 0.1 0:00.01 winbindd
 5317 root 20 0 8068 1068 580 S 0.0 0.1 0:00.01 winbindd
 5431 root 20 0 4812 644 376 S 0.0 0.1 0:00.00 squid
 5436 proxy 20 0 10092 7828 1652 S 0.0 0.8 0:01.86 squid
 5457 proxy 20 0 1556 316 260 S 0.0 0.0 0:00.05 unlinkd
 5466 daemon 20 0 1980 416 296 S 0.0 0.0 0:00.00 atd
 5479 root 20 0 2100 884 708 S 0.0 0.1 0:00.00 cron
 5546 root 20 0 10388 6544 1608 S 0.0 0.6 0:00.33 miniserv.pl
 5677 root 20 0 1712 508 436 S 0.0 0.0 0:00.00 getty
 5679 root 20 0 8024 2460 2016 S 0.0 0.2 0:00.15 sshd
 5682 stephen 20 0 8024 1532 1076 S 0.0 0.1 0:00.16 sshd
 5811 root 20 0 10520 6616 1648 S 0.0 0.6 0:00.09 miniserv.pl
 5812 root 20 0 10520 6620 1648 S 0.0 0.6 0:00.06 miniserv.pl

Revision history for this message
Chuck Short (zulcss) wrote :

Is there anything in /var/run/apache2?

Thanks
chuck

Changed in apache2:
status: New → Incomplete
Revision history for this message
Stephen Hill (steve-d-hill) wrote :

/var/run/apache2 is empty

Revision history for this message
Stephen Hill (steve-d-hill) wrote :

Ah error.log is moaning -

PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.3-1ubuntu6.3. Rebuild it for your PHP version (5.2.4-2ubuntu5) or download precompiled binaries$
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0

Revision history for this message
Stephen Hill (steve-d-hill) wrote :

I followed the instructions at http://howtoforge.com/eaccelerator_php5_debian_etch to rebuild and reinstall eaccelerator and now all is fine -:)

Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 223494] Re: Apache2 fails to start properly after upgrade to Hardy from Gutsy
  • unnamed Edit (189 bytes, application/pgp-signature; name="signature.asc")

On Mon, Apr 28, 2008 at 07:15:36PM -0000, Stephen Hill wrote:
> I followed the instructions at
> http://howtoforge.com/eaccelerator_php5_debian_etch to rebuild and
> reinstall eaccelerator and now all is fine -:)

  status invalid

--
Mathias Gug
Ubuntu Developer http://www.ubuntu.com

Changed in apache2:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.