Forums / Install & configuration / Bundled eZ 3.8 install-apache doesn't start; httpd error

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