LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Running Apache 2.x on OpenSUSE 10.2 (https://www.linuxquestions.org/questions/suse-opensuse-60/running-apache-2-x-on-opensuse-10-2-a-547255/)

Dee-ehn 04-19-2007 03:04 AM

Running Apache 2.x on OpenSUSE 10.2
 
Hi all,

I'm trying to run Apache 2 (latest version from the Yast repositories) on OpenSuse 10.2. The problem is that Apache fails to start.

Code:

host245:~ # rcapache2 start
Starting httpd2 (prefork)                                            failed
host245:~ #

I've set Apache's log mode to debug level and this is what is logged while making an attempt to start Apache:

Code:

[Thu Apr 19 09:55:13 2007] [info] Init: Seeding PRNG with 0 bytes of entropy
[Thu Apr 19 09:55:13 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Thu Apr 19 09:55:14 2007] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Thu Apr 19 09:55:14 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Apr 19 09:55:14 2007] [info] Init: Initializing (virtual) servers for SSL
[Thu Apr 19 09:55:14 2007] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.7g
[Thu Apr 19 09:55:14 2007] [info] Init: Seeding PRNG with 0 bytes of entropy
[Thu Apr 19 09:55:14 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Thu Apr 19 09:55:14 2007] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Thu Apr 19 09:55:14 2007] [info] Init: Initializing (virtual) servers for SSL
[Thu Apr 19 09:55:14 2007] [info] Server: Apache/2.2.3, Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.7g

So I'm kind of wondered what goes wrong where. I see a single error in the log, which I cannot resolve. Despite this, it's a warning that should not matter for starting Apache.

Can anybody give me some tips where to look for what?

Best, Robin

killy9999 04-22-2007 12:27 PM

It's been long time since I did anything with Apache, but I remember there were different versions depending on multithreading support in the system. You seem to have prefork version. Check which version you should use on your system.

Dee-ehn 04-23-2007 09:33 AM

Quote:

Originally Posted by killy9999
It's been long time since I did anything with Apache, but I remember there were different versions depending on multithreading support in the system. You seem to have prefork version. Check which version you should use on your system.

I have to use the prefork module, as of PHP5. The worker module works fine, but it cannot work with PHP5 (including my modules).

Dee-ehn 04-24-2007 06:51 AM

Quote:

Originally Posted by Dee-ehn
I have to use the prefork module, as of PHP5. The worker module works fine, but it cannot work with PHP5 (including my modules).

I seem to have it solved; after reconfiguring Apache using Yast, everything seems to be fine.


All times are GMT -5. The time now is 11:56 PM.