Bundled eZ 3.8 install-apache doesn't start; httpd error

Author Message

Michael Gross

Thursday 28 September 2006 11:55:48 pm

I'm a Linux novice attempting to install a personal training server. This is my third attempt to get eZ publish running on something. Just installed Ubuntu 6.06 on x86 and performed a software update.

Installer ran without a hitch but couldn't connect to localhost:8085. Checked the eZ_apache.log and it reads:

/opt/ezpublish/apache_1.3.33/bin/httpd: error while loading shared libraries: libgdbm.so.2: cannot open shared object file: No such file or directory
/opt/ezpublish/apache_1.3.33/bin/apachectl start: httpd could not be started

Please suggest how I might correct this. -OR- does anyone know of a Linux distro that will run the bundled eZ stack right out of the box?

My thanks for your attention.

Michael

Michael

Michael Gross

Friday 29 September 2006 1:53:51 am

Found a solution here:

http://www.bynari.net/faq/index.php?sid=399290&aktion=artikel&rubrik=001002004&id=298&lang=en&highlight=libgdbm

through a lot of browsing searching on Google.

The fix is reportedly as simple as creating a symlink as follows:

# ln -s /usr/lib/libgdbm.so.3 /usr/lib/libgdbm.so.2

Michael

Michael

Michael Gross

Saturday 30 September 2006 12:01:57 am

Installing on Ubuntu and there's some issues with the root log in--it's diabled by default by the distro's installer. Corrected this, removed my previous install and re-installed.

New error:

httpd: bad group name nobody
/opt/ezpublish/apache_1.3.33/bin/apachectl start:
httpd could not be started

Checked file permissions in the GUI File Properties dialog. Both owner and group are set to "500." If this is not correct, to what should it be changed?

Michael

Michael

Marco Zinn

Saturday 30 September 2006 1:52:48 am

Hi Michael,
you seem to be stuck with some general Linux/Ubuntu issues. While others will probable be able to help you here, please note, that these are not related to the eZ publish software.
If you find you have too much trouble with your Ubuntu system, you _might_ want to check out the Live CD ( http://ez.no/products/ez_publish/demo ), which contains a ready-to-run ISO CD image for just having a look at the software.

But: It's the weekend, i guess, somebody can help you with your apache/file owner problem :)
PS: If you're german, you may want to post (in addition to here) to http://www.ezpublish.de/

Marco

Marco
http://www.hyperroad-design.com

Michael Gross

Friday 13 October 2006 11:09:42 pm

Thanks for the tip, Marco. German heritage, but American. I'll check into the ubuntu issues. It'ss the nicest Linux desktop I've experienced, so I'll invest a little into it.

Michael

Michael Gross

Saturday 14 October 2006 1:01:38 am

Before I get started with my main post, I want to comment re: the LiveCD option. I tried it first off, but I've got an old PC that I'm running this on and it has a 4x CD player (ugh!). The CD hung before even getting started.

The good news is I got Apache to run and the eZ publish setup wizard is available in my browser. I pointed my browser over to the apache.org site and found the answer in thier FAQ at:

http://httpd.apache.org/docs/1.3/misc/FAQ.html

under:

D. Error Log Messages and Problems Starting Apache

Per the ubuntu documentation at:

https://help.ubuntu.com/community/AddUsersHowto

I ran the following in the ubuntu Terminal (bash, I think):

man adduser

to check out the adduser options. The man page indicated that a group with the same name would be created by default. I picked up somewhere that Apache was typically run by a user named "www." I also wanted a user to run Apache without the uneeded baggage of a home directory, so this is what I ran next:

adduser --no-create-home www

The command errored with:

The group 'www' already exists.

I guess that's one way to find out.

Next I started the Apache server with:

cd /opt/ezpublish/apache_1.3.33/bin
./apachectl graceful

The command replied with:

httpd started gracefully

Switching over to Firefox I entered localhost:8085 in the address bar and voila! The eZ setup wizard appeared.

I hope no one minds my verbose posts. I've not even really used eZpublish, but the promise of what it can do is so powerful that I have a real heart to see that others can get the answers they need. I continue this post with any further problems I run into.

Michael

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 31 2025 00:20:28
Script start
Timing: Jan 31 2025 00:20:28
Module start 'layout'
Timing: Jan 31 2025 00:20:28
Module start 'content'
Timing: Jan 31 2025 00:20:28
Module end 'content'
Timing: Jan 31 2025 00:20:28
Script end

Main resources:

Total runtime0.0254 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.4141151.2422
Module start 'layout' 0.00490.0036 739.6563220.7344
Module start 'content' 0.00860.0154 960.39061,005.8984
Module end 'content' 0.02390.0015 1,966.289137.9922
Script end 0.0254  2,004.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.1868140.0002
Check MTime0.00104.0738140.0001
Mysql Total
Database connection0.00093.408410.0009
Mysqli_queries0.00218.308730.0007
Looping result0.00000.043110.0000
Template Total0.00104.110.0010
Template load0.00083.057910.0008
Template processing0.00031.017710.0003
Override
Cache load0.00052.111410.0005
General
dbfile0.003011.638480.0004
String conversion0.00000.026240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs