Apache Not Starting

Author Message

Geoff Burke

Friday 11 April 2003 4:17:22 pm

Can anyone help me by suggesting why my apache isn't starting after installing eZ Publish 3?

After uninstalling eZ Publish 2.2 - which I had installed and running as a test prior to downloading the latest release - I installed eZ Publish 3. Everything seemed to go fine, but the first sign of trouble was when I found I could not access the admin or demo pages.

It seems my web server won't run.

The eZpublish/apache1.3.27/eZ_apache.log file shows:

'http: bad user name apache
/opt/ezpublish/apache1.3.27/bin/apachectl start: httpd could not be started'

The installer showed no errors and one of the lines in the install.log file in the installer folder shows:

Starting Apache...done

So, everything seemingly went to plan.

The apache httpd.conf file has the 'User nobody' and 'Group nobody' lines commented out which might relate to the bad user name message. But that may be the way eZpublish handles users and groups.

Another point to note is that I still have another version of apache installed - but not running - elsewhere on my box (running redhat 7.2 by the way).

Any help would be appreciated.

Geoff

p.s. A bit of research has since helped me figure out that 'http: bad user name apache' meant the web server was looking for a user named 'apache'. So, I added a user called 'apache' and tried to restart. The web server still did not start, but this time the error lessage was '(98)Address already in use: make_sock: could not bind to address 1338'. This is ezpublish's default admin port.

Still need help.

Geoff Burke

Sunday 13 April 2003 4:18:09 pm

Good news...for me anyway. I finally got eZpublish 3 working.

For the record - and in case anyone else is interested - I uninstalled eZpublish 3 for the third time, then went through and looked for every file that mentioned eZpublish or apache (espcecially making sure httpd.conf was gone).

The thing that may have been the key was finding and deleting the file /var/state/ezpublish, which wasn't deleted with the uninstall.

After this, I re-installed and voila, it worked.

Now to learn how eZpublish works. Hopefully the easy part : )

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:17:51
Script start
Timing: Jan 18 2025 16:17:51
Module start 'layout'
Timing: Jan 18 2025 16:17:51
Module start 'content'
Timing: Jan 18 2025 16:17:53
Module end 'content'
Timing: Jan 18 2025 16:17:53
Script end

Main resources:

Total runtime1.3098 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 587.9141152.6250
Module start 'layout' 0.00590.0027 740.539139.4453
Module start 'content' 0.00861.2995 779.9844426.5938
Module end 'content' 1.30810.0017 1,206.57818.1719
Script end 1.3098  1,214.7500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2558160.0002
Check MTime0.00120.0953160.0001
Mysql Total
Database connection0.00080.060010.0008
Mysqli_queries1.262896.4130520.0243
Looping result0.00050.0412500.0000
Template Total1.274697.320.6373
Template load0.00240.183820.0012
Template processing1.272197.118220.6360
Template load and register function0.00020.015110.0002
states
state_id_array0.00120.093810.0012
state_identifier_array0.00220.171820.0011
Override
Cache load0.00190.1424240.0001
Sytem overhead
Fetch class attribute can translate value0.00060.049510.0006
Fetch class attribute name0.00210.161820.0011
XML
Image XML parsing0.00060.042110.0006
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00070.0525100.0001
String conversion0.00000.000440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs