View previous topic :: View next topic |
Author |
Message |
ey390 New Member
Joined: 27 Dec 2025 Posts: 4
|
Posted: Sat Dec 27, 2025 8:59 pm Post subject: Problem with APACHE2, Tomcat6 on SuSe11 |
|
|
On SuSe 11, I installed everything, incl. Apache, Tomacat. The only thing I want to have is Apache and Tomcat as JSP container.
I logged on as root, went to YaST, System Services, apache2 to start it - it says:
/etc/init.d/apache2 start returned 7 (program is not running):
HOWEVER, if I try to start tomcat6 from System Services, it succeeds.
if try for prompt, like this:
# /etc/init.d/apache2 start
it says:
Module "ruby" is not installed, ignoring.
Check the APACHE_MODULES setting in /etc/sysconfig/apache2.
Starting httpd2 (prefork) startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
failed
On the control panel, when right click and select Start HTTP Server, starts a little 'wizzard' thatt fails with message "error: Cannot adjust apache2 service'
None of these messages have meaning to me. This problem started after I installed Tomcat6 as an apache module (apache2-mod_jk from YaST), and then attempted to start it, and it didn't work - that was 2 days ago, but apache was working fine (page 'IT WORKS' was on). Now, apache doesn't work, and module Tomcat seems to work, but it displays empty page (of course, what a module will do w/out the apache itself)
Can't be more frustrating that that. ANY HELP ?
|
|
Back to top |
|
platinummonkey Advanced Member

Joined: 01 Mar 2025 Posts: 732 Location: Texas
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Sun Dec 28, 2025 2:30 am Post subject: |
|
|
Check the APACHE_MODULES setting in /etc/sysconfig/apache2
Module "ruby" is not installed, ignoring. <<<<<< comment out the ruby line in the config file above.
Either do that or INSTALL ruby.....
That might take care of ONE problem anyway.........
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
JP Linux Guru

Joined: 07 Jul 2025 Posts: 6670 Location: Central Montana
|
|
Back to top |
|
ey390 New Member
Joined: 27 Dec 2025 Posts: 4
|
Posted: Sun Dec 28, 2025 4:16 am Post subject: |
|
|
Thanks for the replies and welcoming me here!
Platinummonkey: what config file do you mean by "post your configs (or put them in a pastebin)" ? I guess some apache config file ...
I rarely, if at all. I have worked/configured apache; but I always had problems with it: in the old days of Slackware, then RedHat, then SuSe ... they all install it in different places, and I am tired of this lack of stadndards.
I will try the other advices tomorrow, and post the config file when I figure out what it is.
|
|
Back to top |
|
platinummonkey Advanced Member

Joined: 01 Mar 2025 Posts: 732 Location: Texas
|
|
Back to top |
|
ey390 New Member
Joined: 27 Dec 2025 Posts: 4
|
Posted: Sun Dec 28, 2025 2:29 pm Post subject: |
|
|
Thanks for the explanation:
now, without my intervention, on attempt to start apache, it does not complain about 'ruby' (I did nothing since last night),
But: the error log said: "No such file or directory: mod_jk: could not open JkLog file /srv/www/logs/mod_jk.log"
1. I created directory (as root of course) : No such file or directory: mod_jk: /srv/www/logs
2. and now the errror log sais: "[emerg] Error in reading worker properties
. Configuration Failed" - and at the end "Cannot adjust 'apache2 service "
3. Files "/etc/apache2/httpd.conf" and "/etc/sysconfig/apache2" are pasted on http://pastebin.com/m4ea6d59d
there must be a way to start apache2 with tomcat module ! any help is appreciated !
|
|
Back to top |
|
platinummonkey Advanced Member

Joined: 01 Mar 2025 Posts: 732 Location: Texas
|
|
Back to top |
|
ey390 New Member
Joined: 27 Dec 2025 Posts: 4
|
Posted: Mon Dec 29, 2025 12:12 am Post subject: |
|
|
Thanks for the help - I will try the suggested ideas; then will read HOWTOs and will see again.
|
|
Back to top |
|
|