apache wont start anymore

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

affentwin
Posts: 10
Joined: Thu Oct 23, 2008 10:12 am
Location: Bielefeld, Germany

apache wont start anymore

Postby affentwin » Thu Oct 30, 2008 12:41 pm

Hello!

I tried to enable SSL on my SLES10-SP2-64bit with 11.4.2. But the rcapache2 restart gives me:
httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 29 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2-prefork/mod_proxy_ajp.so into server: /usr/lib64/apache2-prefork/mod_proxy_ajp.so: undefined symbol: proxy_module
So, i tried to move back, to work without SSL, but the error still persists. Maybe YaST (enable SSL) changed a bit more, than it should?

Any help is welcome!

Thanks!
Frank

billb3
Scalix Star
Scalix Star
Posts: 464
Joined: Mon May 26, 2008 8:56 pm
Location: Kingston, NY
Contact:

Postby billb3 » Sun Nov 02, 2008 9:36 pm

Can you post your /etc/apache2/sysconfig.d/loadmodule.conf?

affentwin
Posts: 10
Joined: Thu Oct 23, 2008 10:12 am
Location: Bielefeld, Germany

Postby affentwin » Mon Nov 03, 2008 3:15 am

Hi billb3!

Here it is:

# as listed in APACHE_MODULES (/etc/sysconfig/apache2)

LoadModule authz_host_module /usr/lib64/apache2-prefork/mod_authz_host.so
LoadModule actions_module /usr/lib64/apache2-prefork/mod_actions.so
LoadModule alias_module /usr/lib64/apache2-prefork/mod_alias.so
LoadModule auth_basic_module /usr/lib64/apache2-prefork/mod_auth_basic.so
LoadModule authz_groupfile_module /usr/lib64/apache2-prefork/mod_authz_groupfile.so
LoadModule authn_file_module /usr/lib64/apache2-prefork/mod_authn_file.so
LoadModule authz_user_module /usr/lib64/apache2-prefork/mod_authz_user.so
LoadModule autoindex_module /usr/lib64/apache2-prefork/mod_autoindex.so
LoadModule cgi_module /usr/lib64/apache2-prefork/mod_cgi.so
LoadModule dir_module /usr/lib64/apache2-prefork/mod_dir.so
LoadModule include_module /usr/lib64/apache2-prefork/mod_include.so
LoadModule log_config_module /usr/lib64/apache2-prefork/mod_log_config.so
LoadModule mime_module /usr/lib64/apache2-prefork/mod_mime.so
LoadModule negotiation_module /usr/lib64/apache2-prefork/mod_negotiation.so
LoadModule setenvif_module /usr/lib64/apache2-prefork/mod_setenvif.so
LoadModule status_module /usr/lib64/apache2-prefork/mod_status.so
LoadModule userdir_module /usr/lib64/apache2-prefork/mod_userdir.so
LoadModule asis_module /usr/lib64/apache2-prefork/mod_asis.so
LoadModule imagemap_module /usr/lib64/apache2-prefork/mod_imagemap.so
LoadModule ssl_module /usr/lib64/apache2-prefork/mod_ssl.so
LoadModule authz_default_module /usr/lib64/apache2-prefork/mod_authz_default.so
LoadModule proxy_ajp_module /usr/lib64/apache2-prefork/mod_proxy_ajp.so
#

Thanks in advance!
Frank

affentwin
Posts: 10
Joined: Thu Oct 23, 2008 10:12 am
Location: Bielefeld, Germany

Postby affentwin » Wed Nov 05, 2008 12:52 pm

Hello everybody!

After one week without an usefull reply, i am a bit disapointed!
But that doesn't help and i decided to make a new installation on this maschine.
I removed the whole stuff and the new installation went smooth again (because the 32-bit libs are still in place!). But then, you may know what happend, the Apache don't start...
Instead i get: apache2 restart -- failed with error code 1; results:
ERROR Syntax error on line 5 of /etc/opt/scalix-tomcat/connector/ajp/instance-imail.conf:
ERROR Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration

Okay, it is my mistake, to forget to remove all the SSL files from the old installation.
So, i tried to configure Apache to support SSL. But this time without YaST!!
I only changed 2 lines in the /etc/sysconfig/apache2:
1. append the line "APACHE_MODULES=" with "ssl"
2. i put "SSL" in the "APACHE_SERVER_FLAGS="
And after a "rcapache2 start" everything works fine! My new Scalix Installation now works with http and https!
:D
So, i would say, don't use YaST to configure Apache for SSL!
And, maybe it's better to configure Apache for SSL before installing scalix!?
From my experience, the installer recognize this and works fine!?

Maybe someone else is willing to test this out!?

Thank you for your attention!

Regards
Frank


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 3 guests

cron