I have an installation of www/apache24 that have been running flawlessly for years.
I made some changes (installed www/nextcloud, configured a nullfs(5) etc.). After that, I haven't been able to start the web server with my usual configuration.
When both mod_perl and mod_ssl are disabled, the server can be started when the inclusion of configuration files regarding virtual hosts and SSL is also removed.
The runtime configuration is
Configuration files included while testing
With mod_perl enabled
When I run
With mod_ssl enabled, mod_perl disabled
With the following command, I get three lines in the error log and the core is dumped.
It seems unlikely that two errors (with openssl(1) and perl(1)) would happen simultaneously. I have been suspicious about the server certificates, but I cannot see anything wrong there – and the server fails to start even with no certificates configured.
Any help and suggestions will be appreciated.
Regards,
Jon Theil Nielsen
I made some changes (installed www/nextcloud, configured a nullfs(5) etc.). After that, I haven't been able to start the web server with my usual configuration.
When both mod_perl and mod_ssl are disabled, the server can be started when the inclusion of configuration files regarding virtual hosts and SSL is also removed.
The runtime configuration is
httpd -t -D DUMP_RUN_CFG
Code:
ServerRoot: "/usr/local"
Main DocumentRoot: "/usr/local/www/apache24/data"
Main ErrorLog: "/var/log/httpd-error.log"
Mutex default: dir="/var/run/" mechanism=default
Mutex fcgid-pipe: using_defaults
Mutex authdigest-opaque: using_defaults
Mutex ssl-stapling-refresh: using_defaults
Mutex rewrite-map: using_defaults
Mutex authdigest-client: using_defaults
Mutex fcgid-proctbl: using_defaults
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
PidFile: "/var/run/httpd.pid"
Define: DUMP_RUN_CFG
User: name="www" id=80
Group: name="www" id=80
Configuration files included while testing
httpd -t -D DUMP_INCLUDES
Code:
Included configuration files:
(*) /usr/local/etc/apache24/httpd.conf
(164) /usr/local/etc/apache24/modules.d/260_mod_perl.conf
(164) /usr/local/etc/apache24/modules.d/270_mod_wsgi.conf
(485) /usr/local/etc/apache24/extra/httpd-mpm.conf
(491) /usr/local/etc/apache24/extra/httpd-autoindex.conf
(494) /usr/local/etc/apache24/extra/httpd-languages.conf
(500) /usr/local/etc/apache24/extra/httpd-info.conf
(509) /usr/local/etc/apache24/extra/httpd-dav.conf
(542) /usr/local/etc/apache24/Includes/no-accf.conf
With mod_perl enabled
When I run
service apache24 start
, nothing happens and the process crashes without even a core dump. The error log (configured with LogLevel debug) show very little information.
Code:
Assertion failed: (!argv[argc]), function perl_parse, file perl.c, line 1677.
With mod_ssl enabled, mod_perl disabled
With the following command, I get three lines in the error log and the core is dumped.
httpd -e info -X
Code:
*[ssl:info] [pid 98716:tid 34370617344] AH01883: Init: Initialized OpenSSL library
[info] [pid 98716] ssl_engine_init.c(365): [client AH01887: Init: Initializing (virtual) servers for SSL
[info] [pid 98716] ssl_engine_init.c(163): [client AH01876: mod_ssl/2.4.39 compiled against Server: Apache/2.4.39, Library: OpenSSL/1.0.2r
It seems unlikely that two errors (with openssl(1) and perl(1)) would happen simultaneously. I have been suspicious about the server certificates, but I cannot see anything wrong there – and the server fails to start even with no certificates configured.
Any help and suggestions will be appreciated.
Regards,
Jon Theil Nielsen